2020-10-29, 02:35 PM
(This post was last modified: 2021-12-16, 03:02 PM by mvallevand.)
I have attached a simple program that will allow you to trigger a jellyfin EPG update after NextPVR's EPG update has finished. Using this approach you don't have to rely on a scheduled "Refresh Guide" task and it probably can be disabled. Alternatively JellyRoll will check and if you have the Refresh Guide task scheduled in the upcoming 15 minutes JellyRoll won't trigger an update. Boths update should be sheduled in off hours, the jellyfin update can be long.
To install, unzip the file into NextPVR's program directory typically "C:\Program Files\NextPVR" or /opt/system/nextpvr or /apps on Docker
To run you will to create an API key which is easily available using the jellyfin dashboard.
The following lines need to be added into PostUpdateEPG.bat
or on linux PostUpdateEPG.sh (remember to chmod +x)
On Docker your might need to unzip into /config and then copy them into /app from bash
IP and port are optional on localhost and with default port 8096
Martin
To install, unzip the file into NextPVR's program directory typically "C:\Program Files\NextPVR" or /opt/system/nextpvr or /apps on Docker
To run you will to create an API key which is easily available using the jellyfin dashboard.
The following lines need to be added into PostUpdateEPG.bat
Code:
C:
cd "C:\Program Files\NextPVR"
JellyRoll.exe APIKEY {IP} {port}
or on linux PostUpdateEPG.sh (remember to chmod +x)
Code:
cd /opt/nextpvr/system
/opt/dotnet/dotnet JellyRoll.dll APIKEY {IP} {port}
On Docker your might need to unzip into /config and then copy them into /app from bash
Code:
cd /app
dotnet JellyRoll.dll APIKEY {IP} {port}
IP and port are optional on localhost and with default port 8096
Martin