This will install comskip, mkvpropedit, ffmpeg, and PlexComskip.py
-
Install Comskip following the Instrutions shown here: https://github.com/erikkaashoek/Comskip
Pro Tip use `./configure --enable-dontator` and then make a donation to http://www.kaashoek.com/comskip/
-
Install mkvtoolnix, which include mkvpropedit here: https://mkvtoolnix.download/downloads.html#ubuntu this is for setting the audio language to English from Unknown
-
Clone the
PlexComskip
repo: https://github.com/ekim1337/PlexComskip.git -
Copy
PlexComskip.conf.example
toPlexComskip.conf
and edit as necessary (defaults should be pretty good) -
create a dvr.sh (or whatever you want to call it) file to include
#!/bin/sh /usr/bin/mkvpropedit "$1" --edit track:a1 --set language=eng --edit track:v1 --set language=eng sleep 10 /usr/bin/python /path/to/PlexComskip.py "$1"
I had the same issue. I was able to run by cli successfully as well, except my ffmpeg (Ubuntu 16.04) install had a different ffmpeg binary path:
PlexComskip.conf default path:
/usr/local/bin/ffmpeg
PlexComskip.conf my Ubuntu path:
/usr/bin/ffmpeg
Thanks hthighway and would you know why the script won't run in Plex? Cheers!