Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1

    taking over the SBC screen ala pushMode()?

    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
    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

  2. #2

    ...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

  3. #3
    Senior Member gharris999's Avatar
    Join Date
    Apr 2005
    Location
    Santa Fe, NM
    Posts
    3,303
    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.

  4. #4
    Senior 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.
    >



  5. #5
    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

  6. #6
    <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

  7. #7
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,355
    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.

  8. #8
    Quote Originally Posted by erland View Post
    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.
    I'd prefer server/Perl (especially since there's no way yet to force/push an applet to a player), but I'm open to the idea of applet/Lua. Guess I'll look at the alarm screen code. Thanks.
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •