Generic functions for playlist databases
Part of implementing linked tracks is redoing most of the work that went into user playlists. I think it would be helpful to create a set of "playlist database" functions that can be used by both types of playlists.
Deleting a branch is permanent. It CANNOT be undone. Continue?