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"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>Debug Writeline</Title> | |
<Description>Inserts debug writeline with interp. string</Description> | |
<Shortcut>dline</Shortcut> | |
</Header> | |
<Snippet> | |
<Code Language="CSharp"> |