fix Twitch.tv
Hello Mario,
Could you fix the "Twitch.tv", it has not been running for quite some time.... Thanks...
The debug log:
https://static-cdn.jtvnw.net/ttv-boxart/509658-285x380.jpg', 'desc': 'Game | 224384 Zuschauer', 'type': 'category', 'next_category': 'game_channels'}] pCommon - getURLRequestData() -> params: {'header': {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36', 'Accept': '/', 'Accept-Encoding': 'gzip, deflate', 'DNT': 1, 'Client-ID': 'kimne78kx3ncx6brgo4mv6wki5h1ko'}, 'raw_post_data': True, 'url': 'https://gql.twitch.tv/gql', 'return_data': True} pCommon - getURLRequestData() -> headers: {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36', 'Accept': '/', 'Accept-Encoding': 'gzip, deflate', 'DNT': 1, 'Client-ID': 'kimne78kx3ncx6brgo4mv6wki5h1ko'} pageUrl: [https://gql.twitch.tv/gql] pCommon - getURLRequestData() -> post data: [{"operationName":"DirectoryPage_Game","variables":{"name":"Just Chatting","options":{"sort":"VIEWER_COUNT","recommendationsContext":{"platform":"web"},"requestID":"a40436b85daf0810","tags":[]},"sortTypeIsRecency":false,"limit":30},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"c250a5fa4134a24c3d96abff9450391fd621b1c973c47f3d6adda3be6098c850"}}}] Twitch.listGameChannels data[[{"errors":[{"message":"PersistedQueryNotFound"}],"extensions":{"durationMilliseconds":3,"operationName":"DirectoryPage_Game","requestID":"01GYA4C4A1A0AAY90DMW1H01BK"}}]]
ok_pressed selected item: Alle ok_pressed selected TYPE_CATEGORY AsyncMethod.init --- AsyncCall.init [getListForItem]--- AsyncMethod.del --- handleService start AsyncCall.del --- handleService: ||| name[category], category[game_channels] Twitch.listGameChannels [{'good_for_fav': True, 'name': 'category', 'category': 'game_channels', 'title': 'Alle', 'game_id': '509658', 'game_name': 'Just Chatting', 'icon': ' EXCEPTION
===============================================
Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttwitchtv.py", line 245, in listGameChannels self._listChannels(cItem, nextCategory, data[0]['data']['game']['streams']) KeyError: 'data'
===============================================
self[<Plugins.Extensions.IPTVPlayer.components.asynccall.AsyncCall object at 0xad42e6b8>] [True] addToQueue CFunctionProxyQueue.processQueue reloadList E2iPlayerWidget.reloadList refresh[0], selIndex[-1] ERROR: getSelItem there is no item with index: 0, listOfItems.len: 0 ERROR: getSelItem there is no item with index: 0, listOfItems.len: 0