I'd like to create a playlist lock that's persistent across foobar sessions. The obvious way of doing this is to remember the index the lock is on at exit, and then restore the lock at init.
There are ways of that breaking though. For example, someone could uninstall the plguin for several sessions, change their playlists, and reinstall the plugin. Now the stored index is stale and may get installed on the wrong playlist.
Anyone have good ideas how to accomplish this more cleanly?
