A couple of my plugins (AllQuiet, SyncOptions) use pushMode() & pushModeLeft() to force a player with VFD & IR to display information of my choosing and take over the button mappings -- much like an application window in a desktop OS "taking focus" from whatever app the user had been interacting with.
How can I do something similar for the SBC? E.G., with SyncOptions, if a user asks their Den SB3 to sync with their FamilyRoom SB3 with the web interface when FamilyRoom is mid-song and SyncOptions is set to "wait for next track", SyncOptions will take over the Den SB3's display to
1) tell the user that the Den SB3 is waiting for the next track on the FamilyRoom SB3
2) give the user the option of pressing a button on the Den IR remote to force mid-song sync, or restarting the current track
If the user does nothing, the SyncOptions info remains on the Den screen until the next track starts on FamilyRoom (at which point Den syncs with FamilyRoom and SyncOptions uses popModeRight() to free up the Den display).
I'd like to do something similar on the Controller. If a user wants to sync a player that the Controller manages with another player or sync group --no matter how the sync is requested (web, CLI, Controller)-- I want SyncOptions to take over the SBC display and offer similar options.
How can I do that?
Thanks,
Peter
Results 1 to 8 of 8
-
2008-01-22, 19:07 #1Senior Member
- Join Date
- Oct 2005
- Posts
- 2,768
taking over the SBC screen ala pushMode()?
http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
-
2008-09-13, 19:01 #2Senior Member
- Join Date
- Oct 2005
- Posts
- 2,768
...bump...
Anybody have any suggestions? This would also be useful for KitchenTimer -- push the Controller screen into countdown mode (maybe with BIG numbers) when a player's countdown timers are about to sound...
http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
-
2008-09-14, 11:09 #3
My attemps at using:
$client->showBriefly( { 'jive' => { 'text' => [ $message ], } }, {'duration' => $nDeferTime, 'block' => 0, } );
..haven't been very successful. Even with setting long durations and block => 1 ...I can't seem to get a message to "stick" on the SBC's screen for more than a few seconds.
Perhaps SqueezePlay needs a popups with enable/disable feature.
-
2008-09-14, 13:15 #4Senior Member
- Join Date
- Apr 2005
- Posts
- 6,979
taking over the SBC screen ala pushMode()?
I don't think any of the params (duration etc) are actually sent to SBC -
just the text in the jive component. It shows the message for a fixed 3
seconds if no new message arrives.
Hopefully Ben can confirm what the alternative mechanisms you should use
are - otherwise we need to extend show briefly to carry the duration field.
>
> My attemps at using:
>
> $client->showBriefly( { 'jive' => { 'text' => [ $message ], } },
> {'duration' => $nDeferTime, 'block' => 0, } );
>
>
> ..haven't been very successful. Even with setting long durations and
> block => 1 ...I can't seem to get a message to "stick" on the SBC's
> screen for more than a few seconds.
>
> Perhaps SqueezePlay needs a popups with enable/disable feature.
>
-
2008-09-23, 04:22 #5Senior Member
- Join Date
- Oct 2005
- Posts
- 2,768
So, is this simply not possible, having SC7 "take over" a Controller/SqueezePlay display? I know how to make toast with showBriefly(), but not how to commandeer the whole Jive display. :-/
http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
-
2009-10-04, 14:55 #6Senior Member
- Join Date
- Oct 2005
- Posts
- 2,768
<bump>
Anyone have any ideas?http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
-
2009-10-04, 22:12 #7
Do you want to do it without a custom lua applet ?
With a custom applet it should be possible because then it seems similar to what the alarm popup does.Erland Isaksson (My homepage)
(Developer of many plugins/applets (both free and commercial).
If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
You may also want to try my Android apps Squeeze Display and RSS Photo Show
Interested in the future of music streaming ? ickStream - A world of music at your fingertips.
-
2009-10-13, 11:15 #8Senior Member
- Join Date
- Oct 2005
- Posts
- 2,768
http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

Reply With Quote

