crazydevman / mute-profanity

XBMC add-on used to mute profanity
GNU General Public License v3.0
33 stars 14 forks source link

Plugin in not working for blu ray movies even with srt and edl installed #26

Open luciuslue opened 9 years ago

luciuslue commented 9 years ago

Hey, Just want to say you create a great program!!!!!!

I have a number of dvds I uploaded to my Kodi and I used your program and it work very well. Very easy to use.

But I recently uploaded my 1080p blu ray movies and tried doing the same process and the movies will not mute the profanity as it does with my dvds. I checked my folder where I hold the information for my movies and I have the srt. and the edl for that movie installed. I replayed the movie and the subtitles are matching the movie but it seems like to edl is not blocking the profanity. This is not working in Guardians of the Galaxy and Transformers 4.

Any idea what might be going on? I would love to continue using your plugin !!!!! Also do you have a donation site up? Would love to support this good cause. Thanks!

crazydevman commented 9 years ago

Can you post a debug log file? See here: http://kodi.wiki/view/Log_file

luciuslue commented 9 years ago

Okay will do, and thanks for the quick response.

On Fri, Jul 17, 2015 at 12:06 PM, crazydevman notifications@github.com wrote:

Can you post a debug log file? See here: http://kodi.wiki/view/Log_file

— Reply to this email directly or view it on GitHub https://github.com/crazydevman/mute-profanity/issues/26#issuecomment-122328313 .

luciuslue commented 9 years ago

Here is the link. I believe I started your plugin on line 371. I am new to this so please let me know how I can help on this end. Thanks.

http://xbmclogs.com/p8nrzqoqo

luciuslue commented 9 years ago

From what I can see from the log. When I try to mute a new movie, the plugin tires to find the srt. , but it does not look for the srt for the new movie, it keeps replacing it with the teenage mutant ninja turtles srt, thus adopting its edl, which will not block any words in other movies being played. So I went to my file and deleted the srt and edl for TMNT, open Kodi back up to mute Star Trek Into Darkness, and it finally gave me the option to find the subtitles for this movie (Which it stop doing after I loaded several blu ray movies), thus producing the right edl. This fix the problem, but I don't know if it will occur again. Do you have a permanent fix in mind?

luciuslue commented 9 years ago

Still having issues with new movies taking on the previous srt and edl file, log says it is using these as back ups and are replacing them with another movie srt and edl.

Here is the new log link, where the movie Start Trek blocks words correctly, than I tried to mute Transformers 4, and it is taking on Start Trek srt and edl, even when I manually download the proper srt for Transformers 4.

Thanks again for your help.

http://xbmclogs.com/padexkoky

luciuslue commented 9 years ago

UPDATE: I looked more into what was causing the problem of new movies being muted for profanity due to taking on the previous movie str and edl, thus not allowing the proper srt and edl to be made for the correct movie file (I hope this is making sense). Anyway, I found that when I was able to properly mute a movie such as Star Trek In to Darkness, it created not 2 but 3 files: the srt. , edl, and a file named srt.mpbak . This file srt.mpbak was causing all of the new movies srt files to be back up with the Star Trek srt.mpbak file. Thus making both the srt and edl for the new movies subject to the file that is for Start Trek, thus not allowing the new movies to be properly muted.

So as a fix, I simply went into my folder that is holding these movies files, and I deleted the srt.mpbak file for Star Trek and now it is allowing me to mute another movie while keeping Start Trek fully muted of profanity. But Every time I mute a new movie, another srt.mpbak file is made under that movie name, and I have to repeat the deleting process.

This program is so great that I don't mind doing this over again. Is there anything you have found on your end.

Thanks again for your work.

crazydevman commented 9 years ago

@luciuslue, good find. My setup is each movie in a different folder, which doesn't have the same problem reusing the mpbak of some other movie. I can get a fix out, but I need to rethink some of my logic for finding the correct srt file, then test it in a few scenarios before I can get a fix out. Probably in a few weeks.