Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    15

    cli commands on Radio

    Can someone give me a tip or hint where I can get more information about the cli-commands on the Radio?

  2. #2
    Quote Originally Posted by JM2009 View Post
    Can someone give me a tip or hint where I can get more information about the cli-commands on the Radio?
    In the Squeezebox Server web interface, click on Help, then Technical Information, then The Squeezebox Server Command Line Interface.
    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
    Where can i find info about the radio's specific cli commands? I think many commands like "show", "display" etc changed since the introduction of the full display. Is there any doc with the changes?

  4. #4
    Quote Originally Posted by mrMuppet View Post
    Where can i find info about the radio's specific cli commands? I think many commands like "show", "display" etc changed since the introduction of the full display. Is there any doc with the changes?
    I'm not aware of any. I expect some of the old commands will do next to nothing on the new gear like Radio and Touch. There's been a change in mindset at Logitech. The old gear was treated much more like dumb terminals, and plugins and CLI clients had more ability to completely control the hardware. The new gear is designed to be more autonomous, with more loosely federated households of players. I expect you'll just have to try things out. You might also want to file a ticket at bugs.slimdevices.com -- the API specs should clarify when commands behave differently on different Squeezeboxes.
    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

  5. #5
    At the moment i'm trying the button-command (CLI):

    following works on SB Radio:
    pause_single / pause / pause.single
    pause_hold / pause.hold
    pause_*
    muting
    power
    play / play_single
    rew / rew.single/ rew_single
    fwd / fwd.single
    fwd_release
    add_single
    sleep / snooze
    stop
    preset_1 / preset_1.single
    preset_2...
    preset_1.release
    ...
    shuffle
    shuffle_off
    shuffle_on
    repeat / repeat_single
    repeat_one
    repeat_all
    repeat
    repeat_off
    favorite_add


    If someone has an idea how to enter the context menu (more-button) please tell... thats what i'm really looking for at the moment! Whole menu-navigation would be cool!

    found another button-command;: zap (zapped songs playlist) - don't know what it is...

    and found some bugs:

    <PlayerID> button menu_pop - leads to a big error message in the log.
    [...] Here's the problem. /share/MD0_DATA/.qpkg/SSOTS/var/home/SqueezeboxServer/Slim/Buttons/ScreenSaver.pm, line 80: [...]

    I also tried the IR-command. But it worked only once. most timer nothing happens. can't find out whats wrong with it...
    Last edited by mrMuppet; 2010-01-07 at 16:38.

  6. #6
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,315
    Quote Originally Posted by mrMuppet View Post
    If someone has an idea how to enter the context menu (more-button) please tell... thats what i'm really looking for at the moment! Whole menu-navigation would be cool!
    I suspect all the menu and context menu navigation isn't supported through the CLI interface.

    You can talk to SBS and get back the contents of the context menu but I don't think you can actually get it to popup on the screen without also writing a third party applet in lua which is installed on the Radio/Touch/Controller. It should be possible to do with a third party applet but I'm not sure how much of the context menu logic you would have to re-implement as I'm not sure it's accessible from outside the standard browsing applet.

    Could you try to explain why you want to access the context menu and menu navigation ?
    Do you really want to open the context menu or do you just want to execute one of commands which are found inside it ?
    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.

  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    18,931

    cli commands on Radio

    > I suspect all the menu and context menu navigation isn't supported
    > through the CLI interface.


    It indeed isn't through the button command. Please file a bug. Button is limited to Boom/Classic (and older).

    IMHO the button command should be deprecated.

    --

    Michael

  8. #8
    Quote Originally Posted by erland View Post
    I suspect all the menu and context menu navigation isn't supported through the CLI interface.

    You can talk to SBS and get back the contents of the context menu but I don't think you can actually get it to popup on the screen without also writing a third party applet in lua which is installed on the Radio/Touch/Controller. It should be possible to do with a third party applet but I'm not sure how much of the context menu logic you would have to re-implement as I'm not sure it's accessible from outside the standard browsing applet.

    Could you try to explain why you want to access the context menu and menu navigation ?
    Do you really want to open the context menu or do you just want to execute one of commands which are found inside it ?
    Both... i would like to to make a one-button "Last-fm:i-love"-command, because <playerid> lfm rate L (love) didn't work for me.
    The other thing i would like to do is to start the flickr-bandphoto-show with one button only. But without the popup it will be hard to do. The best would be the flickr-screensaver but it shows only other photo-collections not the band-pics.

  9. #9
    Quote Originally Posted by mherger View Post
    MHO the button command should be deprecated.
    I hope you mean to say that you think the button command should only be supported on IP3K devices (or IP3k devices featuring IR receivers). Right?

    Having a button command as part of the IP3K IR processing chain is very useful for customizing the behavior through plugins. I'd hate to see it disappear.
    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

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    18,931

    cli commands on Radio

    >> MHO the button command should be deprecated.
    >
    > I hope you mean to say that you think the button command should only be
    > supported on IP3K devices (or IP3k devices featuring IR receivers).
    > Right?


    Yes. And that I wouldn't recommend using it for the obvious limitation.

    --

    Michael

Posting Permissions

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