crazydevman / mute-profanity

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

Fully automatic operation on video play #29

Open glenstewart opened 7 years ago

glenstewart commented 7 years ago

I have a large movie collection with many SRT files. For the first time today, I scanned some of them for foul language and was surprised how many could benefit from running this plugin. The problem is, why should I have to constantly manually re-run this plugin on the dozens of movies needing it, and whenever I add more movies to the collection?

I'm wondering if this plugin could be modified to run automatically when the Play action is requested in Kodi. Ideally, do a pre-scan of the SRT and summarize how many Expletives, Religious, Sexual, and Derogatory hits are in the SRT, then let the user decide if they want to apply the filter to the EDL before playing begins. Some entry should be made so this dialog doesn't appear again after the changes are made or declined.

It would be wise not to bulk-run this tool on my whole collection, as some of my programming has Religious content where the filtering is not wanted. That's why I proposed the on-demand (but otherwise automated) approach noted above.

This is a wonderful plugin, and thanks for taking the time to provide it!