[mythtv-users] Plex integration.

myth tv mythtv at cain.id.au
Wed Mar 17 05:03:58 UTC 2021


> record_finish.sh
> sleep 10
> /usr/bin/ionice -c 3 /usr/bin/nice -n 19
> /usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl
> --destination /tv/show_names/ --filename $1 --underscores --maxlength
> 120 --format "%U/%T/%Y-%m-%d %S S%ssE%ep"
> sleep 2
> /usr/bin/ionice -c 3 /usr/bin/nice -n 19
> /usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl
> --destination /tv/show_names-movies/ --filename $1 --maxlength 120
> --format "%U/%T/%T - %Y-%m-%d (%oY) %S"
>

Forgot to mention in the system event for Recording finished - you
call the script by passing the filename.
e.g  /directory_of_the_script/record_finish.sh %FILE%


More information about the mythtv-users mailing list