NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 186 187 188 189 190 … 433 Next »
Kiwi Newbie - Help with batch file (update EPG) please

Kiwi Newbie - Help with batch file (update EPG) please
Rikiwi
Offline

Junior Member

Posts: 30
Threads: 3
Joined: Apr 2015
#1
2015-04-26, 01:00 AM
I have been trying to figure this out for a while and it's driving me mad, and my wife.
If this topic has already been answered, please point me to the post, or exact examples of batch files.

I use EPG Collector to scrape for epg data and this gets inserted into the WMC guide each day on a windows schedule, and this has been working for years.
I have been using Emby over the past year and this has been meeting my needs perfectly.
Until recently I was using ServerWMC to get Live TV in Emby, but due to very erratic recording of live TV, I now have switched to NextPVR Pluggin

So far NO recordings have failed, which is fantastic, but I am still having to manually run the guide update from the NextPVR ui.
NextPVR/Settings/Channels/Update EPG
Once this has been done, Emby updates the guide on a schedule I have set.

I have set up a Windows Schedule to run EPGCollector and create an XMLTV file - TVGuide.xml
This runs twice a day to keep the EPG updated.

So my question is - how do I get NextPVR to update the Guide automatically from the TVGuide.xml file?

I have spent some time on the NextPVR site reading the Wiki but still can't figure it out. I need to create a .bat file, but I'm a bit of a novice at this.


Sorry for the long post.
Any help would be greatly appreciated.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2015-04-26, 01:08 AM
Sounds like you already have you xmltv file being generated automatically, so you wont need a batch file.

Each night NextPVR will run an EPG update, which will cause it to re-read the xmltv file you've got configured.

Where have your got your xmltv file? The recording service runs as a different user account. I'm wondering if you've got your xmltv file in a directory the recording service can't read, causing the overnight update (from the recording service running as 'localsystem') to fail, while the manual EPG update (in NextPVR.exe) runs fine.

If you want to post your nrecord.log, I can check what happened when it attempted to do the overnight update.
Rikiwi
Offline

Junior Member

Posts: 30
Threads: 3
Joined: Apr 2015
#3
2015-04-26, 01:57 AM
Thanks for the quick reply.

the TVGuide.xml file is C:\Users\XXXX\AppData\Local\Geekzone\EPG Collector
So obviously (now) the recording service can't find it.
Please find attached log.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#4
2015-04-26, 11:03 AM
Rikiwi Wrote:Please find attached log.

I looked and I looked and I can't find the log attached anywhere.

Did you set an update time as at http://www.nextpvr.com/nwiki/pmwiki.php?...tion.Misc2
jcjefferies
Offline

Posting Freak

UK, North Gloucestershire
Posts: 1,220
Threads: 140
Joined: Jan 2011
#5
2015-04-26, 01:11 PM
My EPG update starts with running EPG Collector which is the first command in my UpdateEPG.bat file which the automatic EPG update runs.

Ever since a recent Windows reinstall the automatic EPG update has not worked correctly so had to do manual updates. The first clue is that EPG Collector now defaults to saving TVGuide.xml under the \Users directory when previously it used \ProgramData. However I was getting access denied errors even under \ProgramData even after changing permissions so moved the directory to the NPVR data directory where it was possible to give "Everyone" had full access to simplify matters!

Chris
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2015-04-26, 05:26 PM
Rikiwi Wrote:the TVGuide.xml file is C:\Users\XXXX\AppData\Local\Geekzone\EPG Collector
So obviously (now) the recording service can't find it.
Yep, you'll either need to move it, or change the recording service to use your account details.
Quote:Please find attached log.
You forgot to include the log.
Rikiwi
Offline

Junior Member

Posts: 30
Threads: 3
Joined: Apr 2015
#7
2015-04-27, 02:57 AM (This post was last modified: 2015-04-27, 03:38 AM by Rikiwi.)
Sorry, I'm new to this forum and didn't realise I had to zip the log. I hope this is the correct one.

Yes I have set the Auto Update for 4.25 pm in the Misc2 tab (this time is 10 mins after EPG Collector updates the TVGuide.xml

I have also altered EPG Collector to save the TVGuide.xml to - C:\Users\Public\NPVR\Scripts\TVGuide.xml
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#8
2015-04-27, 02:59 AM
Unfortunately that log doesn't cover the time of an EPG update. Zip and attach the log again after the scheduled time.
Rikiwi
Offline

Junior Member

Posts: 30
Threads: 3
Joined: Apr 2015
#9
2015-04-27, 03:41 AM
Sorry - I'll sent the updated log as soon as the schedule at 4.15pm - 35mins time

Note: I have edited my post above to show where my xmltv file now gets updated to
Rikiwi
Offline

Junior Member

Posts: 30
Threads: 3
Joined: Apr 2015
#10
2015-04-27, 04:33 AM
Please find attached Log (txt file as I couldn't zip it)

It seams to be working as I updated Emby TVguide and next week's data was all there. previously I had Emptied the EPG in NextPVR.

Now for some reason my Windows schedule isn't running. I'll sort it when my head clears
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG Update Errors jcole998 23 1,967 2025-05-11, 06:03 PM
Last Post: mvallevand
  incorrect frequency in adelaide .ini file spin35 5 3,111 2023-02-01, 05:40 PM
Last Post: sub
  Device Update - Channel Mapping chezmorris 10 4,857 2022-07-01, 01:59 PM
Last Post: mvallevand
  ITV/BBC HD and EPG missing from scan and update angelisle 16 4,341 2021-08-26, 11:45 AM
Last Post: NumberFive
  Auto Update EPG not running as scheduled? BairStrokes 2 1,820 2021-03-26, 12:02 PM
Last Post: NumberFive
  ts file shows length too long? SuttonWillow 2 1,990 2021-03-15, 01:56 PM
Last Post: mvallevand
  automatic EPG update virtualpaul 18 13,216 2021-01-29, 12:40 PM
Last Post: virtualpaul
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,451 2020-10-29, 09:40 PM
Last Post: mvallevand
  Auto Update EPG not running as scheduled Bobbybear 10 3,794 2020-10-24, 09:24 AM
Last Post: Bobbybear
  ts file shows length too long SamM 4 2,391 2020-10-06, 02:45 AM
Last Post: Ehrlichia

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

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

Linear Mode
Threaded Mode