Release CleanSubs - (Clean subtitles from the ads and other rubbish)
#1
Brick 
http://projects.lanik.org/KodiProject_CleanSubs.htm

CleanSubs addon


Are you using subtitles addons to download subtitles for your movies? Then you must know that all subs from opensubtitles and other sites have various "signatures' like "Downloaded from..." or "Translated by", or much worse "Support us by voting..." etc etc. After a while it gets kinda annoying. Especially since some of the subs stay on screen for a long period of time.

I thought there must be a way to do something about this - so I wrote this addon. What it does is - parses the downloaded subtitles and removes the lines with advertizements or signatures etc. Then it displays the overlay for a few seconds confirming the cleaning was done.

How it works? I will get a bit technical here - but just a bit. This service waits for the subtitles to be downloaded, it is monitoring temp folder for any changes in srt files (for the time being it works only with srt subs, not with sub - but I might add that) and then it "cleans" the subs file, and tells the player to use this new, cleaned file. Ofcourse, this would not work without some kind of "definitions" - just like antivirus software has signatures - this addon uses the definitions file to detect various unwanted strings.

For the time being, I set it up pretty good for Serbian, Croatian and Czech, and there are definitions in English, German, Portugeese, Slovak, Polish, French, Hungarian. So, if you want to use this addon, you need to add lines that need to be removed to this definitions. Now, the definitions are downloaded automatically on KODI start from my web. That means all definitions need to be added to this one central place. So if you want to use this, send me the lines you want to add to the definitions - this way all users benefit from your work.

New version works also from programs, and 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"

In order to install it, first install my REPO: Lanik Repo

Then install add-on, no configuration needed.

This should work on all platforms. Any comments welcome.

Image

Image



Donate Here

Image
Reply


Messages In This Thread
CleanSubs - (Clean subtitles from the ads and other rubbish) - by User 325245 - 2016-07-21, 10:19
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
Logout Mark Read Team Forum Stats Members Help
CleanSubs - (Clean subtitles from the ads and other rubbish)2