Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: XMLTV Channel Number Option

  1. #1
    Join Date
    May 2018
    Location
    United Kingdom
    Posts
    37

    XMLTV Channel Number Option

    Is there a channel number tag for an XML tv guide that NPVR can pick up? I've built my own scraper to build said XML file, so I would rather assign channel numbers programmatically than mess around manually assigning them in NPVR itself as I have hundreds. Thanks.

  2. #2
    Join Date
    May 2018
    Location
    United Kingdom
    Posts
    37
    ...also categories to create channel groupings or similar would be very handy...

  3. #3
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,690
    The rules kind of vary a bit depending on where the channels are coming from.

    For example, if you were going to be using xmltv listings with digital channels, you would have had the channels created (with channel numbers) after a scan, ie before you'd later assigned those channels to get listings from XMLTV.

  4. #4
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,690
    There is no groups that come from xmltv.

    If you're using IPTV channels though, it does pull in group names from the m3u url when you import the channels.

  5. #5
    Join Date
    May 2018
    Location
    United Kingdom
    Posts
    37
    Quote Originally Posted by sub View Post
    The rules kind of vary a bit depending on where the channels are coming from.

    For example, if you were going to be using xmltv listings with digital channels, you would have had the channels created (with channel numbers) after a scan, ie before you'd later assigned those channels to get listings from XMLTV.
    Hi...you lost me there a bit...do you mean if the channels are not coming from an analogue tuner that i can assign channel numbers and categories myself in my XMLTV file?

  6. #6
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,690
    I just mean - where the channel numbers come from depends on where you're getting your channels from. (since the setup process is slightly different for the different device types)

    Are you using an analog tuner?

  7. #7
    Join Date
    May 2018
    Location
    United Kingdom
    Posts
    37
    no i have a capture card connected to a HDMI output from my STB...

  8. #8
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,690
    Colossus / HDPVR - if you've got multiple <display-name> tags for a channel in your xmltv file, and one of them just a number, then that'll be used as the channel number. This is the approach commonly used by xmltv files to specify a channel number, particularly in North American xmltv files.

  9. #9
    Join Date
    May 2018
    Location
    United Kingdom
    Posts
    37
    ok, great...how about categories? is there any way to add say a 'sport' tag and have all channels with that tag appear in a sport grouping? the aim is that kodi will pick the grouping up from NPVR as the back end.

  10. #10
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,690
    Quote Originally Posted by gdogg371 View Post
    ok, great...how about categories? is there any way to add say a 'sport' tag and have all channels with that tag appear in a sport grouping?
    The xmltv standard doesn't include a place to supply this info. (so NextPVR doesn't look for anything like that)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •