(03-03-2021, 01:43)martinstz написа: Добавката вече е съвместима с Коди 19.
Здравейте @martinstz,
Благодаря за обновлението.
Добавката работи перфектно с изключение на една грешка, която ми се появява при конкретен филм: 13 sins.
Грешката, която виждам като съобщение в Коди е: "BULGARIAN SUBS ERROR. FAILED TO DOWNLOAD SUBTITLE. CHECK THE LOG FOR MORE INFORMATION"
Това е което виждам в лога:
Код:
2021-03-08 13:21:12.877 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:12.896 T:18371 INFO <general>: CPythonInvoker(16, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.modedbg/service.py): script successfully run
2021-03-08 13:21:12.950 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:12.953 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.046 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.051 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.170 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.171 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.258 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.259 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.382 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.384 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.493 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.495 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.573 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.575 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.746 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:13.755 T:15040 INFO <general>: JSONRPC Server: New connection added
2021-03-08 13:21:13.880 T:15040 INFO <general>: JSONRPC Server: Disconnection detected
2021-03-08 13:21:14.549 T:18371 INFO <general>: Python interpreter stopped
2021-03-08 13:21:16.081 T:20243 INFO <general>: initializing python engine.
2021-03-08 13:21:21.667 T:20243 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.modedbg/service.py", line 538, in <module>
subs = Download(params["ID"],params["link"],params["filename"])
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.modedbg/service.py", line 419, in Download
if xbmcvfs.exists(subtitle_list[0]):
IndexError: list index out of range
-->End of Python script error report<--
2021-03-08 13:21:22.716 T:20243 INFO <general>: Python interpreter stopped
2021-03-08 13:21:22.722 T:14988 ERROR <general>: GetDirectory - Error getting plugin://service.subtitles.modedbg/?action=download&link=/subtitles/13_Sins-111251/&ID=unacs&filename=filename of the subtitle
2021-03-08 13:21:28.194 T:14867 INFO <general>: CVideoPlayer::CloseFile()
2021-03-08 13:21:28.196 T:15701 INFO <general>: CVideoPlayer::OnExit()
2021-03-08 13:21:28.196 T:14867 INFO <general>: VideoPlayer: waiting for threads to exit
Може би е нещо свързано с името на файла, понеже започва с числа.
поздрави