diky vsem za pomoc
log
2025-12-04 15:38:14.317 T:26984 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'UnboundLocalError'>
Error Contents: cannot access local variable 'ws' where it is not associated with a value
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.oneplay/resources/lib/api.py", line 32, in call_api
ws = create_connection('wss://ws.cms.jyxo.cz/websocket/' + clientId)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.websocket/lib/websocket/_core.py", line 610, in create_connection
websock.connect(url, **options)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.websocket/lib/websocket/_core.py", line 251, in connect
self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.websocket/lib/websocket/_http.py", line 135, in connect
sock = _ssl_socket(sock, options.sslopt, hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.websocket/lib/websocket/_http.py", line 275, in _ssl_socket
sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.websocket/lib/websocket/_http.py", line 251, in _wrap_sni_socket
return context.wrap_socket(
^^^^^^^^^^^^^^^^^^^^
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/ssl.py", line 1108, in _create
self.do_handshake()
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1006)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.oneplay/main.py", line 240, in <module>
router(sys.argv[2][1:])
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.oneplay/main.py", line 228, in router
play_stream(params['id'], 'start')
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.oneplay/resources/lib/stream.py", line 225, in play_stream
url_hls, url_dash, url_dash_drm, drm = get_stream_url(post, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.oneplay/resources/lib/stream.py", line 115, in get_stream_url
data = api.call_api(url = 'https://http.cms.jyxo.cz/api/v1.6/content.play', data = post, session = session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.oneplay/resources/lib/api.py", line 90, in call_api
ws.close()
^^
UnboundLocalError: cannot access local variable 'ws' where it is not associated with a value
-->End of Python script error report<--
.
.
.15:39:55.371 T:24590
<geneerrorral>: Playlist Player: skipping unplayable item: 2, path [plugin://plugin.video.oneplay/?action=set_active_profile&id=8455508]
.
.error <general>: Playlist Player: skipping unplayable item: 3, path [plugin://plugin.video.oneplay/?action=reset_profiles]
.
.error <general>: Control 55 in window 10025 has been asked to focus, but it can't
2025-12-04 15:40:52.666 T:29972
debug <general>: Oneplay > {"schema":"ApiCall","serverTime":"2025-12-04T15:40:52+01:00","command":"user.profile.select","requestTime":1764859252.829,"fetchedTime":1764859252.83,"computedTime":1764859252.916,"response":{"schema":"ErrorResponse","result":{"status":"Error","schema":"ErrorResult","code":"4073","message":"Nesprávný profilový PIN"},"context":{"requestId":"3fc7884a-dbbe-4e18-b857-d7793537a039","clientId":"db4a4acb-32ac-4f8a-a5e5-d1e5a3c68373","sessionId":"5796523b-0f14-4474-8dff-a410c2f07f6d","serverId":"5796523b-0f14-4474-8dff-a410c2f07f6d"}}}
.
2025-12-04 15:40:52.667 T:29972 debug <general>: Oneplay > Chyba při volání
https://http.cms.jyxo.cz/api/v1.6/user.profile.select
2025-12-04 15:40:54.777 T:29972 debug <general>: Oneplay > {"schema":"ApiCall","serverTime":"2025-12-04T15:40:54+01:00","command":"user.profile.select","requestTime":1764859254.839,"fetchedTime":1764859254.84,"computedTime":1764859254.994,"response":{"schema":"ErrorResponse","result":{"status":"Error","schema":"ErrorResult","code":"4073","message":"Nesprávný profilový PIN"},"context":{"requestId":"6cb82146-a2c8-47f7-8b9e-5eb7c4182f26","clientId":"dfe35e62-c9b7-4123-adfc-363b1fe84419","sessionId":"91784895-ed90-4dd0-ade7-b9bcd35bd99b","serverId":"91784895-ed90-4dd0-ade7-b9bcd35bd99b"}}}
2025-12-04 15:40:54.778 T:29972 debug <general>: Oneplay > Chyba při volání
https://http.cms.jyxo.cz/api/v1.6/user.profile.select
.
2025-12-04 15:41:24.828 T:30625 debug <general>: Oneplay > {"schema":"ApiCall","serverTime":"
2025-12-04T15:41:25+01:00","command":"content.play","requestTime":1764859284.929,"fetchedTime":1764859284.929,"computedTime":1764859285.064,"response":{"schema":"ErrorResponse","result":{"status":"Error","schema":"ErrorResult","code":"4104","message":"Kdo se dívá?","customError":{"schema":"ProfileSelectionNeededError","availableProfiles":{"profiles":[{"setting":{"avatarId":"3ddb7ce6-4b3e-421a-8749-67a348d404b3","isMain":true,"isKid":false,"languageSetting":{"closedCaptions":false,"audioDescription":false,"appLanguage":{"code":"cs_CZ","name":"Čeština"},"subtitleLanguage":{"code":"","name":"Žádné titulky"},"audioLanguage":{"code":"cs_CZ","name":"Čeština"}},"favoriteChannels":{"sorting":"manual"},"isDefault":false},"profile":{"name":"Hlavní profil","avatarUrl":"https://eboxcz-ott-images.ssl.cdn.cra.cz/r{WIDTH}x{HEIGHT}n/3ddb7ce6-4b3e-421a-8749-67a348d404b3","id":"7987260"},"actions":[{"name":"Vybrat","action":{"schema":"ApiAppAction","call":"user.profile.select","params":{"schema":"UserProfileSelectApiAction","payload":{"profileId":"7987260"}}}}]},{"setting":{"avatarId":"3ddb7ce6-4b3e-421a-8749-67a348d404b3","isMain":false,"isKid":false,"languageSetting":{"closedCaptions":false,"audioDescription":false,"appLanguage":{"code":"cs_CZ","name":"Čeština"},"subtitleLanguage":{"code":"","name":"Žádné titulky"},"audioLanguage":{"code":"cs_CZ","name":"Čeština"}},"favoriteChannels":{"sorting":"manual"},"isDefault":false},"profile":{"name":"Tyna ","avatarUrl":"https://eboxcz-ott-images.ssl.cdn.cra.cz/r{WIDTH}x{HEIGHT}n/3ddb7ce6-4b3e-421a-8749-67a348d404b3","id":"8269321"},"actions":[{"name":"Vybrat","action":{"schema":"ApiAppAction","call":"user.profile.select","params":{"schema":"UserProfileSelectApiAction","payload":{"profileId":"8269321"}}}}]},{"setting":{"avatarId":"3ddb7ce6-4b3e-421a-8749-67a348d404b3","isMain":false,"isKid":false,"languageSetting":{"closedCaptions":false,"audioDescription":false,"appLanguage":{"code":"cs_CZ","name":"Čeština"},"subtitleLanguage":{"code":"","name":"Žádné titulky"},"audioLanguage":{"code":"cs_CZ","name":"Čeština"}},"favoriteChannels":{"sorting":"manual","channels":["044","045","048","049","018","002","003","005","008","015","016","019","029","032","040","041","042","055","056","053","054","064","069","070","071","072","073","074","075","076","078","084","085","086","088","089","100","105"]},"isDefault":false},"profile":{"name":"Martin","avatarUrl":"https://eboxcz-ott-images.ssl.cdn.cra.cz/r{WIDTH}x{HEIGHT}n/3ddb7ce6-4b3e-421a-8749-67a348d404b3","id":"8455508"},"actions":[{"name":"Vybrat","action":{"schema":"ApiAppAction","call":"user.profile.select","params":{"schema":"UserProfileSelectApiAction","payload":{"profileId":"8455508"}}}}]}],"forgottenPin":{"url":"https://www.oneplay.cz/zapomenuty-pin","title":"Zapomenutý PIN"},"add":{"name":"Přidat profil","action":{"schema":"ApiAppAction","call":"user.profile.initiate","params":{"schema":"UserProfileInitiateApiAction"}}}}}},"context":{"requestId":"f69d155d-35a6-48ff-8fad-88d0c8b9e247","clientId":"b9198fab-5765-4e72-972a-d11d23d39f54","sessionId":"6c0bb298-78b0-4768-a17f-e73021a9feaf","serverId":"6c0bb298-78b0-4768-a17f-e73021a9feaf"}}}
2025-12-04 15:41:24.830 T:30625 debug <general>: Oneplay > Chyba při volání
https://http.cms.jyxo.cz/api/v1.6/content.play
.
2025-12-04 15:41:25.174 T:24590 error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.oneplay/?action=play_live&id=001&mode=start&title=Nova+HD]
2025-12-04 15:41:25.174 T:24590 debug <general>: Playlist Player: one or more items failed to play... aborting playback
Vyzobal jsem error messages, ale osobne si myslim, ze je problem v PROFILE PIN
BTW správu a platby má pod palcem syn, tak možná něco změnil...