NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 76 77 78 79 80 … 102 Next »
EPG doesnt seem to update from xml

 
  • 0 Vote(s) - 0 Average
EPG doesnt seem to update from xml
johnm0101
Offline

Junior Member

Guernsey
Posts: 24
Threads: 5
Joined: Sep 2020
#1
2020-09-07, 06:55 AM
I've entered into the epg setting two urls to download TV xml from  xmltv.co.uk in the giude section of settings
then I've specifically mapped certain channels to xml in the channels section of settings and selected xml source
but no info appears in the guide for these channels (the only real guide info is  those from EIT terrestrial i.e OTA guide) 

I know those channels are in the xml file because I have downloaded it separately and opened it in text editor- to deduce further I d need to know where that file  is saved in the nextpvr folders? or is it read internally from the url source and there is no xml file saved??

I noticed in another post of a similar nature someone talked about looking at the logs  and their lack of epg entry was caused by a malformed xml. 
The xmls  from xmltv.co.uk work with other systems (tvheadend/tvmosaic) so I dont believe it is that
     
I know one can download the logs in a zip file - this Ive done and looked at them all but they dont seem to tell me anything although they do have lots of timed entries about 0200am when the epg is supposed to be updated

the only reference to epg is in many lines of each device/tuner log saying "got GET request: /stream/epg"

Questions - where is the xml file from xmltv.co.uk stored ? 
where in the logs (which log file?) can I find what its doing and why its not loading the specific channel info?

thanks in advance for any help
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#2
2020-09-07, 01:20 PM
If you need to edit the xmltv file prior to importing it the approach is to create an UpdateEPG.bat file where you can process it however you want and then link NextPVR to the file you have edited.

Martin
johnm0101
Offline

Junior Member

Guernsey
Posts: 24
Threads: 5
Joined: Sep 2020
#3
2020-09-07, 02:11 PM
many tx Martin for your quick response

where (in which folder) should the xml file be saved? In other words where is nextPVR looking for the xml?
I can easily set up a script to download the xmltv file - I just need to know where to put it and then I suppose replace the url with that filepath? Am I on the right lines?

which log file should I be looking at to see if it is not reading the 'guide'.xml correctly?

I am pretty familiar with xml and the downloaded file from xmltv.co.uk is pukka (i.e. all the tags match) but it may not be the structure which nextpvr expects, I suppose?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#4
2020-09-07, 02:38 PM (This post was last modified: 2020-09-07, 02:38 PM by mvallevand.)
You can save it anywhere you'd like, just make sure the name is static but yes replace the url with the fully qualified filename. I'd avoid special Windows folders Program Files and ProgramData

You should start with the wiki for basic answers to basic questions on things like file locations https://github.com/sub3/NextPVR/wiki/components

If you upload the zipped logs you get from the browser we can help you too.

Martin
johnm0101
Offline

Junior Member

Guernsey
Posts: 24
Threads: 5
Joined: Sep 2020
#5
2020-09-08, 09:17 AM
tx Martin I appreciate your help greatly
I do try to research before I post but that wiki does not mention the guide.xml Also it is easy to see the settings field calling for a url and assume this is the WAN url for the source of the guide.xml
Now I've got the concept of downloading the file locally and being able to put it where I want just pointing to the path in the settings, then theres a lot more I can work out

Thanks for the offer of help on the log files that may be useful as I am reading the contents of the zip file but cant see many meaningful messages about attempting to read the guide.xml

Let me write my scripts and sort out a location and I'll try again to see if it being read

Once again thanks for your patience
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#6
2020-09-08, 11:24 AM
There are multiple reference to enter an xml file name The primary one referenced on the wiki https://github.com/sub3/NextPVR/wiki/Add...#epg-guide shows URL / File

My philosophy is without logs there is no problem. It also puts us on a level playing field. For example you reference OTA data so it seems like you have a mixed setup and the logs clarify this much more than back and forth with questions.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#7
2020-09-09, 04:27 AM
(2020-09-08, 09:17 AM)johnm0101 Wrote: I do try to research before I post but that wiki does not mention the guide.xml
guide.xml is just what you or the utility you're using is calling it. NextPVR can use xmltv files with any filename. Because of this, you wont see anything referring to specifically "guide.xml". Instead it just refers to xmltv file or url.

Ultimately NextPVR stores it's guide data in a database (npvr.db3). The xmltv file is only used when the EPG is updated. After that it's not used until the next EPG update.

If you've given NextPVR a url to an xmltv file, then it downloads the content from the url, parses the content and stores it in the database. ie, there is no temporarily xmltv file it's downloaded to.
johnm0101
Offline

Junior Member

Guernsey
Posts: 24
Threads: 5
Joined: Sep 2020
#8
2020-09-09, 10:41 PM
many tx #sub
thats what caused the confusion - I read up and assumed that the settings page (as it prompted for either a url or a file path) would accept a WAN url to the original file.
it did not seem to do this. However when I downloaded the same file and pointed to it locally via a filepath it seemed to work.
got it working now using a script with curl

I am a refugee from TVMosaic and am well impressed with nextPVR especially as it is donationware I will be conributing!
thanks all for the supportive help
I will try to return the favour
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#9
2020-09-10, 10:24 PM
(2020-09-09, 10:41 PM)johnm0101 Wrote: many tx #sub
thats what caused the confusion - I read up and assumed that the settings page (as it prompted for either a url or a file path) would accept a WAN url to the original file.
it did not seem to do this. However when I downloaded the same file and pointed to it locally via a filepath it seemed to work.
got it working now using a script with curl
It should work with a WAN url directly. If it doesn't, you can PM me the url and I'll check why. Sometimes you can get problems related to mime type being reported by the server for that file type, or the type of compression they're using. etc.

Quote:I am a refugee from TVMosaic and am well impressed with nextPVR
Great Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  DVT Tuner remains locked after EPG update. Bobins 4 232 2025-06-29, 04:57 PM
Last Post: Bobins
  Schedulesdirect will not update.. shortputt 8 727 2025-04-11, 07:39 PM
Last Post: BrettB
  No standby after update to Version 7 Escape7 163 13,210 2025-01-04, 05:27 PM
Last Post: sub
  Automate Update Channels on Specific IPTV Device or Group of Devices taylormia 33 3,626 2024-11-15, 02:48 AM
Last Post: taylormia
  TV Guide Showing Duplicate Channels After IPTV Update Channels taylormia 27 2,398 2024-11-10, 12:24 AM
Last Post: sub
  Help regarding channel name update info mellman 5 782 2024-11-03, 05:46 PM
Last Post: mvallevand
  NEW Update Brucek2839 2 569 2024-11-01, 06:28 PM
Last Post: Brucek2839
  update npvr database UNC paths artmetz 4 671 2024-10-25, 10:56 PM
Last Post: artmetz
  EPG Does not update rband 2 503 2024-10-04, 10:30 PM
Last Post: rband
  cannot find any way to manually update the EPG Grecond 1 508 2024-09-30, 06:28 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode