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 … 94 95 96 97 98 … 101 Next »
Two xmltv sources, which has priority?

 
  • 0 Vote(s) - 0 Average
Two xmltv sources, which has priority?
markn62
Offline

Member

Posts: 214
Threads: 36
Joined: Oct 2019
#1
2019-11-07, 11:07 PM
If the config.xml has two EPG sources entered how are they handled?  Does one have priority over the other, if so which one?  Is source B merged with source A or the other way around?

<XmltvSources>http://source_A:port/xmltv.php?username=;password=~~http://source_B:port/xmltv.php?username=;password=</XmltvSources>
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2019-11-07, 11:16 PM
It'll use exactly xmltv file you selected for those channels. So, if you imported channels from some m3u/xml url, it'll use that xml url. ie, on the Settings->Channels screen, click the setting button next to the channel, and it'll show you what the channel is mapped to.

That <XmltvSources> setting is not used for reading xmltv files. It's only used to provide a convenient mechanism to remember EPG sources you've used in the past, so you don't have to retype them when setting up new channels that use xmltv.

If all your channels are mapped to a specific xmltv url, then it'll only use data from that xmltv url. If your channels are mapped to a mixture of multiple xmltv urls, then it'll read both, and the channels will get the data from the xmltv url they're mapped to.
markn62
Offline

Member

Posts: 214
Threads: 36
Joined: Oct 2019
#3
2019-11-07, 11:32 PM
So on a per channel basis it will use one or the other as mapped in the Channels page, makes sense. Well I just emptied the epg, removed all m3u and epg sources, then stopped the process. Then deleted the database file, restarted the process, and imported a new source m3u url w/ it's provided epg url. Still don't see anything in the mapping page.  Usually this would show all channels with a "default" epg.  Perhaps this source also has embedded quotes in the Epg file as you mentioned in thread "Channel mapping empty" here.  I'm running a bit blind here with an empty channels page, hence the initial question.  Thanks for clarifying.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#4
2019-11-08, 03:52 AM
(2019-11-07, 11:32 PM)markn62 Wrote: So on a per channel basis it will use one or the other as mapped in the Channels page, makes sense.
Every channel holds it's own copy of xmltv url.

Quote:Well I just emptied the epg, removed all m3u and epg sources, then stopped the process. Then deleted the database file, restarted the process, and imported a new source m3u url w/ it's provided epg url. Still don't see anything in the mapping page.  Usually this would show all channels with a "default" epg.  Perhaps this source also has embedded quotes in the Epg file as you mentioned in thread "Channel mapping empty" here.  I'm running a bit blind here with an empty channels page, hence the initial question.  Thanks for clarifying.
If you PM me a download url for you npvr.db3, I'll check it.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2019-11-08, 04:28 AM
(2019-11-07, 11:32 PM)markn62 Wrote: Perhaps this source also has embedded quotes in the Epg file as you mentioned in thread "Channel mapping empty" here. 
Yes, that is exactly why it's unable to show the channel mappings. Embedded quotes. The next release should fix it.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem XMLTV epg download Mastericarus333 3 1,326 2024-01-04, 12:47 PM
Last Post: Mastericarus333
  XMLTV puck64 2 1,269 2023-11-15, 09:13 AM
Last Post: puck64
  XMLTV EPG update not working LaChab 3 985 2023-10-24, 07:15 PM
Last Post: mvallevand
  webbgrab++ xmltv times ramjam 4 775 2023-08-11, 06:56 PM
Last Post: mvallevand
  Server URL for M3U and XMLTV Meldgaard 2 1,236 2023-08-05, 06:34 AM
Last Post: sub
  'Expose M3U/XMLTV to other apps' update three6zerocool 8 1,469 2023-02-03, 10:52 AM
Last Post: three6zerocool
  XMLTV file not uploading to the EPG properly tilton 13 2,148 2022-07-10, 08:03 PM
Last Post: sub
  Can't Get Channel Setup to Map to XMLTV SamM 6 1,747 2022-04-22, 06:23 AM
Last Post: sub
  V5 Device Priority issue bisonfan 3 926 2021-11-16, 05:36 AM
Last Post: bisonfan
  XMLTV Episode Unique ID bsperduto 10 2,485 2021-11-13, 06:00 PM
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