Bug #3227
XMLTV id from M3U not auto associated
100%
Description
My IPTV m3u source has tvg-id attribute to associate the channels with the related xmltv epg. Such specification is correctly inserted in the new mux ('EPG Name' field) but I don't understand how it should propagate to services and channels. In my tests, the channel is not associated to the corresponding xmltv id. I can see "EPG Grab Channels" tab the row with the specific id. In this case I can't match the channel using the name: I have to use the provided ids.
#EXTM3U #EXTINF:-1 tvg-id="iptv-0401" tvg-logo="http://url/logo.png",Channel Name http://url/stream/
<channel id="iptv-0401"> <display-name lang="en">channel name not exactly matching</display-name> </channel>
History
Updated by Jaroslav Kysela about 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|f2cf933d7a3ee75ab495eec3df109e376e4a7796.
Updated by Mario D about 9 years ago
It is not working for me: the xmltv sources are still not automatically associated to the proper channels.
This is an extract of '/api/epggrab/channel/grid':
{"uuid":"a0fdd4796cfd2529ca7d48ce02ffabce","enabled":true,"modid":"xmltv","module":"XMLTV","path":"/home/mario/.hts/tvheadend/epggrab/xmltv.sock","updated":0,"id":"IPTV-0401","name":"BBC1","names":"\"BBC1\"","number":0,"channels":[],"only_one":false},
This from '/api/mpegts/mux/grid':
{"uuid":"b64ebb897ab79b6067030c9d8b43d5f6","priority":0,"spriority":0,"iptv_url":"http://....","iptv_substitute":false,"iptv_atsc":false,"iptv_muxname":"file.m3u - BBC One","channel_number":1000,"iptv_sname":"BBC One","iptv_epgid":"IPTV-0401","iptv_icon":"http://...","iptv_respawn":false,"iptv_kill":0,"iptv_kill_timeout":5,"enabled":true,"epg":1,"network":"IPTV","network_uuid":"8972d67a83dfa8b05f542a7fdae14878","name":"file.m3u - BBC One","onid":1,"tsid":1,"scan_state":0,"scan_result":1,"num_svc":1,"num_chn":1,"pmt_06_ac3":0,"eit_tsid_nocheck":false},
Tris from '/api/mpegts/service/grid':
{"uuid":"4feb72023d65a9acd87fcf4afc1e782f","network":"IPTV","multiplex":"file.m3u - BBC One","multiplex_uuid":"b64ebb897ab79b6067030c9d8b43d5f6","sid":1,"lcn":0,"lcn_minor":0,"lcn2":0,"srcid":0,"svcname":"BBC One","provider":"IPTV - English","dvb_servicetype":1,"dvb_ignore_eit":false,"prefcapid":0,"prefcapid_lock":0,"force_caid":0,"created":1446219014,"last_seen":1446219014,"enabled":true,"auto":0,"channel":["9309a9eb7507565eab7df08e0603fb86"],"priority":0,"encrypted":false,"caid":""}
This from '/api/channel/grid':
{"uuid":"9309a9eb7507565eab7df08e0603fb86","enabled":true,"autoname":true,"name":"BBC One","number":1000,"icon":"http://...","icon_public_url":"imagecache/134474281","epgauto":true,"epggrab":[],"dvr_pre_time":0,"dvr_pst_time":0,"services":["4feb72023d65a9acd87fcf4afc1e782f"],"tags":["87c2d6df70043cad8aac5445e046c611","daee7ed40b9c5aca1c19ae0eec41ad7a","022622002ba0e4ef0fb6ddd18601862e"],"bouquet":"51393c823af5bdce195ca7e2fd3239c1"}
Updated by Mario D about 9 years ago
It looks that the xmltv sources are associated using the id at most to one channel. I have multiple m3u channels with the same 'tvg-id' (SD and HD version) but only one (the first?) is associated.