RadioDJ - Free Radio Automation Software Forum

Detect when rotation links to a cat or subcat that no longer exists


I create a rotation that linked to a category or subcategory, but later that cat or subcat was deleted.

when the rotation is loaded, i get a windows logs / application log error
Code: [Select]
"Subcategory ID: 41 cannot provide enough tracks to complete the rotation! (too large value for artist/track separation?) Rotation item was skipped!."


upon investigating subcat 41, i found that it has been deleted, and the rotation editor shows a blank row for that line item.




so technically, the error message is correct, but I would prefer an error message that says "your rotation is referencing a category or subcategory that does not exist in the database"

thank you

Re: Detect when rotation links to a cat or subcat that no longer exists
« Reply #1 on: September 07, 2018, 02:56:25 PM »
interesting, maybe referential integrity across playlists, rotations, events, etc, when deleting cats or kitties might be a nice warning system in the "pro" version.