Integration option for M3U channel IDs

NEW: Integration setting to use channel ids instead of numbers in m3u/xmltv exports ... exactly what is the benefit of this as I use m3u export in other apps and test Channels DVR servers ?

There is none, technically. m3u export was originally made before we started using ChannelIDs to identify channels. So technically, it's wrong.

For example, let's say you have 1 dvr that has TVE authed, with favorite channels and channel collections. If you were to say, delete that TVE source, then export a TVE source of channels from another DVR, the collections and and favorites won't map. Because the IDs don't match.

We'd like to change it, but we do not want to disrupt people that are already using this technique. So we made an option for it.

We'd love for you to just try it out to see what gets disrupted.

But most people can just ignore this option.

3 Likes

Yes I will try it report any findings.

1 Like

The only thing I see it affected was TVE/Pluto ... That might cause problems if enabled in XTEVE mappings.... Which uses tvg-id=

Without

#EXTINF:-1 channel-id="6000" tvg-id="6000" tvg-chno="6000" tvg-logo="https://tmsimg.fancybits.co/assets/s28717_ll_h15_ac.png?w=360&h=270" tvc-guide-stationid="20378" tvg-name="KGWDT" group-title="HD",NBC
http://10.0.0.214:8089/devices/ANY/channels/6000/stream.mpg?format=ts

#EXTINF:-1 channel-id="6001" tvg-id="6001" tvg-chno="6001" tvg-logo="https://tmsimg.fancybits.co/assets/s28708_ll_h15_ac.png?w=360&h=270" tvc-guide-stationid="20292" tvg-name="KATUDT" group-title="HD",ABC
http://10.0.0.214:8089/devices/ANY/channels/6001/stream.mpg?format=ts

#EXTINF:-1 channel-id="6002" tvg-id="6002" tvg-chno="6002" tvg-logo="https://tmsimg.fancybits.co/assets/s10212_ll_h15_ab.png?w=360&h=270" tvc-guide-stationid="12376" tvg-name="FOXP" group-title="HD",FOX
http://10.0.0.214:8089/devices/ANY/channels/6002/stream.mpg?format=ts

With

#EXTINF:-1 channel-id="nbc" tvg-id="nbc" tvg-chno="6000" tvg-logo="https://tmsimg.fancybits.co/assets/s28717_ll_h15_ac.png?w=360&h=270" tvc-guide-stationid="20378" tvg-name="KGWDT" group-title="HD",NBC
http://10.0.0.2:8089/devices/ANY/channels/6000/stream.mpg?format=ts

#EXTINF:-1 channel-id="abc" tvg-id="abc" tvg-chno="6001" tvg-logo="https://tmsimg.fancybits.co/assets/s28708_ll_h15_ac.png?w=360&h=270" tvc-guide-stationid="20292" tvg-name="KATUDT" group-title="HD",ABC
http://10.0.0.2:8089/devices/ANY/channels/6001/stream.mpg?format=ts

#EXTINF:-1 channel-id="fox" tvg-id="fox" tvg-chno="6002" tvg-logo="https://tmsimg.fancybits.co/assets/s10212_ll_h15_ab.png?w=360&h=270" tvc-guide-stationid="12376" tvg-name="FOXP" group-title="HD",FOX
http://10.0.0.2:8089/devices/ANY/channels/6002/stream.mpg?format=ts

The XMLTV is also updated to use the same ids, so it should match. But we haven't tested with xteve, emby, etc so experience and bug reports are welcome.

XTEVE ...

2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: LIFEPHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: SPOGRD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: BRAVOHP () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: GRIT () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: SCIHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: PBS () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: QUESTSD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: LAFF () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: OUTHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: CBSSNHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: NBATVHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: RTN4HD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: TOONPHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: POPHDP () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: FXM () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: METVN () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: LMNPHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: OXYGNHP () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: HSTRYHP () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: DXDHDP () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: VH1PHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: NEWSY () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: TNTPHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: DFCHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: MNBCHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: GETTV () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: NHLHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: ESPN2HD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: MTVLIVE () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: TVONEHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: TVONEHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: SPMNHD () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: PBS () - EC: 0
2022-08-16 16:09:30 [xTeVe] [WARNING] Channel ID in the XMLTV file has changed. Channel has been deactivated.
2022-08-16 16:09:30 [xTeVe] [ERROR] Missing EPG data: FRFMHDP () - EC: 0
2 Likes

No Channels mapped in xteve ...

2022-08-16 17:55:13 [xTeVe] [WARNING] There are no channels mapped, use the mapping menu to assign EPG data to the channels.
2022-08-16 17:55:13 [xTeVe] XEPG:                   Compress XMLTV file (/home/xteve/conf/data/xteve.xml.gz)
2022-08-16 17:55:13 [xTeVe] XEPG:                   Ready to use
2022-08-16 17:55:40 [xTeVe] Check File:             http://10.0.0.2:8089/devices/ANY/guide/xmltv?duration=1209600
2022-08-16 17:55:44 [xTeVe] All streams:            611
2022-08-16 17:55:44 [xTeVe] Filter:                 1
2022-08-16 17:55:49 [xTeVe] XEPG:                   Update database
2022-08-16 17:55:49 [xTeVe] XEPG:                   Map channels
2022-08-16 17:55:49 [xTeVe] XEPG Channels:          0
2022-08-16 17:55:49 [xTeVe] XEPG:                   Compress XMLTV file (/home/xteve/conf/data/xteve.xml.gz)
2022-08-16 17:55:49 [xTeVe] XEPG:                   Create M3U file (/home/xteve/conf/data/xteve.m3u)

Any reason why you are also changing the tvg-id which is used for XTEVE.

1 Like

You want me to leave tvg-id="6000"? I don't understand how that could work. The /guide/xmltv uses ids too now, not numbers.

I will do further testing today ... something is wrong because XTEVE would not auto map.

1 Like

This is what the guide is showing for channel id

<tv source-info-name="channels-dvr">
  <channel id="20292">
    <lcn>2.1</lcn>
    <display-name>KATUDT</display-name>
    <display-name>ABC</display-name>
    <icon src="https://tmsimg.fancybits.co/assets/s28708_ll_h15_ac.png?w=360&amp;h=270"></icon>
  </channel>

Previous guide ...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-name="channels-dvr">
  <channel id="2.1">
    <lcn>2.1</lcn>
    <display-name>KATUDT</display-name>
    <display-name>ABC</display-name>
    <icon src="https://tmsimg.fancybits.co/assets/s28708_ll_h15_ac.png?w=360&amp;h=270"></icon>
  </channel>

channel id="20292" does not match the M3U.

1 Like

Gotcha. It matches on pluto and tve though, right?

For HDHR, the m3u still uses channel numbers in tvg-id?

Correct

this is xfinity TVE ... Channel Id's are different using new m3u option.

#EXTM3U

#EXTINF:-1 channel-id="nbc" tvg-id="nbc" tvg-chno="6000" tvg-logo="https://tmsimg.fancybits.co/assets/s28717_ll_h15_ac.png?w=360&h=270" tvc-guide-stationid="20378" tvg-name="KGWDT" group-title="HD",NBC
http://10.0.0.2:8089/devices/TVE-Comcast_SSO/channels/6000/stream.mpg?format=ts
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-name="channels-dvr">
  <channel id="6000">
    <lcn>6000</lcn>
    <display-name>KGWDT</display-name>
    <display-name>NBC</display-name>
    <icon src="https://tmsimg.fancybits.co/assets/s28717_ll_h15_ac.png?w=360&amp;h=270"></icon>
  </channel>
1 Like

@tmm1

New Release looks good everything mapped correctly Plex using XTEVE had no problem.

Looking good.

2 Likes

Awesome thanks for your help testing