HydrogenAudio

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: snotlicker on 2021-05-14 13:22:57

Title: Quick question about making playlist_lock persistent across restarts
Post by: snotlicker on 2021-05-14 13:22:57
I've been dabbling with this and think I have it working by using playlist properties to save the flags used to create the lock and then applying them during on_init the next time fb2k starts. Is the right thing to do or can it be done earlier during init_stages_callback?

My (probably terrible) attempt at this is here....

https://github.com/marc2k3/foo_jscript_panel/commit/bfb1245e6d45fe06f2c9e69a064d2d462df4351c#diff-0d4e7a6540ae21e6633ab47e71b88c8c56e1b9da4663acc4d729b5e5eceef847
SimplePortal 1.0.0 RC1 © 2008-2021