Re: [slim] New configuration utility

2020-11-27 Thread bpa


Having upfgraded to Ubuntu 20.04 - I'm having pronelm with Net-UDAP so I
tried this utility but it too has prblems.


Code:


  xx:~/Downloads$ ./sbconfig-linux-amd64 
  The following network interfaces were found:
  [00] lo - 
  [01] enp3s0 - xx:xx:xx:46:08:03
  [02] wlx74da38a63977 - xx:xx:xx:xx:39:77
  Select interface to use [0]: 2
  panic: runtime error: index out of range [1] with length 1
  
  goroutine 1 [running]:
  encoding/binary.bigEndian.Uint16(...)
  /usr/lib/go-1.13/src/encoding/binary/binary.go:100
  github.com/jcrummy/gosqueeze.(*Sb).populateFields(0xcb78c8, 0xc848a0)
  /home/john/Source/gosqueeze/device.go:207 +0x30c
  github.com/jcrummy/gosqueeze.Discover.func1(0x58, 0xc84870, 0xc00012ac00, 
0x400, 0x400)
  /home/john/Source/gosqueeze/discover.go:46 +0x1c9
  
github.com/jcrummy/gosqueeze/internal/broadcast.BroadcastReceive(0xcdc380, 
0x4578, 0xc000136040, 0x1b, 0x20, 0xb2d05e00, 0xcb7ce0, 0x0, 0x0)
  /home/john/Source/gosqueeze/internal/broadcast/broadcast.go:71 +0x422
  github.com/jcrummy/gosqueeze.Discover(0xcdc380, 0xc846c0, 0x541e80, 
0x5a9000, 0x541340, 0x6b5de0)
  /home/john/Source/gosqueeze/discover.go:34 +0x167
  main.discover(0xcdc380)
  /home/john/Source/gosqueeze/cmd/sbconfig/discover.go:14 +0x40
  main.main()
  /home/john/Source/gosqueeze/cmd/sbconfig/main.go:15 +0x54
  xx:~/Downloads$ 
  
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-11-27 Thread Paul Webster


#Wiki so it is not forgotten

(why am I putting #Wiki in threads when the official Wiki is not being
updated ... well ... so that stuff that looks useful but is not in the
wiki can be found easily and could one day be put in the wiki should it
(or a rehomed version) ever re-open)



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-05-20 Thread audioMX


jcrummy wrote: 
> the_arm, it turned out to be a stupid typo mistake that I somehow
> missed. I've updated the binaries, so if you download now from the
> website, it should all work (if you haven't already got it working with
> the phone app).
> 
> Sorry about that, I should have caught that earlier!
> 
> John

Happens to all of us!



audioMX's Profile: http://forums.slimdevices.com/member.php?userid=70219
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-05-17 Thread jcrummy


the_arm, it turned out to be a stupid typo mistake that I somehow
missed. I've updated the binaries, so if you download now from the
website, it should all work (if you haven't already got it working with
the phone app).

Sorry about that, I should have caught that earlier!

John



jcrummy's Profile: http://forums.slimdevices.com/member.php?userid=69966
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-05-15 Thread the_arm


that is a good sign, then! If there's any specific tests you want me to
run on the mac side of things, I'm happy to help. This Duet is weird -
it doesn't seem to like DHCP, hence all the settings. I was able to get
it on my network with a static IP using the android udap configuration
utility found elsewhere, but I'm happy to test yours as well. Thank you!



the_arm's Profile: http://forums.slimdevices.com/member.php?userid=9891
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-05-14 Thread jcrummy


Hey, the_arm, this sounds to me like a bug in the utility, and not a
MacOS-specific issue. As far as working with MacOS, I was looking at it
more from the point of view of "this will either work, or not work at
all", so the fact that it at least somewhat works is a good sign!

I will take a look either tonight or tomorrow at this to see if I can
see what is up with that, and test it with my Duet Receiver here.

John



jcrummy's Profile: http://forums.slimdevices.com/member.php?userid=69966
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-05-14 Thread the_arm


Hi! I have a Duet Receiver that I picked up on ebay and was trying to
use this utility to configure it. I'm pretty amateur at configuring
these "the hard way". I do have a controller that is currently linked to
another receiver, so I can fall back to that solution if I need to, but
thought it'd be fun to try this out.

I'm using a mac (on Mojave) and you said you'd like feedback. 

The utility seems to be working to set the LanIPMode, LanSubnetMask and
SqueezeCenterAddress appropriately. But, when I've tried to set the
LanGateway it instead populates that value into LanSubnetMask - so I'm
unable to set LanGateway. 

I'm new at configuring this way, so perhaps I'm doing it wrong, but I
can successfully save the other values, but as soon as I set LanGateway
it instead populates LanSubnetMask.

Thanks!



the_arm's Profile: http://forums.slimdevices.com/member.php?userid=9891
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


Re: [slim] New configuration utility

2020-03-21 Thread Jeff07971


Thanks John

Tried Windows x64

Very useful !

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 8.0 VM on ESXi 6.5.0U3
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1.5K albums with 25K songs by 5K artists mostly FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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


[slim] New configuration utility

2020-03-21 Thread jcrummy


Hello,

I created a new configuration utility for myself for configuring my
Squeezebox Receivers and figured I should open it up to the community.

I had a couple of motivations to create this:
1. To have a programming project to learn with. I have been using Go for
a while, but have never really completed a full project to the point it
can be released. This was a perfect project to try this with.
2. In the past, I have always used Robin Bowes's excellent Net-UDAP Perl
project for configuration. Every time I use it, however, I have to
remember how to install Perl, get the CPAN dependencies, and run the
utility. I thought it would be great to have a single binary I can run
with no outside dependencies, which is something Go excels at.

The utility can be found at https://jcrummy.github.io/gosqueeze.

I've put binaries for Linux, Windows, and Mac, but I do caution that the
Mac binary hasn't actually been tested, so I'm curious of any feedback
from someone who uses it.

For now it works quite similarly to Net-UDAP, in that you need to
manually set whatever configuration parameters you need. I plan on
adding a 'wizard' interface that helps you through it so you don't have
to try and remember everything.

Let me know if anyone finds this useful. If you do run into problems,
you can always submit an issue on the GitHub project page at
https://github.com/jcrummy/gosqueeze.

-John



jcrummy's Profile: http://forums.slimdevices.com/member.php?userid=69966
View this thread: http://forums.slimdevices.com/showthread.php?t=111855

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