10.11.2019, 16:58
Tak zničeho nic mi script začal vyhazovat tyto chyby :
Kód:
2019-11-10 15:54:28 --------------------
2019-11-10 15:54:28 O2TVKodi Playlist
2019-11-10 15:54:28 Version: 0.6.2 2019-09-28
2019-11-10 15:54:28 Python: 2.7.15+
2019-11-10 15:54:28 --------------------
2019-11-10 15:54:28 Starting...
2019-11-10 15:54:28 Config OK
2019-11-10 15:54:28 Saving file: device_id
2019-11-10 15:54:28 Streamer exists. Ignoring...
2019-11-10 15:54:28 Getting Token via password...
2019-11-10 15:54:28 Authentication Error
2019-11-10 15:54:28 Getting token from mediator...
2019-11-10 15:54:29 Token OK
Traceback (most recent call last):
File "./playlist.py", line 219, in <module>
code, num, err = channel_playlist()
File "./playlist.py", line 138, in channel_playlist
channels, _code = _fetch_channels()
File "./playlist.py", line 97, in _fetch_channels
channels = _o2tvgo_.live_channels()
File "/opt/o2/o2tvgo.py", line 319, in live_channels
self.refresh_configuration()
File "/opt/o2/o2tvgo.py", line 300, in refresh_configuration
j = req.json()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
nechapu proc mi to i pise ze mam verzi scriptu 0.6.2 kdyz jsem stahoval 0.6.3