l3uddz / plex_dupefinder

Find and delete duplicate files in Plex
GNU General Public License v3.0
304 stars 54 forks source link

Remove Subtitle(s) When Present with Duplicate Media #27

Open Escondido opened 4 years ago

Escondido commented 4 years ago

Let me start off by saying this script is AWESOME. Works perfectly!

One feature that would be great is to implement the ability to also delete any corresponding subtitle file(s), if present, when deleting the original duplicate media file.

Example.

/movies/this is a movie (2019) /this is a movie 2018 - 1080p.mkv /this is a movie 2018 - 1080p.en.srt /this is a movie 2018 - 1080p.eng.srt /this is a movie 2018 - 720.mkv <<<<<delete this file /this is a movie 2018 - 720.en.srt <<<<<delete this file /this is a movie 2018 - 720.eng.srt <<<<<delete this file