Turn option pop-ups off

19 views
Skip to first unread message

John Shearhart

unread,
Apr 29, 2016, 2:05:26 PM4/29/16
to clean-editing-movie-player
Is there a way to turn off the option pop-ups or edit them out? 

1. "Sometimes subtitle files don't match precisely [...] Would you like to enter some information"
2. "Enter any extra words to search for"
3. "You may want to double check if the math worked out"
4. "Would you like to write out a synchronized, euphemized .srt"

I realize at least one of these was an option I selected at install, but I don't really want to reinstall. These were all very helpful in the beginning, but now I know what I'm doing and would like to avoid the extra clicks. Any way to do it? Thanks!

John Shearhart

unread,
Apr 29, 2016, 2:15:50 PM4/29/16
to clean-editing-movie-player
Also..."d***" by itself isn't particularly offensive to me, but g**d*** is.  I've found the line entry in the subtitle_profanity_finder file as this: 

bad_profanities = {'da' +
      'mn' => 'd...',

Is this how I change it to suit my preference?

bad_profanities = {'god' + 'da' +
      'mn' => 'g..d...',
      'godammit' => 'g..d.....',

John Shearhart

unread,
Apr 29, 2016, 2:31:00 PM4/29/16
to clean-editing-movie-player
For anyone who looks at this in the future: I did it wrong originally, and this is the right edit:

 bad_profanities = {'g' +
      111.chr + 
      100.chr +

John Shearhart

unread,
Apr 29, 2016, 2:47:44 PM4/29/16
to clean-editing-movie-player
I'm sorry if I'm posting here to much, and I'm happy to send questions elsewhere if need be...just point the right direction please. I'm fiddling with the subtitle_profanity_finder file, but I keep breaking it. I'm trying to remove a** as an offensive word, but I'd like "a**h*** and a**w*** to remain. Currently it looks like this:

 ((arse = 'a' +
      's'*2)) => ['a..', :full_word],
      arse + 'h' +
      'ole' => 'a..h...',
            arse + 'w' +
      'ipe' => 'a..w...',

Any idea how to set it? Thanks!

Roger Pack

unread,
May 3, 2016, 2:13:27 PM5/3/16
to clean-editing...@googlegroups.com
If you search for them in the ".rb" source files, you may be able to find where it's doing it.
This is the "ruby" programming language, so adding a
#
at the beginning of a line effectively "comments it out" so you see if you can do that :)

--
You received this message because you are subscribed to the Google Groups "clean-editing-movie-player" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clean-editing-movie...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Roger Pack

unread,
May 3, 2016, 2:16:13 PM5/3/16
to clean-editing...@googlegroups.com
On Fri, Apr 29, 2016 at 12:15 PM, John Shearhart <john.sh...@gmail.com> wrote:
Also..."d***" by itself isn't particularly offensive to me, but g**d*** is.  I've found the line entry in the subtitle_profanity_finder file as this: 


 
bad_profanities = {'da' +
      'mn' => 'd...',

That one you'd make into

bad_profanities = {
#'da' +
 #     'mn' => 'd...',

to remove that profanity


 

Is this how I change it to suit my preference?

bad_profanities = {'god' + 'da' +

Yeah that would probably work OK.
As you surmised it appears to just key off the presence of "da.." as indicating a profanity today.

Roger Pack

unread,
May 3, 2016, 2:18:25 PM5/3/16
to clean-editing...@googlegroups.com
It looks like it's "reusing" the arse word.

That's a tricky one.
I'd just comment out all of those lines and try and add in the bad ones you don't like just below it, spelled out in full.
HTH.
-roger-

John Shearhart

unread,
May 3, 2016, 3:21:12 PM5/3/16
to clean-editing...@googlegroups.com
I'll give it a look. Also, the euphamized SRT is a great option, but Kodi (my media player) fails to recognize those created by this program. The content and title look fine, and the original SRT works well. Any idea?
--

John Shearhart

Roger Pack

unread,
May 3, 2016, 3:26:38 PM5/3/16
to clean-editing...@googlegroups.com
Do you have to name them a certain way for Kodi to accept them or something?

John Shearhart

unread,
May 3, 2016, 4:29:13 PM5/3/16
to clean-editing...@googlegroups.com
I don't think so. I'll attach a sample.

John Shearhart

unread,
May 3, 2016, 4:32:47 PM5/3/16
to clean-editing...@googlegroups.com
--

John Shearhart

Back.to.the.Future.1985.1080p.Brrip.x264.Deceit.YIFY.edl
Back.to.the.Future.1985.1080p.Brrip.x264.Deceit.YIFY.srt

John Shearhart

unread,
May 3, 2016, 4:35:03 PM5/3/16
to clean-editing...@googlegroups.com
And here is the SRT created by Clean editor
--

John Shearhart

Back.to.the.Future.1985.1080p.Brrip.x264.Deceit.YIFY.euphemized.srt

John Shearhart

unread,
May 3, 2016, 4:54:45 PM5/3/16
to clean-editing...@googlegroups.com
Also...I'm looking for the sources in .rb files. Is it likely to be in "create.rb"? I've attached what I believe is the pertinent excerpt. I've tried putting # in various places before what I want removed, but either nothing happens or the program breaks.
--

John Shearhart

Excerpt from create.rb.txt

Roger Pack

unread,
May 4, 2016, 8:54:57 AM5/4/16
to clean-editing...@googlegroups.com
OK so the original "works" but the clean editor SRT doesn't I take it?

Roger Pack

unread,
May 4, 2016, 8:55:41 AM5/4/16
to clean-editing...@googlegroups.com
OK one work around might be to replace this:


    if show_select_buttons_prompt("Sometimes subtitle files' time signatures don't match precisely with the video.\nWould you like to enter some information to allow it to synchronize the timestamps?\n  (on the final pass you should do this, even if it already matches well, for future information' sake)") == :yes

with this:

if false

John Shearhart

unread,
May 4, 2016, 1:34:01 PM5/4/16
to clean-editing...@googlegroups.com
The "if false" solution worked for that one line. Awesome! I also removed all the text to get rid of "You may want to double check if the math..." and it worked. The only one I have left is the option to "add badwords", but it keeps breaking when I mess with it.

About the SRT files...yes, the original file works just fine. Then I elect to create a euphamized version, and it's just like there is no SRT at all. I've tried editing the file name to match the movie file's name, but it still doesn't work. 

Thanks again for all your help!

Steve Billingsley

unread,
May 4, 2016, 2:12:35 PM5/4/16
to clean-editing...@googlegroups.com
I've had issues in the past with other programs with faulty " characters in the code.  It may look like a " but its actually not the right character code (like a left " or right ", not a vertical "),  Just something you may want to check.

-Steve

John Shearhart

unread,
May 4, 2016, 2:13:06 PM5/4/16
to clean-editing-movie-player
I did it! I deleted:

got = get_user_input_with_persistence("enter any 'extra' words to search for, like badword1,badword2 if any", srt_filename + 'words', true)
 if got
   for entry in got.split(',')
     extra_profanity_hash[entry] = entry
   end
 end
and now I only get the euphamized SRT option at the end. I'll probably delete this too if I can't get it to work properly, but I'd rather use it if possible. 

Roger Pack

unread,
May 5, 2016, 9:53:19 AM5/5/16
to clean-editing...@googlegroups.com
They do seem slightly different don't they:

FH1002466:Downloads packrd$ head Back.to.the.Future.1985.1080p.Brrip.x264.Deceit.YIFY.euphemized.srt
1
01:31,55 --> 01:33,26
October is
inventory time,

2
01:33,34 --> 01:34,97
so right now,
Statler Toyota

FH1002466:Downloads packrd$ head Back.to.the.Future.1985.1080p.Brrip.x264.Deceit.YIFY.srt
1
00:01:31,550 --> 00:01:33,259
October is
inventory time,

2
00:01:33,343 --> 00:01:34,969
so right now,
Statler Toyota


Maybe try replacing the file
Back.to.the.Future.1985.1080p.Brrip.x264.Deceit.YIFY.euphemized.srt

with this (has bigger numbers) and see if anything shows up:

1
00:01:31,55 --> 00:01:33,26
October is
inventory time,

2
00:01:33,340 --> 00:01:34,970
so right now,
Statler Toyota

?


John Shearhart

unread,
May 5, 2016, 11:05:52 AM5/5/16
to clean-editing...@googlegroups.com
Yes; that fixes it. Any way to change it in the program? I'll sift around until I hear back and let you know if I find it.

Also, the file saves by default as .txt. Any way to change that to .edl?

John Shearhart

unread,
May 17, 2016, 2:26:48 PM5/17/16
to clean-editing-movie-player
Hi. I was just wondering if you'd had any more thoughts on why the euphemized srt's don't work. Also, do you want my edl's even though they're not for DVD? Thanks!


On Friday, April 29, 2016 at 1:05:26 PM UTC-5, John Shearhart wrote:

Roger Pack

unread,
May 25, 2016, 9:45:51 AM5/25/16
to clean-editing...@googlegroups.com
Yeah send the EDL's here (to this mailing list) may come in handy sometime, thank you!
-roger-

--

John Shearhart

unread,
May 25, 2016, 11:42:01 AM5/25/16
to clean-editing...@googlegroups.com
Thanks! The link is dead...I've included a screenshot. Here are a bunch of my edl files...not all of them, so let me know if they're what you need and I'll work on the rest. I should note I'm not as strict as some may be, so typically only the "major" words are removed.

Also, I've really got so much benefit from this program that I'm happy to contribute however else you need. I don't know ruby, but I can figure a lot of stuff out, and I can make as many edl's as you'd like. I don't even mind redoing all these so that all the words are included. Just tell me what you need.
2016-05-25_10-32-27.png
--

John Shearhart

EDL Files.rar

Roger Pack

unread,
May 27, 2016, 7:32:24 AM5/27/16
to clean-editing...@googlegroups.com

John Shearhart

unread,
May 27, 2016, 2:58:44 PM5/27/16
to clean-editing...@googlegroups.com
Thanks again! The SRT files work now, but the EDL is broken. I tried this on two different movies and got the same result. I've included a screenshot:2016-05-27_13-53-36.png
--

John Shearhart

Roger Pack

unread,
May 28, 2016, 2:24:57 AM5/28/16
to clean-editing...@googlegroups.com
what does it say when EDL is broken?

Message has been deleted

John Shearhart

unread,
May 28, 2016, 10:09:12 AM5/28/16
to clean-editing...@googlegroups.com
Ehh...sorry. I deleted my first response about "nothing" popping up. Just woke up and shouldn't have responded for another 2-3 minutes. :)

There is no message or anything. Everything seems fine (other than the jumbled EDL file you saw in the pic), but Kodi doesn't read it. There are no mutes while watching.

On Sat, May 28, 2016 at 9:02 AM John Shearhart <john.sh...@gmail.com> wrote:

It just won't open. Everything seems fine, but when the edl text should pop up...nothing.

--

John Shearhart

Reply all
Reply to author
Forward
0 new messages