NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
« Previous 1 2 3 4 Next »
UpdateEPG not working with Extras

 
  • 0 Vote(s) - 0 Average
UpdateEPG not working with Extras
loveridgem
Offline

Junior Member

USA
Posts: 36
Threads: 6
Joined: Aug 2021
#1
2021-10-13, 09:29 PM (This post was last modified: 2021-10-13, 09:44 PM by loveridgem.)
Hi,

I have been struggling since setting up Pluto TV to keep my EPG populated.  What I have found is that I need to run UpdateEPG from the Settings page.  This always works.  I've tried cron jobs to run either or both UpdateEPG.sh and PostUpdateEPG.sh and that hasn't worked.

UpdateEPG.sh
#!/bin/bash
python3 /var/opt/nextpvr/scripts/plutotv/pluto.py xmltv

PostUpdateEPG.sh
#!/bin/bash
# This is commented out becaue it's being done in a cron job
nohup python3 /var/opt/nextpvr/scripts/plutotv/pluto.py xmltv-update 120 &


Any ideas why this isn't working by itself without me having to click on UpdateEPG from Settings?

Thanks,
Mike

EDIT: I recently discovered I can put multiple times in on the UpdateEPG on the settings page. I'll see if that works.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#2
2021-10-13, 09:47 PM
Sorry Pluto TV in Canada sucks so I don't spend much time with it because of the shitty guide. There is a lock in the script that I don't think works very well especially if you shut down the server or ever run the script as sudo etc. A cron job is better but If you are going to do a cron jump make sure you don't use any parallel processing and just run

python3 /var/opt/nextpvr/scripts/plutotv/pluto.py xmltv

not the time on.

If you can't run via cron then it will likely be a python3 install issue you'd need to run as nextpvr user. The xmltv parameter doesn't need streamlink.

Martin
loveridgem
Offline

Junior Member

USA
Posts: 36
Threads: 6
Joined: Aug 2021
#3
2021-10-13, 10:52 PM
OK, thanks! Just to be sure I'm doing the right thing. I will take out the xmltv updates from UppdateEPG and PostUpdateEPG and then run a cronjob of:
python3 /var/opt/nextpvr/scripts/plutotv/pluto.py xmltv

Correct? The cron job should run every 2 hours?

Thanks,
Mike
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2021-10-13, 10:59 PM
You can leave it in UpdateEPG if you want if not it will use the result of your last cron job. I figure it the middle of the night it doesn't have to be perfect.

For the time frame, it really depends how often you look at the guide and how interested you are in having accurate data. There should be 4 hours look ahead. Updates can impact recordings too so the fewer the better. Your use case might be specifc times rather than every xx hours.

Martin
loveridgem
Offline

Junior Member

USA
Posts: 36
Threads: 6
Joined: Aug 2021
#5
2021-10-14, 02:23 AM
Thanks for the clarifications. There are series shows that are not in VOD and if the EPG is not up-to-date, the recorder doesn't record the shows.
I put the pluto.py xmltv in root's crontab running as user nextpvr. That should alleviate the lock issue.

Mike
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NRSC5 as Extras tuner Siftingice 1 224 2025-02-11, 05:27 PM
Last Post: mvallevand
  extras.xml device using VLC? davy 1 350 2024-11-20, 02:33 PM
Last Post: mvallevand
  Capture Card Extras help needed lamb0985 20 3,737 2023-02-18, 10:34 PM
Last Post: mvallevand
  Extras Pause buntay20 2 1,053 2021-12-20, 08:55 PM
Last Post: mvallevand
  Pluto TV VOD Series not working loveridgem 13 3,491 2021-12-11, 08:34 PM
Last Post: mvallevand
  Locast workarounds not working for me loveridgem 19 3,233 2021-08-27, 07:44 PM
Last Post: mvallevand
  Got Locast Working- Some thoughts-- biggoronjon 5 1,398 2021-07-29, 02:38 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode