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
git clone https://github.com/Protektor-Desura/jellyfin-dvr-comskip.git
- Open/edit
<extracted_path>/config/comskip/jellyfin-drv-comskip.sh
- In the following line:
$__command --ffmpeg=$__ffmpeg --comskip=/usr/local/bin/comskip --lockfile=/tmp/comchap.lock --comskip-ini=/config/comskip/comskip.ini "${__file}"
- change the
--comskip=
to your installed location (probably/usr/bin/comskip
, check withwhereis comskip
) - change the
--comskip-ini=
to the full path ofcomskip.ini
you extracted earlier jellyfin-drv-comskip.sh
should be executable, but just in casechmod +x jellyfin-drv-comskip.sh
- Open your Jellyfin client (web, Android, etc.)
- Dashboard > Live TV > DVR, then find the
Post-processing application:
field - Enter the path to the jellyfin-drv-comskip script (make sure it's the full absolute path)
<extracted_path>/config/comskip/jellyfin-drv-comskip.sh
- The Post-processor command line arguments should be
"{path}"
by default. If not, put it there - Save settings
Note: If you have this set up in your home folder and have issues, make sure your home folder has public read/exec permissions (e.g.
chmod /home/myuser 775
)
It seems that comcut also has to be installed; the script is exacting subtitles but isn't cutting commercials. Is there a package for this or does it need to be installed from source?