Diet-Plex gets rid of all duplicate metadata entries in Plex. Leaving only the display cover and art intact while downsizing the PMS directories. It can do other cool stuff too!
Great for users with huge libraries.
A crazy bash script that deletes all duplicate metadata entries in Plex. Leaving only the display cover and art intact and downsizing the DB.
The script is optimized and aligned to work with MHA/PTS/PG systems. You can edit it to suit your needs.
It will unfortunately delete manually uploaded posters as those aren’t recognized by PMS to be default posters.
cd /path/ && git clone https://github.com/morganzero/diet-plex/
chmod +x /path/diet-plex/dietplex.sh
bash /path/diet-plex/dietplex.sh
The script will calculate the size of your database and then clean out all duplicate entries of metadata right away. When finished it will ask you to clean out additional weight from: ~/PhotoTranscode
, HAMA, and Synced items that perhaps you or your users have forgotten to remove yourselves.
Enjoy!
If you want to support me (does not equal development): or
A big thank you goes out to Ritualist for all the help. And also to Suspense for inspiring me to make one of my own.