2017-02-23, 00:18
fresh kodi v17 install (using mysql backend / sources.xml), installed repo, installed cleansubs.. went to configure it.. seeing:
restarted kodi, it hung on exiting due to cleansubs db being locked.. eventually exited. went back in, configured cleansubs manual folder.. put two .srt files in the folder to test.
then went to addons > cleansubs to run it.. clicked once.. nothing happen visually in kodi.. looking at logs:
after a delay, finally came back with a popup asking what to clean...
so it cleaned the sub.. but causes cosmetic artifacts and didnt cleanup the rarbg advertising...
this went from:
to: (double space after but)
thus may want to run a replace ' ' with ' ' after cleanup is done to reduce the cosmetic stuff..
then with the CC cleanup, its not cleaning up the 'music' stuff like:
then finally, looks like you need to add cleanup string for rarbg:
also noticed that when it did cleanup the file it caused this dupe:
Code:
16:14:32.445 T:7796 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\default.py", line 41, in onSettingsChanged
GetSettings()
File "C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\default.py", line 91, in GetSettings
Lang[i] = Lang[i].upper()
IndexError: list index out of range
-->End of Python script error report<--
restarted kodi, it hung on exiting due to cleansubs db being locked.. eventually exited. went back in, configured cleansubs manual folder.. put two .srt files in the folder to test.
then went to addons > cleansubs to run it.. clicked once.. nothing happen visually in kodi.. looking at logs:
Code:
16:16:15.288 T:4864 DEBUG: CPythonInvoker(11, C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py): start processing
16:16:15.300 T:4864 DEBUG: -->Python Interpreter Initialized<--
16:16:15.300 T:4864 DEBUG: CPythonInvoker(11, C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py): the source file to load is "C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py"
16:16:15.300 T:4864 DEBUG: CPythonInvoker(11, C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py): setting the Python path to C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs;C:\Program Files (x86)\Kodi\addons\script.module.pil\lib;C:\Users\zoggy\AppData\Roaming\Kodi\addons\script.module.beautifulsoup\lib;C:\Users\zoggy\AppData\Roaming\Kodi\addons\script.module.myconnpy\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:16:15.300 T:4864 DEBUG: CPythonInvoker(11, C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py): entering source directory C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs
16:16:15.300 T:4864 DEBUG: CPythonInvoker(11, C:\Users\zoggy\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py): instantiating addon using automatically obtained id of "service.cleansubs" dependent on version 2.1.0 of the xbmc.python api
16:16:15.768 T:4864 DEBUG: CLEANSUBS >> DEFINITIONS >> NO NEW DEFINITIONS (L:21244 == R:21244)
16:16:15.852 T:4864 DEBUG: CLEANSUBS >> DELETED AND CREATED NEW DEF DB
after a delay, finally came back with a popup asking what to clean...
Code:
16:19:00.185 T:4864 DEBUG: CLEANSUBS STANDALONE >> FILE: >>test-RARBG_track4_eng.srt<<
16:19:00.186 T:4864 DEBUG: CLEANSUBS >> SUB STATS WILL BE ADDED TO LOCAL DATABASE
16:19:00.186 T:4864 DEBUG: CLEANSUBS >> ENC >> OPENED WITH ENCODING: utf-8
16:19:00.213 T:4864 DEBUG: CLEANSUBS >> PROCESSED IN 0.03 SECONDS, REMOVED 78 LINES
so it cleaned the sub.. but causes cosmetic artifacts and didnt cleanup the rarbg advertising...
this went from:
Code:
00:10:30,230 --> 00:10:34,265
but [Groans] this --
to: (double space after but)
Code:
00:10:30,230 --> 00:10:34,265
but this --
this is too much.
thus may want to run a replace ' ' with ' ' after cleanup is done to reduce the cosmetic stuff..
then with the CC cleanup, its not cleaning up the 'music' stuff like:
Code:
00:14:38,544 --> 00:14:41,646
¶¶
then finally, looks like you need to add cleanup string for rarbg:
Code:
00:18:02,838 --> 00:18:04,838
Torrent downloaded by RARBG
also noticed that when it did cleanup the file it caused this dupe:
Code:
1
00:00:01,434 --> 00:00:03,602
1
<i> Previously on "marvel's</i>
<i> agents of S.H.I.E.L.D."...</i>