Sort the TV guide list by channel number; direct TeleVigo stream
Kodi lists channels in file order, so TVG2 and TeleVigo showed up last. TeleVigo's master playlist points to an ad server URL with unfilled placeholders that Kodi can't open; use the direct playlist instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
066a203e9e
commit
235f7a6cab
4 files changed
+9
-8
No files matched your search
@@ -38,7 +38,7 @@ EXTRA_CHANNELS = [
|
||||
'url': 'https://crtvg-tvg2.flumotion.cloud/playlist.m3u8'},
|
||||
{'id': 'TeleVigo', 'name': 'TeleVigo', 'chno': 155, 'group': 'Galicia',
|
||||
'logo': 'https://i.imgur.com/4iVmlFa.png',
|
||||
'url': 'https://cloud.fastchannel.es/mic/manifiest/hls/televigo/televigo.m3u8'},
|
||||
'url': 'https://stream-us-east-1.getpublica.com/playlist.m3u8?network_id=12687'},
|
||||
]
|
||||
|
||||
AUTOLOGIN_URL = 'https://soter-pf.svp.video.telefonicaservices.com/service/login/autologin?deviceId={device}&deviceType=webplayer&_={ts}'
|
||||
@@ -151,10 +151,9 @@ def network_login(m, account_number):
|
||||
|
||||
|
||||
def extra_channels_m3u8():
|
||||
items = []
|
||||
for c in EXTRA_CHANNELS:
|
||||
items.append('#EXTINF:-1 tvg-name="{name}" tvg-id="{id}" tvg-logo="{logo}" tvg-chno="{chno}" group-title="{group}",{name}\n{url}\n\n'.format(**c))
|
||||
return ''.join(items)
|
||||
"""Returns [(channel number, m3u8 entry)]."""
|
||||
return [(c['chno'], '#EXTINF:-1 tvg-name="{name}" tvg-id="{id}" tvg-logo="{logo}" tvg-chno="{chno}" group-title="{group}",{name}\n{url}\n\n'.format(**c))
|
||||
for c in EXTRA_CHANNELS]
|
||||
|
||||
|
||||
def write_if_changed(filename, content):
|
||||
|
||||
Reference in new issue
Block a user