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

    Possible to set a macros to numbered buttons?

    Is it possible to create a macro and save it as a favourite to one of the numbered buttons?

    What I want to be able to do is press one of the buttons and get the radio to play the Ocean sound effect with sleep set to 30 minutes automatically rather than having to trawl through all the menus to set it up every night
    Squeezebox Boom - dining room
    Squeezebox Radio - bedroom
    Squeezeplay on a Joggler - kitchen

  2. #2
    If you're using Squeezebox Server, you can do that with my KidsPlay plugin; I just published an updated version supporting Radio last night. See the URL below. If you connect directly to MySqueezebox.com, then I think you're out of luck for now. I hope to write an applet for KidsPlay to make it work on MySB but have no timeframe for that yet.

    My SleepFade plugin also works with Radio if you want the sound to fade out over those ~30 minutes (same MySB limitation). :-)

    -Peter
    owner of the stuff at https://tuxreborn.netlify.com/
    (which used to reside at www.tux.org/~peterw/)
    Note: The best way to reach me is email or PM, as I don't spend much 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
    Hmm looks good, but complex. Any tips on creating the macro to do what I want?
    Squeezebox Boom - dining room
    Squeezebox Radio - bedroom
    Squeezeplay on a Joggler - kitchen

  4. #4
    Quote Originally Posted by furtive View Post
    Hmm looks good, but complex. Any tips on creating the macro to do what I want?
    The toughest part is finding the URL for what you want to play. Use the Web UI, navigate to My Apps > Sounds & Effects and click on the name of the effect you want. That's how I found the URL for Ocean Surf for this KidsPlay macro that will start playing Ocean Surf at volume 20, start the sleep timer, display a message telling you it's done so, and hopefully drop you into the Now Playing screensaver:

    power 1; stop; playlist clear; mixer volume 20; playlist play "loop://www.mysqueezebox.com/static/sounds/natural/ocean_surf.mp3"; sleep 1800; display "Sleeping in 30 minutes"; button home; button now_playing

    There's no Web or SqueezePlay/Radio interface for the SleepFade settings, but you could add a couple more commands to the macro to make sure SleepFade is set the way you'd like it. Edit: SleepFade now has a web UI for settings, so it is usable with all Squeezebox players.
    Last edited by peterw; 2009-11-09 at 16:49. Reason: note that SleepFade can now be configured with the web UI
    owner of the stuff at https://tuxreborn.netlify.com/
    (which used to reside at www.tux.org/~peterw/)
    Note: The best way to reach me is email or PM, as I don't spend much 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

  5. #5
    Member
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    31

    Brilliant!

    I've just tried this Kidsplay plugin - amazing!
    Imagination is the only limit now on what these preset buttons can do i think...
    Thanks a lot for providing this plugin.
    1x SB3 Classic, 1x SB Radio, 1x SB Boom, 1x Squeezebox 1 (not used atm), Squeezecommander for Android
    Squeezeboxserver 7.7.2 on P4@2.6GHz 3GB RAM, running Vortexbox 2.2 (Fedora16)
    48k library, clear and rescan ~40 min (mem use=high) on ramdisk

    My Music: http://last.fm/user/ghan64

Posting Permissions

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