This just got way easier as comskip seems to be in apt packages now. The only thing you need to do is slightly modify the script in jellyfin-dvr-comskip because it assumes a docker install
sudo apt install comskip
| using Avalonia.Controls; | |
| using Avalonia.Media.Imaging; | |
| using System.Collections.Generic; | |
| using System; | |
| using System.IO; | |
| using System.ComponentModel; | |
| using System.Runtime.CompilerServices; | |
| using Avalonia; | |
| using Avalonia.Media; | |
| using Avalonia.Platform; |
This just got way easier as comskip seems to be in apt packages now. The only thing you need to do is slightly modify the script in jellyfin-dvr-comskip because it assumes a docker install
sudo apt install comskip
| # trailer_dl.py | |
| # | |
| # Required packages: yt_dlp, youtubesearchpython | |
| # Python: 3.8.10 | |
| # | |
| # arguments: | |
| # python trailer_dl.py <movie_file_or_directory> | |
| # If a directory is given, it will find all mp4's one path deep. For example /my/media/movies (which contains /my/media/movie1/movie1 (2021).mp4, /my/media/movie2/movie2 (2020).mp4, etc.) | |
| # If a file is given (.mp4), it will only get the trailer for that movie | |
| # Either way, it makes an extras folder (works for jellyfin) in that particular movies directory and downloads the trailer there |
| <?xml version="1.0" encoding="utf-8"?> | |
| <CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
| <Header> | |
| <Title>INotify Property Changed Method</Title> | |
| <Author>tomeko</Author> | |
| <Shortcut>inotify</Shortcut> | |
| <Description>NotifyPropertyChanged method and binds to the event handler</Description> | |
| <SnippetTypes> | |
| <SnippetType>SurroundsWith</SnippetType> | |
| <SnippetType>Expansion</SnippetType> |