Create a batch file (A text file with the extension of .bat)
Add the below script
After you save the script, just double click on the .bat file.
@echo off
set PlexDatabase=%UserProfile%\AppData\Local\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.db
set DeleteRottenReviews=delete FROM taggings WHERE extra_data LIKE ‘%%rotten%%’;
“C:\Apps\Plex Media Server\Plex Media Server.exe” -sqlite “%PlexDatabase%” “%DeleteRottenReviews%”
Right, let’s say someone was doing a refresh of a large library and not thinking (or understanding) then went and deleted this content. God knows what type of locks / errors / corruption… might happen.
I’d personally never adjust anything in the plex db while it’s live and online. Best to work offline IMO. Better safe than sorry.
The PhotoTranscoder is especially important to me as it grows unbounded and has massive amounts of duplicate files as proved in this thread Cache/PhotoTranscoder Folder Size Sanity Check