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 … 25 26 27 28 29 … 433 Next »
Local XMLTV file for IPTV EPG

Local XMLTV file for IPTV EPG
jrockow
Offline

Senior Member

Posts: 716
Threads: 111
Joined: Nov 2005
#21
2019-04-14, 07:59 PM
I think you've got it!
First results look good; I'll continue working with it.

Question: You gave me the new syntax for the EPG source; i.e. backward slash "".
Should I still be using a forward slash "/" for the channel source?

As always, thanx for all your work.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#22
2019-04-14, 08:06 PM
It might not matter, but \ is probably better on Windows.
jrockow
Offline

Senior Member

Posts: 716
Threads: 111
Joined: Nov 2005
#23
2019-04-14, 09:08 PM
I did a test with my custom EPG.xml file.
It does the import OK, and if I look at the channel XML source it's pointing to my custom file.
Looks like it should work.

However, after I update the EPG and look at the actual guide it's filled with "no show details".

If I go back to the channels setting and click on the XML source again, and just click OK, without making any changes, then after another update the guide is displaying the correct info???
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#24
2019-04-14, 09:10 PM
I'm not sure why that would be - I didn't have to do that here.
jrockow
Offline

Senior Member

Posts: 716
Threads: 111
Joined: Nov 2005
#25
2019-04-14, 09:43 PM
pBS Wrote:i've been using it this way for same reasons for about a year now.. but it does have initial setting of 'none' and i just select 'xmltv' and my previous xml path is still there to select and choose channel.

This is from message #13.
It seems very similar to what I'm trying to describe.


On second thought, maybe not.
jrockow
Offline

Senior Member

Posts: 716
Threads: 111
Joined: Nov 2005
#26
2019-04-15, 10:01 AM
What I've learned so far...

When I import my custom EPG.xml file, it loads up the egp_mapping field in the Channel Table
with data, but the channel_id is incorrect. Looks like it's coming from the p2.xml file from Vaders‎?

So at this point I can understand why the Guide would display no data.

However, if I simply open the channel details window, make no changes and click OK, the
proper channel_id is updated in the DB, and the Guide will now display the data.
And I need to do this on a channel-by-channel basis; it will only update the single channel I've opened.

So it seems to me the correct channel_id is in my custom XML, but for whatever reason it's
not read in when I first do the Import using the "file://C:\epg.xml" method.

Does this make any sense to you?
Where should I look next?
jrockow
Offline

Senior Member

Posts: 716
Threads: 111
Joined: Nov 2005
#27
2019-04-15, 11:22 AM
I have attached my channel and epg files.
They have been stripped down to a single channel for simplicity.
When you get a chance try importing them and see if you get the same results I do.
There should be one program in the guide on 4/17/2019 at 8:50 PM.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#28
2019-04-16, 06:27 AM
Your m3u has this:

Code:
#EXTINF:-1, [b]tvg-id="BBC1.uk"[/b] tvg-logo="http://vaders.tv/logos/bbc%20one%20hd.png" tvg-name="BBC One HD"  group-title="United Kingdom",BBC One HD
http://vapi.vaders.tv/play/...snip....
This is saying the "tv guide id" (tvg-id) is "BBC1.uk".

In your xmltv file, you don't have a channel with the guide id of "BBC1.uk". Instead, it has id="EPG123.87840.schedulesdirect.org".
Code:
<?xml version="1.0" encoding="utf-8"?>
<tv date="4/14/2019 7:09:44 AM" source-info-url="http://schedulesdirect.org" source-info-name="Schedules Direct" generator-info-name="EPG123" generator-info-url="http://epg123.garyan2.net">
  
   <channel id="EPG123.87840.schedulesdirect.org">
    <display-name>BBC1LDH</display-name>
    <display-name>BBC One HD (London)</display-name>
    <display-name>101 BBC1LDH</display-name>
...snip...
"BBC1.uk" and "EPG123.87840.schedulesdirect.org" don't match, so no listings. If they matched, you'd have listings.
jrockow
Offline

Senior Member

Posts: 716
Threads: 111
Joined: Nov 2005
#29
2019-04-16, 10:18 AM
I understand what you're saying about the mapping needing to be correct.

However, when the files are initially imported, the DB is as follows: <mapping_id>BBC1.uk</mapping_id>
Where did that mapping even come from; it's not in the XMLTV file?
And shouldn't that have worked? It's the same mapping as the "tv guide id".

What makes it more confusing to me is why a simple open and close of the channel details screen changes the mapping in the DB to: <mapping_id>EPG123.87840.schedulesdirect.org</mapping_id>
And that does produce a listing.
How is that possible? The mapping is different at this point?

I'm just trying to get a better understanding of what's going on.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#30
2019-04-16, 04:55 PM
jrockow Wrote:I understand what you're saying about the mapping needing to be correct.

However, when the files are initially imported, the DB is as follows: <mapping_id>BBC1.uk</mapping_id>
Where did that mapping even come from; it's not in the XMLTV file?
It came from the m3u file. That's the way it's supposed to work. ie:

#EXTINF:-1, tvg-id="BBC1.uk"
http://vapi.vaders.tv/play/...snip....

This is saying the tv guide id is "BBC1.uk", and it should use listings from the XMLTV file which have the channel ID "BBC1.uk".



Quote:What makes it more confusing to me is why a simple open and close of the channel details screen changes the mapping in the DB to: <mapping_id>EPG123.87840.schedulesdirect.org</mapping_id>
And that does produce a listing.
How is that possible? The mapping is different at this point?
Yes, changing the mapping to a channel that exists will get you listings. The problem is that your m3u has a tvg-id that doesn't match the ids used in your xml file.

For it to have worked automatically you either need:
1) your m3u to have: #EXTINF:-1, tvg-id="EPG123.87840.schedulesdirect.org"...
2) or your xml to use:
Quote: <channel id="BBC1.uk">
<display-name>BBC1LDH</display-name>
<display-name>BBC One HD (London)</display-name>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 142,541 2024-01-29, 01:07 AM
Last Post: stoenjes44
  incorrect frequency in adelaide .ini file spin35 5 3,095 2023-02-01, 05:40 PM
Last Post: sub
  ts file shows length too long? SuttonWillow 2 1,963 2021-03-15, 01:56 PM
Last Post: mvallevand
  IPTV Channel Mapping jrockow 15 8,118 2021-03-07, 09:45 PM
Last Post: jrockow
  EPG XMLTV problem DBHall 8 3,857 2021-01-01, 12:34 PM
Last Post: Graham
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,439 2020-10-29, 09:40 PM
Last Post: mvallevand
  xmltv and EPG channel icons HaTaX 5 4,228 2020-10-28, 04:25 AM
Last Post: sub
  State of IPTV support TRW 18 6,113 2020-10-22, 09:58 AM
Last Post: pbelo
  ts file shows length too long SamM 4 2,376 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  IPTV service called Joker TV quek9 9 6,036 2020-09-27, 08:23 PM
Last Post: quek9

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

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

Linear Mode
Threaded Mode