tellytv / telly

An IPTV proxy
MIT License
770 stars 106 forks source link

Allow custom channel mapping #109

Closed tombowditch closed 6 years ago

tombowditch commented 6 years ago

Should stop people having to spend hours fiddling with Plex UI. Would be a "channels.json" file or something similar with the format something like...

"channels": [
    {
        "channelNumber": "101",
        "channelName": "BBC One HD",
    },
    {
        "channelNumber": "102",
        "channelName": "BBC Two HD",
    },
    ... you get the point
]

etc.

Will be coming shortly.

hazcod commented 6 years ago

The channel name should be a regular expression or wildcard match too, as IPTV providers often append extra information before/after the channel name.

tombowditch commented 6 years ago

Agreed, we cannot match one channel number to multiple channels though, as Plex will tell us "no"

chazlarson commented 6 years ago

PlexIPTV has a pretty nice implementation of this. https://github.com/xiaodoudou/PlexIPTV

nroTTron commented 6 years ago

When I try to load the provider XML, Plex fails to complete the guide setup process. It just keeps spinning the continue button on an endless loop.

nroTTron commented 6 years ago

FYI - I am able to get past the channel loading with IPTV XML by deleting DVR and restarting PMS a few times. Waiting for guide to load.

#EXTINF:-1 tvg-id="US: A&E" tvg-name="US: A&E" tvg-logo="http://IPTVDOMAIN/guide/logos/AE.png" group-title="USA",US: A&E http://IPTVDOMAIN:PORT/live/xxxx/xxxxx/30.ts

guyspr commented 6 years ago

@nroTTron this issue seems to be resolved. If not, please re-open if any other issues.