SenexCrenshaw / StreamMaster

MIT License
221 stars 23 forks source link

Bug: Auto assignment of xmltv channel to playlist channel inconsistent #254

Open thebatfink opened 5 hours ago

thebatfink commented 5 hours ago

Describe the Bug After adding and xmltv file and m3u (both via external url), using sync and auto number during m3u addition to streamgroup, the epg values are automatically determined for each channel. Whilst many appear correct, some are not.

For the channels with incorrect entries, the source m3u does have a tvg-id value which match corresponding values in the source xml guide for channel id - but SM auto assigns some other value epg to the channel from a different channel entirely.

Sample m3u and xml provided via discord for testing including screen shots of the problem. Tested with a clean delete of config folders, repull of latest image and the only steps after the container starts: adding epg file via url, creating new stream group, adding new m3u via url. Logs after this activity linked below.

Stream Master Info

Link to logs (required)

thebatfink commented 3 hours ago

So I am not sure if this is exclusive or not but it would appear all the ones its incorrectly matching (even though there are matching id’s in the two files) are channels with a number in the name. Whenever the channel name has a number in it (such as Channel 4 or 5 Star), its matching to some other channel with the same number in the name somewhere (but the incorrect one). Maybe this helps track down the logic issue.