How can I delete all libraries at once?

Bjorn

Member
Is there an API command I can run to delete all libraries?

Use case for this is to be able to refresh libraries from a master computer to 2 other computers. So basically I want to be able to delete all of the libraries, then create them all again. The reason for this is because if I were to rename an already existing library in the scheduler command (makelibrary), it would create a new one but leave the old untouched. Then I'd have to manually delete the old library on each machine.

If I can find a way to send a blank push from one computer to another that would be ace!

Maybe there's a way to just find the file responsible for the libraries in the radioboss appdata folder and replace that file with the files on the other 2 machines? Open to another way of doing this :)
 
in the folder appdata/roaming/djsoft.net is a file called tracks this is the database file
Delete that file or rename it ( so you have a backup )
RadioBOSS will create a new database the next time it is started
 
Thanks @patrick.de-bruyn! The only issue is that RadioBOSS would need to close and open again... In an ideal world, there would be a way to bulk delete through event/API command without needing to close/open RB. So it could happen in the background while radioboss is playing for example
 
Use case for this is to be able to refresh libraries from a master computer to 2 other computers. So basically I want to be able to delete all of the libraries, then create them all again.
You can run the makelibrary comand but specify empty/non-existent folder as track source, it will effectively clear the contents of the music library.
If you want to "recreate" the library, it's even simpler, just run the makelibrary command and it will update the library (only tracks form the source folder you specify will remain there, everything else deleted).

To easily schedule library update, use Tools->Schedule library update menu command in the Music Library.
 
Back
Top