Re: [slim] Net::UDAP - SqueezeBox Receiver configuration tool

2021-09-27 Thread Thomas8675309


Hi, all.  Just used the UDAP tool for the first time in about four
years.  I wanted to post the steps I went thru (probably restating
what's in prior posts, including in wcndave's helpful post from last
year, which sadly I didn't see until after I figured out most of this)
to get everything working successfully.

Did this from a Debian system, but should also work from Ubuntu

# Download the tool

Code:

wget https://github.com/robinbowes/net-udap/archive/refs/heads/master.zip


# Extract code and cd into directory

Code:

unzip master.zip
  cd [unzipped directory]


# Make sure some necessary dependencies are satisfied

Code:

sudo apt install gcc make cpanminus
  sudo cpanm Log::StdLog
  sudo cpanm Term::Shell
  sudo cpanm Class::Accessor
  sudo cpanm IO::Interface::Simple


# Assign the receiver an address in the DHCP server (i.e., your
router).

# Powercycle the receiver, 
# then reset it by pressing and holding the front button for 5 seconds.
# Front light should flash red, showing it is in init mode.

# start udap

Code:

scripts/udap_shell.pl --local-address [receiver ip address you assigned]


# Have udap find the receiver

Code:

UDAP> discover
  UDAP> list


# Choose the receiver

Code:

UDAP> conf 1
  UDAP [1] (squeezebox ...)> list


# Set the necessary parameters, e.g.:

Code:

UDAP [1] (squeezebox ...)> set server_address=[Logitech Media Server ip 
address] 
  UDAP [1] (squeezebox ...)> set squeezecenter_address=[Logitech Media Server 
address again] 
  UDAP [1] (squeezebox ...)> set interface=1 # [for wired] 
  UDAP [1] (squeezebox ...)> set lan_ip_mode=1 # [to use DHCP]
  UDAP [1] (squeezebox ...)> set hostname=[DHCP hostname for the receiver]


# Confirm the data has changed.

Code:

UDAP [1] (squeezebox ...)> list


# Save the data and reset

Code:

UDAP [1] (squeezebox ...)> save_data
  UDAP [1] (squeezebox ...)> reset
  UDAP [1] (squeezebox ...)> quit
  UDAP> quit



Logitech Media Server should now list the receiver under the hostname
you set.

Best regards.

Tom

P.S. Thanks again to Robin for making this available.  Sending another
donation.



Thomas8675309's Profile: http://forums.slimdevices.com/member.php?userid=23271
View this thread: http://forums.slimdevices.com/showthread.php?t=57861

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] WiFi Disconnect Issue Call to Arms

2021-09-27 Thread pablolie


Definitely a very repeatable problem - I do also experience it. Luckily
my Radio is quite unimportant, and none of the other devices have the
issue.



...pablo
Server: Win10 and LMS 8.2.0
System: SB Touch --optical->- Benchmark DAC2HGC --AnalysisPlus Oval
Copper XLR->- NAD M22 Power Amp --AnalysisPlus Black Mesh Oval->- KEF
Reference 1
Other Rooms: 2x SB Boom; 1x SB Radio; 1x SB Classic-> NAD D7050 -> Totem
DreamCatcher + Velodyne Minivee Sub
Computer audio: workstation --USB->- audioengine D1 -> Grado RS1/Shure
1540

pablolie's Profile: http://forums.slimdevices.com/member.php?userid=3816
View this thread: http://forums.slimdevices.com/showthread.php?t=115183

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Shortcut for "Only rescan online library"

2021-09-27 Thread rlem


Works flawlessly, thanks a lot!



1x Classic / 2x Radio / 2x Receiver / 1x DAC32 / LMS 8.3.0 - 1630708871
on Docker / Ubuntu 18.04 LTS
http://www.last.fm/user/rndr

rlem's Profile: http://forums.slimdevices.com/member.php?userid=46931
View this thread: http://forums.slimdevices.com/showthread.php?t=115196

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Shortcut for "Only rescan online library"

2021-09-27 Thread cpd73


rlem wrote: 
> Hi all,
> 
> I use the very handy shortcut/link
> 'http://{LMS-IP}/settings/index.html?p0=rescan' (http://xxx) to trigger
> a rescan (with a custom Material JSON action).
> 
> But does anybody know how trigger a *Only rescan online library *
> action?
> These do nothing, unfortunately:
> >   >   > 
  - http://{LMS-IP}/settings/index.html?p0=rescanonlinelibrary
  - http://{LMS-IP}/settings/index.html?p0=onlinelibrary
  > > > 
> Thanks,
> Randy

Seeing as you are using a Material action, you could just call
Material's javascript:


Code:


  {
  "title":"Rescan online only",
  "script":"lmsCommand('', ['rescan', 'onlinelibrary']);",
  "icon":"link"
  }
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115196

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] Shortcut for "Only rescan online library"

2021-09-27 Thread rlem


Hi all,

I use the very handy shortcut/link
'http://{LMS-IP}/settings/index.html?p0=rescan' (http://xxx) to trigger
a rescan (with a custom Material JSON action).

But does anybody know how trigger a *Only rescan online library *
action?
These do nothing, unfortunately:

- http://{LMS-IP}/settings/index.html?p0=rescanonlinelibrary
- http://{LMS-IP}/settings/index.html?p0=onlinelibrary
  
Thanks,
Randy



1x Classic / 2x Radio / 2x Receiver / 1x DAC32 / LMS 8.3.0 - 1630708871
on Docker / Ubuntu 18.04 LTS
http://www.last.fm/user/rndr

rlem's Profile: http://forums.slimdevices.com/member.php?userid=46931
View this thread: http://forums.slimdevices.com/showthread.php?t=115196

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss