How do I clear a music library of all albums/tracks?

I’ve found that if you plex dance an entire library contents the dance does not work. I think they have some built in logic to not delete everything if the entire library appears missing.

To get around this (as I’ve done this a few times) the best thing to do is pick one artist with one album and leave that in the library and then plex dance everything else. Do let plex do all its work including emptying trash and optimise of db as if the music library is big (I’ve 125k tracks) it can take some time to clean out of the db.

BTW… be aware. When doing this plex can change the guid=“plex://track/xxxx” for some tracks. This can be a pain if it changes for tracks you have rated, played and/or added to playlists. This even happens when using embedded metadata. Anyhow, just letting you know as its something I typically have to fixup afterwards in the db.

2 Likes