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 … 271 272 273 274 275 … 433 Next »
Channels EPG mapping to XMLTV only looks at first display name tag for auto mapping

Channels EPG mapping to XMLTV only looks at first display name tag for auto mapping
typoknig
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Dec 2012
#1
2012-12-30, 12:39 AM
My cable company is Comcast.
I'm using an HDHomeRunPrime (HDHR3-CC)
I'm using mc2xml to generate an xmltv file named "tvguide.xml"

Inside the "tvguide.xml" file channel tags are structured like this:

[HTML]
<channel id="I15.250737820.microsoft.com">
<display-name>15 OWN</display-name>
<display-name>15</display-name>
<display-name>OWN</display-name>
<display-name>Oprah Winfrey Network</display-name>
<display-name>Satellite</display-name>
</channel>
[/HTML]

When I go to "Settings -> Devices" and select one of my HDHR tuners (not ATCS, not QAM) and then press the "Device Setup" button then press the "Scan" button, NPVR successfully scans and finds all the channels I expected and names them appropriately. For instance channel 15 for me is named "OWN".

The problem is this, when I go to "Settings -> Channels" and then click on "OWN" and press the "Details" button then set the "EPG source" to "XMLTV", NPVR does not automatically select "OWN" in the "Mapping" field. I have found that NPVR will only select the correct channel in the "Mapping" field if the name NPVR has assigned to the channel exactly matches the first "display-name" tag for the channel in the "tvguide.xml" file.

So if I change the structure of my channel tags to this...

[HTML]
<channel id="I15.250737820.microsoft.com">
<display-name>OWN</display-name>
<display-name>Oprah Winfrey Network</display-name>
<display-name>Satellite</display-name>
</channel>
[/HTML]

... then NPVR works as expected.

Seems like NPVR should look at all the "display-name" tags. Is there an easy fix for this or do I have to write a script to strip out the "display-name" tags that are confusing NPVR?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#2
2012-12-30, 01:00 AM
The bulk mapping screen has logic that will look at multiple display-name tags (like you get in North American XMLTV files) tags when trying to automatic name making. The Details screen doesn't do this - with this screen you need to manually select the mapping.
typoknig
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Dec 2012
#3
2012-12-30, 01:48 AM
Can you please explain how the bulk mapping screen can be used as you have suggested? I can never get the "bulk" mapping screen to do anything in bulk, and I have not been able to make it auto map a single channel either. I have followed the wiki instructions to a T. I can post some screen shots if it would be helpful.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#4
2012-12-30, 05:33 AM
You need to have the most recent patches installed to get support for the multiple display-names found in North American xmltv files.

Basically you manually map one channel manually and it'll offer to try automapping the rest. When attempts to do this, it looks at all the display-names trying to find a match.
typoknig
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Dec 2012
#5
2012-12-30, 05:53 AM (This post was last modified: 2012-12-30, 06:02 AM by typoknig.)
sub Wrote:You need to have the most recent patches installed to get support for the multiple display-names found in North American xmltv files.

Basically you manually map one channel manually and it'll offer to try automapping the rest. When attempts to do this, it looks at all the display-names trying to find a match.

Yup, I am 100% up to date with all the latest patches (R1 Patches here). I manually map one channel as you (and the wiki) describe and NPVR does offer to perform auto mapping, asking...

Would you like the application to have a go at auto mapping the rest of the channels? (based on the channel name)

... but when I click the "Yes" button it does not work, regardless of the structure of my "tvguide.xml" file. I have re-installed NPVR 3 times too, and the hash of my download is correct so I don't think I have a corrupt install.

Side note: mc2xml will put the channel "name" before the channel "number name" combo if you use the "F" flag when you run it, so now I'm using the "F" flag, but it didn't help.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#6
2012-12-30, 08:42 AM
I think sub is referring to some patches I've not yet put in the list. I've been saying for two weeks that I will find some time to get the patch list updated... I'm too tired now, but will try to get it done tomorrow (or technically later today).
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
jbaruch76
Offline

Junior Member

Posts: 14
Threads: 3
Joined: Jan 2013
#7
2013-01-17, 03:30 AM
i am currently on the r2 patch and the bulk mapping isn't working. would be pretty annoying to do 1000 channels manually.
typoknig
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Dec 2012
#8
2013-01-31, 12:50 AM
johnsonx42 Wrote:I think sub is referring to some patches I've not yet put in the list. I've been saying for two weeks that I will find some time to get the patch list updated... I'm too tired now, but will try to get it done tomorrow (or technically later today).

Like jbaruch76, I am also now using the R2 patch and bulk mapping still isn't working.

Any suggestions?
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#9
2013-01-31, 04:47 AM
typoknig Wrote:Seems like NPVR should look at all the "display-name" tags. Is there an easy fix for this or do I have to write a script to strip out the "display-name" tags that are confusing NPVR?

I missed this thread previously so sorry for the late info.

If you are using mc3xml, add "-F" (upper case is important) to the mc2xml command line. This will make mc2xml list the channel name only for the first <display-name>:

Code:
<channel id="I15.250737820.microsoft.com">
    [B]<display-name>OWN</display-name>[/B]
    <display-name>15 OWN</display-name>
    <display-name>15</display-name>
    <display-name>Oprah Winfrey Network</display-name>
    <display-name>Satellite</display-name>
</channel>
typoknig
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Dec 2012
#10
2013-01-31, 03:05 PM (This post was last modified: 2013-01-31, 03:11 PM by typoknig.)
whurlston Wrote:I missed this thread previously so sorry for the late info.

If you are using mc3xml, add "-F" (upper case is important) to the mc2xml command line. This will make mc2xml list the channel name only for the first <display-name>:

Code:
<channel id="I15.250737820.microsoft.com">
    [B]<display-name>OWN</display-name>[/B]
    <display-name>15 OWN</display-name>
    <display-name>15</display-name>
    <display-name>Oprah Winfrey Network</display-name>
    <display-name>Satellite</display-name>
</channel>

Yup, I mentioned that the "-F" flag didn't help me at the bottom of my third post in this thread. I have tried zap2xml (which also accepts the "-F" flag) as well, but it gives me the same results.

One thing I did notice on the bulk mapping screen, if "XMLTV" is selected as the EPG source on a channel that is not mapped then bulk mapping will correctly auto map that channel, but that means that I have to go through 1000 channels and set the EPG source to XMLTV before I do the bulk mapping. When NPVR asks me...

Would you like the application to have a go at auto mapping the rest of the channels? (based on the channel name)

... it should look at the EPG source for the channel I just mapped and assume all the channels it is going to try to auto map will use the same EPG source.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 143,215 2024-01-29, 01:07 AM
Last Post: stoenjes44
  decoder issue? some channels don't play Donsch 10 5,488 2023-12-04, 10:19 PM
Last Post: turkeypets
  Device Update - Channel Mapping chezmorris 10 4,945 2022-07-01, 01:59 PM
Last Post: mvallevand
  double channels MaxOne72 2 1,379 2021-08-15, 05:22 AM
Last Post: MaxOne72
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,298 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Auto Update EPG not running as scheduled? BairStrokes 2 1,848 2021-03-26, 12:02 PM
Last Post: NumberFive
  IPTV Channel Mapping jrockow 15 8,273 2021-03-07, 09:45 PM
Last Post: jrockow
  EPG XMLTV problem DBHall 8 3,915 2021-01-01, 12:34 PM
Last Post: Graham
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,258 2020-12-27, 02:27 AM
Last Post: sub
  xmltv and EPG channel icons HaTaX 5 4,283 2020-10-28, 04:25 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