NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support macOS v
« Previous 1 2 3 4 Next »
Channels - Auto Map Instructions?

 
  • 0 Vote(s) - 0 Average
Channels - Auto Map Instructions?
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#1
2019-12-07, 01:42 AM
Hi folks,

I'm not having any luck with the Auto Map function and I'm not sure I know how I am supposed to use it to start with.
(Using HDHomeRun ATSC in the US for over the air)

I have the channels already scanned from the tuner.

In settings, I go to Channels -> Advanced -> Auto Map
Channel Type = HDHR
EPG Source = XMLTV file (a data file I've been using for years with NPVR4)
Map Strategy = I've tried both "Numbers and Identifiers" and "Channel Names"

no luck mapping any channels. Comes back immediately without error but with no mappings.

The XML file I'm using works fine if I manually click the wrenches and map the channels one at a time...
2.1 = 2.1
6.1 = 6.1
etc.

I've tried checking all the boxes to the left of the channels before running the auto map and also tried without checking. Not sure if that's even relevant to auto map or if that is just for deleting channels.

EPG loads just fine from the XML file for any channels I map manually. Just hoping I can get the Auto Map to work so I don't have to do all them one by one.

I'm using the latest update downloaded fresh tonight Version: 5.0.0.191201 

thanks in advance for any suggestions.

rjb
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2019-12-07, 02:13 AM
There is not normally channel numbers in an xmltv file, so it'd likely need the 'Channel Names' mapping strategy.

Do the names in your XMLTV match what they're called in NextPVR?

If you want to supply the NPVR.db3 and the xmltv file, I'm happy to take a look why it's not mapping (and fix if there is any bug that is stopping it from mapping).
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#3
2019-12-07, 02:38 AM
(2019-12-07, 02:13 AM)sub Wrote: There is not normally channel numbers in an xmltv file, so it'd likely need the 'Channel Names' mapping strategy.

Do the names in your XMLTV match what they're called in NextPVR?

If you want to supply the NPVR.db3 and the xmltv file, I'm happy to take a look why it's not mapping (and fix if there is any bug that is stopping it from mapping).

thanks sub. appreciate the help. I'll probably do that tomorrow.
thanks again!
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#4
2019-12-07, 07:43 PM
[attachment=307 Wrote:sub pid='530672' dateline='1575684813']There is not normally channel numbers in an xmltv file, so it'd likely need the 'Channel Names' mapping strategy.

Do the names in your XMLTV match what they're called in NextPVR?

If you want to supply the NPVR.db3 and the xmltv file, I'm happy to take a look why it's not mapping (and fix if there is any bug that is stopping it from mapping).

Hi Sub, when you have time, I'd like to take you up on your offer. I'm attaching my NPVR.db3 and xmltv.xml files.
thanks! rjb


Attached Files
.zip   files.zip (Size: 794.9 KB / Downloads: 10)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2019-12-07, 11:05 PM
There is a fair bit of inconsistency between different xmltv sources. These ones that come from zap2xml have multiple display names for each channel, and it was incorrectly choosing the display name that was only a number (ie, <display-name>2.1</display-name>), and trying to match that against the channel name.

I've made a tweak for the next build, which works better with zap2xml xmltv files, and gets the majority of your mappings automatically.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,117
Threads: 957
Joined: May 2006
#6
2019-12-07, 11:12 PM
Will that work with the mc2xml files from SD too? I know you tried to do it for me but you took it out because it broke something.

Martin
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#7
2019-12-08, 12:20 AM
(2019-12-07, 11:05 PM)sub Wrote: There is a fair bit of inconsistency between different xmltv sources. These ones that come from zap2xml have multiple display names for each channel, and it was incorrectly choosing the display name that was only a number (ie, <display-name>2.1</display-name>), and trying to match that against the channel name.

I've made a tweak for the next build, which works better with zap2xml xmltv files, and gets the majority of your mappings automatically.

Oh wow. That’s great. Thanks very much for the adjustment. I’ll look forward to the next release. 

thanks again!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2019-12-08, 12:32 AM
(2019-12-07, 11:12 PM)mvallevand Wrote: Will that work with the mc2xml files from SD too? 
Maybe. What was the generator-info-name attribute in an mc2xml file?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,117
Threads: 957
Joined: May 2006
#9
2019-12-08, 12:43 AM (This post was last modified: 2019-12-08, 12:44 AM by mvallevand.)
mc2xml the match logic sources are included as examples.

Code:
<tv source-info-name="Schedules Direct" generator-info-name="mc2xml" generator-info-url="mailto:mc2xml@gmail.com">
<channel id="I4.1.58494.schedulesdirect.org">
<display-name>4.1 CBOTDT</display-name>
<display-name>4.1</display-name>
<display-name>25 CBOTDT fcc</display-name>
<display-name>CBOTDT</display-name>
<display-name>CBC Ottawa HD</display-name>
<display-name>CBC Affiliate</display-name>
</channel>              

The HDHR lineup is

{

    "GuideNumber": "4.1",
    "GuideName": "CBOT-DT",
    "VideoCodec": "MPEG2",
    "AudioCodec": "AC3",
    "HD": 1,
    "Favorite": 1,
    "URL": "http://172.16.3.83:5004/auto/v4.1"
},                        

and it linux it is

[CBOT-DT]
        VCHANNEL = 4.1
        SERVICE_ID = 3
        VIDEO_PID = 49
        AUDIO_PID = 52 53
        FREQUENCY = 539028615
        MODULATION = VSB/8
        DELIVERY_SYSTEM = ATSC

mc2xml is good for SD users because effectively we get to double the number of lineups

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#10
2019-12-08, 01:08 AM
Ok I've also enabled that logic for generator-info-name="mc2xml". It'll hopefully get it going there too.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lost my ATSC Channels on HDHomerun markosjal 17 4,473 2022-06-30, 03:48 AM
Last Post: sub
  issues with updating my channels madmanuk 7 2,635 2020-06-28, 10:50 AM
Last Post: madmanuk
  Unable to scan channels with HDHR3-DT nicwithsticks 5 3,560 2019-08-08, 07:35 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