Net::UDAP - SqueezeBox Receiver configuration tool

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Robin Bowes

    Net::UDAP - SqueezeBox Receiver configuration tool

    Hi all,

    Net::UDAP is a Perl module to configure the SqueezeBox Receiver (SBR)
    from a PC, i.e. without requiring a SqueezeBox Controller (SBC).

    The project homepage is here:



    Net::UDAP was originally released in June 2008 and there have been no
    significant changes since then. However, I've recently updated the
    documentation so thought I'd post this announcement in case anyone tried
    it previously but got stuck for whatever reason.

    I've also fixed the registration system on the website so it is now
    possible to register, login, and create support tickets. You could even
    go completely crazy and add/improve the doucmenation by editing the wiki!

    Net::UDAP is free software, but allow me to draw your attention to my
    Paypal donnation link:





    Enjoy!

    R.

  • Peter
    Senior Member
    • Apr 2005
    • 1283

    #2
    Net::UDAP - SqueezeBox Receiver configuration tool

    Excellent work, Robin!
    I'll check it out.

    IMHO LogiTech should make a handsome donation for your good work (and
    work they should've been doing themselves).
    How about 5 free Duets for each of your kids?

    Regards,
    Peter

    Comment

    • Robin Bowes

      #3
      Net::UDAP - SqueezeBox Receiver configuration tool

      Peter wrote:
      > Excellent work, Robin!
      > I'll check it out.
      >
      > IMHO LogiTech should make a handsome donation for your good work (and
      > work they should've been doing themselves).
      > How about 5 free Duets for each of your kids?


      Oh, I get my rewards, direct and indirect.

      For example, I start a new perl coding job on Monday 12th essentially on
      the back of my Net::UDAP code.

      So, I'm fairly happy.

      That's not to say that I wouldn't welcome more recompense, financial or
      otherwise

      R.

      Comment

      • Peter
        Senior Member
        • Apr 2005
        • 1283

        #4
        Net::UDAP - SqueezeBox Receiver configuration tool

        Robin Bowes wrote:
        > Hi all,
        >
        > Net::UDAP is a Perl module to configure the SqueezeBox Receiver (SBR)
        > from a PC, i.e. without requiring a SqueezeBox Controller (SBC).
        >
        > The project homepage is here:
        >
        > http://projects.robinbowes.com/Net-UDAP
        >
        > Net::UDAP was originally released in June 2008 and there have been no
        > significant changes since then. However, I've recently updated the
        > documentation so thought I'd post this announcement in case anyone tried
        > it previously but got stuck for whatever reason.
        >


        I've 'compiled' this version with perlapp from the Activestate Perl PDK.
        The resulting executable is a probably bit easier to user for the average
        SB user. You can put it up on the Net-UDAP page if you want.



        Regards,
        Peter

        Comment

        • Robin Bowes

          #5
          Net::UDAP - SqueezeBox Receiver configuration tool

          Peter wrote:

          > I've 'compiled' this version with perlapp from the Activestate Perl PDK.
          > The resulting executable is a probably bit easier to user for the average
          > SB user. You can put it up on the Net-UDAP page if you want.
          >
          > http://slim2lirc.myown.mailcan.com/udap_shell_1_0_0.exe


          Thanks for this.

          Any idea about the licensing implications? i.e. is it freely distributable?

          R.

          Comment

          • Robin Bowes

            #6
            Net::UDAP - SqueezeBox Receiver configuration tool

            Robin Bowes wrote:
            > Peter wrote:
            >
            >> I've 'compiled' this version with perlapp from the Activestate Perl PDK.
            >> The resulting executable is a probably bit easier to user for the average
            >> SB user. You can put it up on the Net-UDAP page if you want.
            >>
            >> http://slim2lirc.myown.mailcan.com/udap_shell_1_0_0.exe

            >
            > Thanks for this.
            >
            > Any idea about the licensing implications? i.e. is it freely distributable?


            Hmmm, I get the variable "not initialised" msgs when I ran this the
            first time, but it was OK with code direct from the RELEASE_1.0.0 tag
            and also the second time I ran this executable. I wonder what causes that?

            R.

            Comment

            • Howard Passman
              Senior Member
              • Apr 2008
              • 1606

              #7
              Peter....

              Originally posted by peter
              Robin Bowes wrote:
              > Hi all,
              >
              > Net::UDAP is a Perl module to configure the SqueezeBox Receiver (SBR)
              > from a PC, i.e. without requiring a SqueezeBox Controller (SBC).
              >
              > The project homepage is here:
              >
              > http://projects.robinbowes.com/Net-UDAP
              >
              > Net::UDAP was originally released in June 2008 and there have been no
              > significant changes since then. However, I've recently updated the
              > documentation so thought I'd post this announcement in case anyone tried
              > it previously but got stuck for whatever reason.
              >


              I've 'compiled' this version with perlapp from the Activestate Perl PDK.
              The resulting executable is a probably bit easier to user for the average
              SB user. You can put it up on the Net-UDAP page if you want.



              Regards,
              Peter
              Hi Peter,

              I got your UI to work, but am not sure how to change parameters. I assumed "set" then the parameter name and then the value, but that wasn't it. Could you give us less technical folks a hint about how to change or set parameters.

              Also, it appears you have to reset the device to default in order to get in to it. If someone wanted to change one parameter is it possible for you to make is so we could "discover" a specific MAC address or ip?

              Thanks to you and Robin for all the work. My only comment is the folks that really need this (first time users of the SBR) probably won't be able to use the tool unless you come up with a much easier UI.

              Thanks,

              Howard

              Comment

              • Peter
                Senior Member
                • Apr 2005
                • 1283

                #8
                Net::UDAP - SqueezeBox Receiver configuration tool

                Robin Bowes wrote:
                > Peter wrote:
                >
                >
                >> I've 'compiled' this version with perlapp from the Activestate Perl PDK.
                >> The resulting executable is a probably bit easier to user for the average
                >> SB user. You can put it up on the Net-UDAP page if you want.
                >>
                >> http://slim2lirc.myown.mailcan.com/udap_shell_1_0_0.exe
                >>

                >
                > Thanks for this.
                >
                > Any idea about the licensing implications? i.e. is it freely distributable?
                >


                I have a license for the compiler, so I can distribute the executable.
                That means I can share it with anyone I want. That's fairly standard for
                compilers. Perlapp isn't really a compiler though. It bundles the Perl
                compiler and the libraries used inside the exe-package and unpacks it
                all before running. That's why you'll notice that the start up time is
                slower because of the unpacking.

                I know the Logitech guys use perlapp for packaging SqueezeCenter, so
                they could have packed it for you too. Even better, they could also make
                an OS-X executable.

                Regards,
                Peter

                Comment

                • Peter
                  Senior Member
                  • Apr 2005
                  • 1283

                  #9
                  Net::UDAP - SqueezeBox Receiver configuration tool

                  Howard Passman wrote:
                  > Hi Peter,
                  >
                  > I got your UI to work, but am not sure how to change parameters. I
                  > assumed "set" then the parameter name and then the value, but that
                  > wasn't it. Could you give us less technical folks a hint about how to
                  > change or set parameters.
                  >
                  > Also, it appears you have to reset the device to default in order to
                  > get in to it. If someone wanted to change one parameter is it possible
                  > for you to make is so we could "discover" a specific MAC address or ip?
                  >
                  > Thanks to you and Robin for all the work. My only comment is the folks
                  > that really need this (first time users of the SBR) probably won't be
                  > able to use the tool unless you come up with a much easier UI.
                  >


                  Howard,

                  I didn't create the UI, Robin deserves all credit for that. I just
                  compiled the program in an easily distributable Windows exe format. I
                  agree that the UI should (and could) be much easier. I could create a
                  Windows wizard myzelf (with the wxPerl library) but I really don't have
                  the time to spare. I also figure that this is really a task for the
                  Logitech guys. I don't understand how they get away with selling the SBR
                  as a separate product without providing a simple setup tool with it.
                  Open Source does not mean you let your users do all the work.

                  I can design one, though.
                  - Start the wizard
                  - A list of detected SBRs is displayed, select one
                  - Q: Ethernet or Wireless

                  Wireless:
                  WEP or WPA?
                  - Enter WEP/WPA key
                  - Enter SSID

                  Wireless/Ethernet:
                  DHCP or manual?
                  - Enter IP
                  - Enter netmask
                  - Enter gateway
                  - Enter squeezecenter server

                  - Save settings

                  That wasn't so hard
                  A few days work added to the stuff Robin already did.

                  Regards,
                  Peter


                  Comment

                  • Robin Bowes

                    #10
                    Net::UDAP - SqueezeBox Receiver configuration tool

                    Howard Passman wrote:
                    > peter;381812 Wrote:
                    >> Robin Bowes wrote:
                    >>> Hi all,
                    >>>
                    >>> Net::UDAP is a Perl module to configure the SqueezeBox Receiver (SBR)
                    >>> from a PC, i.e. without requiring a SqueezeBox Controller (SBC).
                    >>>
                    >>> The project homepage is here:
                    >>>
                    >>> http://projects.robinbowes.com/Net-UDAP
                    >>>
                    >>> Net::UDAP was originally released in June 2008 and there have been no
                    >>> significant changes since then. However, I've recently updated the
                    >>> documentation so thought I'd post this announcement in case anyone

                    >> tried
                    >>> it previously but got stuck for whatever reason.
                    >>>

                    >> I've 'compiled' this version with perlapp from the Activestate Perl
                    >> PDK.
                    >> The resulting executable is a probably bit easier to user for the
                    >> average
                    >> SB user. You can put it up on the Net-UDAP page if you want.
                    >>
                    >> http://slim2lirc.myown.mailcan.com/udap_shell_1_0_0.exe
                    >>
                    >> Regards,
                    >> Peter

                    >
                    > Hi Peter,
                    >
                    > I got your UI to work, but am not sure how to change parameters. I
                    > assumed "set" then the parameter name and then the value, but that
                    > wasn't it. Could you give us less technical folks a hint about how to
                    > change or set parameters.


                    Howard,

                    There's a guide here:



                    In a nutshell, you're right; setting/changing parameters is done, e.g.,
                    like this:

                    UDAP> discover
                    UDAP> list
                    # MAC Address Type Status
                    == ================= ========== ===============
                    1 00:04:20:16:05:8f squeezebox init
                    UDAP> configure 1
                    UDAP [1] (squeezebox 16058f)> set server_address=192.168.1.50
                    UDAP [1] (squeezebox 16058f)> save_data

                    > Also, it appears you have to reset the device to default in order to
                    > get in to it. If someone wanted to change one parameter is it possible
                    > for you to make is so we could "discover" a specific MAC address or ip?


                    You don't have to reset the device - just put it in init mode, i.e.
                    slow-blinking red LED.

                    > Thanks to you and Robin for all the work. My only comment is the folks
                    > that really need this (first time users of the SBR) probably won't be
                    > able to use the tool unless you come up with a much easier UI.


                    I initially started work on a SC plugin that does this - I ought to
                    re-visit it and get it finished. Spare time is the issue...

                    R.

                    Comment

                    • Robin Bowes

                      #11
                      Net::UDAP - SqueezeBox Receiver configuration tool

                      Peter wrote:
                      > I don't understand how they get away with selling the SBR
                      > as a separate product without providing a simple setup tool with it.
                      > Open Source does not mean you let your users do all the work.


                      The SBR is sold separately for users who require > 1 receiver with just
                      one controller, i.e. buy a duet + a separate SBR or two.

                      R.

                      Comment

                      • Michael Herger
                        Babelfish's Best Boy
                        • Apr 2005
                        • 24615

                        #12
                        Net::UDAP - SqueezeBox Receiver configuration tool

                        > I know the Logitech guys use perlapp for packaging SqueezeCenter, so
                        > they could have packed it for you too. Even better, they could also make
                        > an OS-X executable.


                        We only use PerlApp on Windows (so far). Shouldn't the script run on OSX'
                        perl installation?

                        Michael

                        Michael

                        "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                        (LMS: Settings/Information)

                        Comment

                        • Howard Passman
                          Senior Member
                          • Apr 2008
                          • 1606

                          #13
                          Thanks Robin...

                          Originally posted by Robin Bowes
                          Howard Passman wrote:
                          > peter;381812 Wrote:
                          >> Robin Bowes wrote:
                          >>> Hi all,
                          >>>
                          >>> Net::UDAP is a Perl module to configure the SqueezeBox Receiver (SBR)
                          >>> from a PC, i.e. without requiring a SqueezeBox Controller (SBC).
                          >>>
                          >>> The project homepage is here:
                          >>>
                          >>> http://projects.robinbowes.com/Net-UDAP
                          >>>
                          >>> Net::UDAP was originally released in June 2008 and there have been no
                          >>> significant changes since then. However, I've recently updated the
                          >>> documentation so thought I'd post this announcement in case anyone

                          >> tried
                          >>> it previously but got stuck for whatever reason.
                          >>>

                          >> I've 'compiled' this version with perlapp from the Activestate Perl
                          >> PDK.
                          >> The resulting executable is a probably bit easier to user for the
                          >> average
                          >> SB user. You can put it up on the Net-UDAP page if you want.
                          >>
                          >> http://slim2lirc.myown.mailcan.com/udap_shell_1_0_0.exe
                          >>
                          >> Regards,
                          >> Peter

                          >
                          > Hi Peter,
                          >
                          > I got your UI to work, but am not sure how to change parameters. I
                          > assumed "set" then the parameter name and then the value, but that
                          > wasn't it. Could you give us less technical folks a hint about how to
                          > change or set parameters.


                          Howard,

                          There's a guide here:



                          In a nutshell, you're right; setting/changing parameters is done, e.g.,
                          like this:

                          UDAP> discover
                          UDAP> list
                          # MAC Address Type Status
                          == ================= ========== ===============
                          1 00:04:20:16:05:8f squeezebox init
                          UDAP> configure 1
                          UDAP [1] (squeezebox 16058f)> set server_address=192.168.1.50
                          UDAP [1] (squeezebox 16058f)> save_data

                          > Also, it appears you have to reset the device to default in order to
                          > get in to it. If someone wanted to change one parameter is it possible
                          > for you to make is so we could "discover" a specific MAC address or ip?


                          You don't have to reset the device - just put it in init mode, i.e.
                          slow-blinking red LED.

                          > Thanks to you and Robin for all the work. My only comment is the folks
                          > that really need this (first time users of the SBR) probably won't be
                          > able to use the tool unless you come up with a much easier UI.


                          I initially started work on a SC plugin that does this - I ought to
                          re-visit it and get it finished. Spare time is the issue...

                          R.

                          Thanks Robin. The only comand line stuff I'm used to is Windows or CISCO so I used a space between the command and the parameter. I see I needed to use a =.

                          Thanks very much

                          Comment

                          • Howard Passman
                            Senior Member
                            • Apr 2008
                            • 1606

                            #14
                            Yeah but :-)

                            Originally posted by Robin Bowes
                            Peter wrote:
                            > I don't understand how they get away with selling the SBR
                            > as a separate product without providing a simple setup tool with it.
                            > Open Source does not mean you let your users do all the work.


                            The SBR is sold separately for users who require > 1 receiver with just
                            one controller, i.e. buy a duet + a separate SBR or two.

                            R.
                            When you read these forums the beginners who buy the DUET seem to have the biggest issue with getting the SBR set up. Logitech could eliminate a huge amount of bad feelings towards their SBR by creating a UI to set the network paramters. It's the only device out there that I know of that you need to set up this way. Even CISCO routers you can use command line, which I found easier than using the SBC. As a matter of fact I still do. Although I no longer have a problem setting up a SBR with the SBC, it still takes longer than an alternative way would. This is self evident by the fact I and others are messing with Robin's tool (stop the snickers) rather than using the provided routine. There is always an active thread calling for this exact item.

                            The SB line is fun, affordable and works pretty well, but all a competitor would need to do is make a few things easier and make parts and accessories avaliable and I think you'd see a drop in sales for Logitech. They (the manufacturer) seem to be pretty stubborn for someone dealing with the general public on an entertainment product. Just my take.

                            Howard

                            Comment

                            • Mnyb
                              Senior Member
                              • Feb 2006
                              • 16539

                              #15
                              I agree NET-UDAP is nedeed for the setup even if you have an SBC.

                              It is completely logical to have two independent setup procedures one for SBC and one for SBR as they are two separate machines. To make one depend on the other is a bizzare choice ?

                              The benchmarks is actually the SB2,3 classic so "they " know how to do it ;-)

                              a couple of clicks with the ir remote and you can change for example the dns settings.

                              But if I read my flood of bugmail corectly there is promising work going on.
                              to their credit they are doing something and actually listened to the users.
                              --------------------------------------------------------------------
                              Main hifi: Rasbery PI digi+ MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
                              Bedroom/Office: Boom
                              Loggia: Raspi hifiberry dac + Adams
                              Bathroom : Radio (with battery)
                              iPad with iPengHD & SqueezePad
                              (spares Touch, SB3, reciever ,controller )
                              server Intel NUC Esxi VM Linux mint 18 LMS 7.9.2

                              http://people.xiph.org/~xiphmont/demo/neil-young.html

                              Comment

                              Working...