Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35
  1. #11
    Junior Member
    Join Date
    Sep 2006
    Posts
    10

    fantastic

    This is great, I particularly appreciate the fact you added bash completion scripts!

  2. #12

    Updates available?

    Hello,
    I'm starting using the squeezy wrapper which seems really helpful.

    Has anybody improved it since the new version of Phill?
    (https://github.com/pssc/squeezy)

    It would be great to include controls of shuffle/repeat modes
    as well as add a play command (without arguments, to be sure it
    will restart playing if the player was stopped or in pause)...

    Cheers,
    V.

    PS I'd like also to ask if somebody could point me to use JSON correctly as I keep having this message:
    "JSON features not supported: JSON::RPC::Client not available...
    Trying to cope. at /usr/local/sbin/squeezy line 100."
    Last edited by virx71; 2014-01-03 at 10:33.

  3. #13
    Junior Member
    Join Date
    Jan 2014
    Posts
    3

    another newbie squeezy user

    I also just installed squeezy and run into the same error:
    JSON features not supported: JSON::RPC::Client not available

    I see it needs this perl module:
    JSON/RPC/Client.pm

    but I'm not clear yet how to do that...

  4. #14
    Junior Member
    Join Date
    Jan 2014
    Posts
    3

    next hurdle

    ...OK, got the first error down.
    Needed to install cpanp(lus), then could install "JSON::RPC::Client (0.93)"

    Now I get the error:
    Undefined subroutine &main::urnencode called at /usr/local/bin/squeezy line 1058, <GEN2> line 6.

    ... chop, chop

  5. #15
    Junior Member
    Join Date
    Jan 2014
    Posts
    3

    we're getting somewhere...

    Changed the type error 'urn' -> 'url'

    Code:
    send_command urlencode($player)." mixer volume $vol";


    But why is the volume query not working "-volume ?"
    and -- and ++ don't use the same step size.
    ...

  6. #16
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    599
    Quote Originally Posted by gadgetchris View Post
    Needed to install cpanp(lus), then could install "JSON::RPC::Client (0.93)"
    If your OS is using package management, you shouldn't use CPAN - install the pre-built package instead (e.g. libjson-rpc-perl for Debian)

    But why is the volume query not working "-volume ?"
    Define "not working"

    and -- and ++ don't use the same step size.
    They should (+/- 10). What makes you think they don't ?
    Try using -Louder and -Quieter. If they work as expected, it might be a cli quoting issue.
    [ extGUI4LMS - an alternative web interface: forum / homepage | music visualizer for squeezelite ] [ Howto: build a self-contained LMS | Howto: play Ogg Opus files ]

  7. #17
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,268
    Quote Originally Posted by Roland0 View Post
    If your OS is using package management, you shouldn't use CPAN - install the pre-built package instead (e.g. libjson-rpc-perl for Debian)
    +1.024´┐Ż
    Quote Originally Posted by Roland0 View Post
    Define "not working"
    They should (+/- 10). What makes you think they don't ?
    Try using -Louder and -Quieter. If they work as expected, it might be a cli quoting issue.
    Hi Roland noop -the "new" Version 0.21 had some issues.

    This is my output after some bugfixes (without these .21 just shows the middlefinger)

    root@pi:/src/squeezy# ./squeezy -pi -volume ?
    servers: :192.168.199.11:unkown, muzzigbox:uknown:192.168.199.11
    players: pi(192.168.199.11), muzzigbox(192.168.199.11), pi(192.168.199.11), muzzigbox(192.168.199.11)
    players: pi(muzzigbox), muzzigbox(muzzigbox), pi(muzzigbox), muzzigbox(muzzigbox), pi(muzzigbox), muzzigbox(muzzigbox)
    pi selected
    pi volume ?
    root@pi:/src/squeezy#
    This is the old Version
    root@pi:/src/squeezy# squeezy -pi -volume ?
    pi selected
    pi volume 62
    root@pi:/src/squeezy# squeezy -pi ++
    pi selected
    pi volume 75
    root@pi:/src/squeezy# squeezy -pi ++
    pi selected
    pi volume 88
    root@pi:/src/squeezy# squeezy -pi --
    pi selected
    pi volume 75
    root@pi:/src/squeezy# squeezy -pi --
    pi selected
    pi volume 62
    root@pi:/src/squeezy#
    At least these lines are false (all about the Volume)
    A missing LF
    #$play should still have a leading '/' here
    and the already known
    send_command urlencode($player)." mixer volume $vol";
    Thats my definition of a boombastic jazzstyle bug

    edit:
    one thing that might be working is "./squeezy -pi -prev" - but after that the cli doesnt come back unless you will press [ctrl] [c] - good old nc stuff never needs that much packages around and works better
    Last edited by DJanGo; 2014-01-07 at 13:30.

  8. #18
    Senior Member
    Join Date
    Dec 2007
    Location
    S.F. Bay Area
    Posts
    107
    This is very cool. I no longer have to find the Controller in order to set sleep for the bedroom duet. That alone is worth the price of admission.

    I'm not understanding the use of shortcuts.

    Does anyone have any examples of playing favorites, playlists or the Random Songs feature.

    Thanks,

    Randy G
    ----------------------------------------------------------
    Logitech Media Server Version: 7.7.5 - 1416570306
    OS: Debian - EN - utf8
    Platform: i686-linux
    Perl Version: 5.14.2 - i486-linux-gnu-thread-multi-64int
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
    Total Players Recognized: 4

    Squeezebox3:
    Firmware: 137

    Duet: (2 receivers, 1 controller)
    Firmware: 77

    Boom
    Firmware: 57
    ----------------------------------------------------------

  9. #19
    Senior Member
    Join Date
    Aug 2012
    Posts
    160

    squeezy - a command-line wrapper around the squeezeserver telnet/CLI

    [QUOTE=Roland0;767153]If your OS is using package management, you shouldn't use CPAN - install the pre-built package instead (e.g. libjson-rpc-perl for Debian) /QUOTE]

    Sorry to sound stupid but how does one install libjson-rpc-perl?

    Regards
    Simon
    Last edited by Simon_rb; 2014-03-20 at 18:30.

  10. #20
    Quote Originally Posted by Simon_rb View Post
    Sorry to sound stupid but how does one install libjson-rpc-perl?

    Regards
    Simon
    apt-get install libjson-rpc-perl

Posting Permissions

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