Release - CleanSubs - (Clean subtitles from the ads and other rubbish)

  Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mac1202 Offline
Senior Member
Posts: 247
Joined: Aug 2014
Reputation: 4
Post: #16
Yeah I just tested it and work as you say.
I also had the definitions download error and had to manually create the userdata/addon_data/service.cleansubs/ folder and copy the cleanupstrings.txt file provided inside. Probably this should be automatically do by the addon.
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #17
Yes, it is done automatically in new version... I don't understand why it won't download definitions from my web... it works for me on 2 windows computers but not on 2 android devices....
find quote
mac1202 Offline
Senior Member
Posts: 247
Joined: Aug 2014
Reputation: 4
Post: #18
(2016-07-22 21:19)DaLanik Wrote:  Yes, it is done automatically in new version...
Isn't the 0.8 the last version ?

And one more thing after being cleaned some character stop being displayed for example the รป is replaced by in empty square in the cleaned version.
(This post was last modified: 2016-07-22 21:23 by mac1202.)
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #19
You'd have to send me the log - which language do you use? Right now I am testing for code pages 'utf-8', 'cp1250', 'cp1251', 'cp1252', 'cp1253', 'cp1254', 'cp1257'

D.
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #20
v0.9
- Complete change of logic, should be more reliable

v0.8
- Added option to turn off icon overlay notification upon cleaning subtitles
- updated definitions file in plugin
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #21
v1.0
- Added more definitions, added languages: Slovak, Polish, Hungarian
- Added heuristics cleanup which should be faster but also less thorough
- i.e. with definitions: removed 3 lines in 0.68 seconds, with heuristics: removed 3 lines in 0.08 seconds
- You can select to perform only definitions cleanup, heuristics cleanup or both
- Various small optimizations
find quote
mac1202 Offline
Senior Member
Posts: 247
Joined: Aug 2014
Reputation: 4
Post: #22
It's just me or the version 1.0 isn't working at all ?
The sub arent cleaned and there is no activity from the addon in the kodi.log.
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #23
Hmm, try restarting after updating the addon... it works over here. When you restart, try to run it and if it still doesn't work, please post the log....
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #24
v1.2
- Optimizations, bug fixes
- New overlay animation
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #25
v1.3
- Overall optimizations, better error checking/handling
- Added anonymous statistics collection for better heuristic analysis
- Optimized overlay animation
find quote
schumi2004 Offline
Posting Freak
Posts: 1,724
Joined: Aug 2011
Reputation: 20
Post: #26
For some reason it doesn't work as expected here. Will do a extensive test later this week en report back what i have found.
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #27
v1.4
- Added standalone instance to programs which can cleanup subtitles in video (movies) library
- small fixes

Anonymous statistics are now avaliable online (just basic stats, will be improving in time):

http://cleansub.heliohost.org/

The idea is that stats could help making plugin more efficient, i.e. know numbers of lines ads are appearing on so only these lines could be examined and cleaned, etc. it is not collecting any personal data, only MD5 of subtitle file and generated random ID (UUID)!! and of course lines it cleaned and patterns it used to clean with line number of cleaned line(s) in subtitle.
find quote
Atreyu Offline
Donor
Posts: 924
Joined: Sep 2015
Reputation: 22
Post: #28
Thank you for maintaining this.
I must say that the overlay notification, which I expected to use only to check if the routine runs, is very 'stylefully'* done

* Dunglish ;-)
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #29
Thanx - I had it there so I know it works Smile
find quote
DaLanik Offline
Fan
Posts: 705
Joined: Apr 2016
Reputation: 30
Location: Prague, CZ
Post: #30
How new option for clean library works: You can run it from programs, and it can clean up your entire library. It scans paths defined for video (movies) library, searches for all sub and srt files and cleans them. The original files are left there with suffix _ORIGINAL. I.e. if your file is named "Blade Runner_ser.srt" the cleaned file will take this name and original will be called "Blade Runner_ser.srt_ORIGINAL"
find quote
Post Reply