1
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by Defender -Well you probably can't suppress the preferences popup or close it automatically. You need to take steps to ensure that doesn't happen by switching devices or stopping playback before unplugging.This only happens (in my JS3 code) when the active output device is switched off. Nothing crashes, but a bit silly to have to click OK in the popup and restart playback. Minor issue of course.
The SMP code is different from what I want. That code can be set to automatically switch to the external output device without popup when it comes online and switches back to a prioritized other device when the external device goes offline (half of the times without the popup). There is a lot of code to resume playback (and prevent the popup?) after switching when the active device goes offline.
I do not want to switch to the external device automatically since that device can come online when somebody else as an example wants to stream from his phone to that particular external device.
However the SMP code has all the bits and pieces of the functionality to create what I'm looking for.
I'll do a post about this in the Device-Priority-SMP thread.