l3uddz / plex_dupefinder

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

Add music scan capacity #47

Open silkyclouds opened 4 years ago

silkyclouds commented 4 years ago

Hi there,

I would like to use plex dupefinder to cleanup my music library. I currently do have several versions of albums (like, sometimes, literally 4 or 5 version. of an album) and would like to remove all the lower bitrate versions.

I understand it is already possible in current state to score based on the files type mp3 (1000) vs. flac (2500). But is there any way to go a little further and to tell dupefinder to score the mp3/flac files based on their bitrate ?

Example :

mp3 128 kbit (100) mp3 192 kbit (200) mp3 (V0) (1000) flac 16bit (2000) flac 24 bit (3000)

Of course, as we are speaking about music albums, the structure is the following :

/album name folder/files.mp3 (or flac)

Therefore it would be good to analyze each item as an "album", meaning we would then analyze the content of each folder, and delete the music album entirely based on this analysis (and not each file independently).

this would help me a lot and I'm pretty sure other users would take benefit of this.

Can you please let me know if this is feasible ? As plexamp now allows to display the bitrate, I guess this information is stored somewhere in the plex library database.

Thanks !