Release CleanSubs - (Clean subtitles from the ads and other rubbish)
Thanks Big D.! Unforutnately the add-on crashes right away when trying to run it on the arbitrary folder:

Code:
2020-05-09 23:35:27.969 T:3500 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'str' object has no attribute 'decode'
Traceback (most recent call last):
File "C:\Kodi\portable_data\addons\service.cleansubs\standalone.py", line 46, in decodeName
name = name.decode('utf8')
AttributeError: 'str' object has no attribute 'decode'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Kodi\portable_data\addons\service.cleansubs\standalone.py", line 223, in <module>
intCancel = scanPaths(manFolder, 1, 1, 3)
File "C:\Kodi\portable_data\addons\service.cleansubs\standalone.py", line 116, in scanPaths
progress.update(int(percent), decodeName(message1), decodeName(message2), str(message3))
File "C:\Kodi\portable_data\addons\service.cleansubs\standalone.py", line 48, in decodeName
name = name.decode('windows-1252')
AttributeError: 'str' object has no attribute 'decode'
-->End of Python script error report<--

Those are my settings:

<settings version="2">
<setting id="on">true</setting>
<setting id="info">true</setting>
<setting id="logo">true</setting>
<setting id="method" default="true">0</setting>
<setting id="herlines">20</setting>
<setting id="folder">smb://192.168.1.185/TV-Movie/_tv/</setting>
<setting id="removecc" default="true">false</setting>
<setting id="removetags" default="true">false</setting>
<setting id="blackbar" default="true">false</setting>
<setting id="blackbar_textcolor" default="true">#FFFF00</setting>
<setting id="custdef">false</setting>
<setting id="delorigsub" default="true">false</setting>
<setting id="ID" default="true">aee0971a-e376-4ec2-935e-6b31f125322b</setting>
<setting id="IDSynced" default="true">1</setting>
<setting id="customdef" default="true">false</setting>
</settings>

BTW, that ID, it's not tracking, is it?

UPDATE:
Could the crash be due to some language strings files not being encoded in utf8 (resource.language.cs_CZ and resource.language.sr_RS)?
Reply


Messages In This Thread
RE: CleanSubs - by User 325245 - 2016-07-21, 14:01
RE: CleanSubs - by peppe_sr - 2016-07-21, 16:16
RE: CleanSubs - by misa - 2016-07-21, 16:25
RE: CleanSubs - by User 325245 - 2016-07-21, 18:38
RE: CleanSubs - by Atreyu - 2016-07-21, 23:17
RE: CleanSubs - by User 325245 - 2016-07-22, 08:18
RE: CleanSubs - by User 325245 - 2016-07-22, 09:10
RE: CleanSubs - by misa - 2016-07-22, 08:04
RE: CleanSubs - by User 325245 - 2016-07-22, 08:20
RE: CleanSubs - by misa - 2016-07-22, 08:21
RE: CleanSubs - by User 325245 - 2016-07-22, 08:50
RE: CleanSubs - by Atreyu - 2016-07-22, 19:28
RE: CleanSubs - by mac1202 - 2016-07-22, 20:31
RE: CleanSubs - by User 325245 - 2016-07-22, 20:52
RE: CleanSubs - by mac1202 - 2016-07-22, 21:07
RE: CleanSubs - by User 325245 - 2016-07-22, 21:19
RE: CleanSubs - by mac1202 - 2016-07-22, 21:21
RE: CleanSubs - by User 325245 - 2016-07-22, 21:23
RE: CleanSubs - by User 325245 - 2016-07-22, 23:52
RE: CleanSubs - by User 325245 - 2016-07-24, 20:14
RE: CleanSubs - by mac1202 - 2016-07-25, 11:15
RE: CleanSubs - by User 325245 - 2016-07-25, 11:20
RE: CleanSubs - by User 325245 - 2016-07-26, 15:21
RE: CleanSubs - by User 325245 - 2016-09-15, 15:41
RE: CleanSubs - by schumi2004 - 2016-09-15, 18:22
RE: CleanSubs - by User 325245 - 2016-09-19, 19:42
RE: CleanSubs - by Atreyu - 2016-09-19, 21:09
RE: CleanSubs - by User 325245 - 2016-09-19, 23:01
RE: CleanSubs - by User 325245 - 2016-09-20, 09:43
RE: CleanSubs - by Fail$tyle420 - 2016-09-20, 21:59
RE: CleanSubs - by User 325245 - 2016-09-20, 22:06
RE: CleanSubs - by Fail$tyle420 - 2016-09-21, 08:26
RE: CleanSubs - by User 325245 - 2016-09-21, 10:51
RE: CleanSubs - by User 325245 - 2016-09-24, 12:43
RE: CleanSubs - by Fail$tyle420 - 2016-09-24, 17:50
RE: CleanSubs - by Fail$tyle420 - 2016-09-27, 01:31
RE: CleanSubs - by User 325245 - 2016-09-27, 11:18
RE: CleanSubs - by Fail$tyle420 - 2016-09-27, 02:34
RE: CleanSubs - by User 325245 - 2016-09-27, 14:58
RE: CleanSubs - by Fail$tyle420 - 2016-09-27, 17:23
RE: CleanSubs - by User 325245 - 2016-09-27, 21:07
RE: CleanSubs - by User 325245 - 2016-09-27, 22:55
RE: CleanSubs - by Fail$tyle420 - 2016-09-28, 00:36
RE: CleanSubs - by User 325245 - 2016-09-28, 11:52
RE: CleanSubs - by Fail$tyle420 - 2016-09-28, 18:49
RE: CleanSubs - by User 325245 - 2016-09-28, 20:53
RE: CleanSubs - by User 325245 - 2016-09-30, 15:23
RE: CleanSubs - by User 325245 - 2016-10-05, 14:50
RE: CleanSubs - by User 325245 - 2016-10-05, 19:48
RE: CleanSubs - by User 325245 - 2016-10-07, 13:33
RE: CleanSubs - by schumi2004 - 2016-10-07, 14:08
RE: CleanSubs - by User 325245 - 2016-10-24, 23:10
RE: CleanSubs - by User 325245 - 2016-11-03, 11:48
RE: CleanSubs - by User 325245 - 2016-11-12, 18:07
RE: CleanSubs - by dr.joaomarcelo - 2016-11-13, 06:46
RE: CleanSubs - by User 325245 - 2016-11-13, 14:30
RE: CleanSubs - by User 325245 - 2016-11-13, 23:20
RE: CleanSubs - by User 325245 - 2016-11-14, 11:13
RE: CleanSubs - by User 325245 - 2016-11-25, 19:11
RE: CleanSubs - by patrickdrd - 2016-11-27, 20:06
RE: CleanSubs - by User 325245 - 2016-11-27, 20:57
RE: CleanSubs - by patrickdrd - 2016-11-27, 21:05
RE: CleanSubs - by User 325245 - 2016-11-27, 21:16
RE: CleanSubs - by patrickdrd - 2016-11-27, 21:21
RE: CleanSubs - by patrickdrd - 2016-11-28, 12:25
RE: CleanSubs - by User 325245 - 2016-11-30, 22:33
RE: CleanSubs - by patrickdrd - 2016-11-30, 22:38
RE: CleanSubs - by User 325245 - 2016-11-30, 22:43
RE: CleanSubs - by incubus - 2016-12-01, 00:18
RE: CleanSubs - by User 325245 - 2016-12-01, 09:50
RE: CleanSubs - by incubus - 2016-12-01, 10:48
RE: CleanSubs - by schumi2004 - 2016-12-01, 12:17
RE: CleanSubs - by User 325245 - 2016-12-01, 20:33
RE: CleanSubs - by User 325245 - 2016-12-01, 20:45
RE: CleanSubs - by incubus - 2016-12-01, 23:21
RE: CleanSubs - by User 325245 - 2016-12-02, 18:04
RE: CleanSubs - by User 325245 - 2016-12-02, 00:26
RE: CleanSubs - by User 325245 - 2016-12-02, 19:00
RE: CleanSubs - by incubus - 2016-12-02, 19:03
RE: CleanSubs - by incubus - 2016-12-02, 19:02
RE: CleanSubs - by incubus - 2016-12-02, 21:49
RE: CleanSubs - by User 325245 - 2016-12-03, 13:34
RE: CleanSubs - by incubus - 2016-12-03, 21:03
RE: CleanSubs - by incubus - 2016-12-03, 22:08
RE: CleanSubs - by User 325245 - 2016-12-03, 22:53
RE: CleanSubs - by incubus - 2016-12-03, 23:04
RE: CleanSubs - by incubus - 2016-12-04, 16:14
RE: CleanSubs - by User 325245 - 2016-12-04, 18:36
RE: CleanSubs - by incubus - 2016-12-04, 18:54
RE: CleanSubs - by User 325245 - 2016-12-04, 19:02
RE: CleanSubs - by incubus - 2016-12-04, 19:27
RE: CleanSubs - by User 325245 - 2016-12-04, 19:40
RE: CleanSubs - by incubus - 2016-12-05, 13:07
RE: CleanSubs - by User 325245 - 2016-12-05, 13:21
RE: CleanSubs - by User 325245 - 2016-12-05, 15:58
RE: CleanSubs - by incubus - 2016-12-05, 17:22
RE: CleanSubs - by User 325245 - 2016-12-05, 18:25
RE: CleanSubs - by incubus - 2016-12-05, 18:32
RE: CleanSubs - by User 325245 - 2016-12-06, 14:53
RE: CleanSubs - by incubus - 2016-12-06, 15:12
RE: CleanSubs - by User 325245 - 2016-12-06, 19:23
RE: CleanSubs - by incubus - 2016-12-06, 21:35
RE: CleanSubs - by User 325245 - 2016-12-06, 23:17
RE: CleanSubs - by incubus - 2016-12-07, 01:19
RE: CleanSubs - by incubus - 2016-12-06, 21:47
RE: CleanSubs - by User 325245 - 2016-12-06, 22:34
RE: CleanSubs - by incubus - 2016-12-07, 01:09
RE: CleanSubs - by User 325245 - 2016-12-08, 09:52
RE: CleanSubs - by incubus - 2016-12-08, 14:59
RE: CleanSubs - by User 325245 - 2016-12-08, 12:15
RE: CleanSubs - by incubus - 2016-12-08, 21:37
RE: CleanSubs - by Talguy - 2016-12-09, 17:17
RE: CleanSubs - by User 325245 - 2016-12-09, 19:14
RE: CleanSubs - by incubus - 2016-12-09, 20:11
RE: CleanSubs - by User 325245 - 2016-12-09, 22:03
RE: CleanSubs - by User 325245 - 2016-12-10, 13:13
RE: CleanSubs - by User 325245 - 2016-12-11, 13:41
RE: CleanSubs - by incubus - 2016-12-11, 17:23
RE: CleanSubs - by User 325245 - 2016-12-11, 18:21
RE: CleanSubs - by incubus - 2016-12-11, 21:10
RE: CleanSubs - by User 325245 - 2016-12-11, 21:33
RE: CleanSubs - by incubus - 2016-12-12, 01:23
RE: CleanSubs - by User 325245 - 2016-12-12, 11:18
RE: CleanSubs - (Clean subtitles from the ads and other rubbish) - by HeresJohnny - 2020-05-09, 23:40
Logout Mark Read Team Forum Stats Members Help
CleanSubs - (Clean subtitles from the ads and other rubbish)2