Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
I've made a change to Squeezer to sort the dropdownbox alphabetically and offered it to the github project. See also: http://forums.slimdevices.com/showthread.php?101898-Squeezer-open-source-Android-Squeezeserver-remote-control&p=870426&viewfull=1#post870426 Gerrelt's Profile: http://forums.slimdevices.com/member.php?userid=58186 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
@Muttley the +1 was about this being something that should be fixed in the UI, meaning Squeezer. The player list is returned by the server sorted by player IDs IIRC, if the web interface shows it differently it's probably sorting it. Sorting player lists is tricky, especially if you also want to show sync relationships because it can potentially change a lot in this case and everybody has a different idea of what's "correct". I've had requests for: - current player on top - sorted by id - sorted by name - sorted by player type - sorted by power state --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Agree that the squeezer bug list grows faster than it's fixed, but as you say, folks have lives too. I've noticed what you say, the list changes. It's always risky to make assumptions about the operation of APIs however. As a programmer, if you want a list from third party code to be sorted, you should do it yourself. It may well be that squeezer is sorting on another field anyway, and changes made to LMS API may have no effect.. however if someone wishes to try it out why not? drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
@DrMatt, I have observed that my list in squeezer does ocassionally change (without re-booting any of the connected devices, though they are set to reboot every 3 days running from crontab). FYI I have an LMS on my wired network and 4 off squeezelite players connected via wired or wireless links. I also hear what you say about an RFE to the UI maintainer, though I have found that they are not very responsive (they also probably have full time jobs and families ;-) ). I was thinking about this and basically agreed with the point you made ... right up to the moment I thought about the LMS control web page which is run from the web server for the LMS server and ALWAYS displays the list in a correctly sorted order. Thus this action is already being done and the information requested exists in one format at least and from the LMS server itself, though maybe in a slightly different subsystem. I also understand that Michael is maintaining someone else's code and it's basically a labour of honour (kudos to him) to support a community of people who find it a VERY useful and worthwhile effort. The project works as it is and thus thus is more of a 'niggle' than a fault. having said that I thought the point of these communities was to report all issues and the developers prioritise issues depending upon fault seriousness, usability impact (and of course time and money (mostly synonomous) available to undertake them). Given the fact that the function call to LMS seems to be handled via pearl and that there also seems to be a few members, who have more than my poor capability in that area, perhaps (as per the previous where Geralt and Austins68 submitted suggested code) some kind soul would proffer the same which could then be considered (not as an urgent priority) for review and inclusion in any subsequent version increment ? Meanwhile any user (for example me) who have now modd'd their Queries.pm file and feel reasonably confident to follow a cognocenti's instructions, could trial such mods, helping Michael with a mini Beta test group ;-) Thanks For Your Time Mutt @pippin, not quite sure who you were "me tooing" ;-) Muttley's Profile: http://forums.slimdevices.com/member.php?userid=64372 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
--- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
The list in squeezer should not change unless you have switched a unit completely off (power down). Anyway, this is the kind of thing I would say should be an rfe for the UI maintainer not the infrastructure maintainers. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Guys, I am very appreciative of the speed with which this issue has been dealt with ;-))) Using the LMS x.x.x.x:9000 web interface from a phone was a royal pain ! I use the Max2Play images and could not install over (for some reason). Though I didn't try a purge and then new apt-get - so maybe ... Anyway following Geralt's and Austins68 (identical suggested code alterations) My Squeezer is working again. The Queries.pm file resides at :- sudo nano /usr/share/perl5/Slim/Control/Queries.pm for these images Though, and I know this is cheeky, how could this mod be further changed to sort the list in alpha/numerical order ??? So it appears in Squeezer in a less random way ? I don't care if it's reverse order as long as it's a bit more consistent ;-) I know it's cheeky but ... if you don't ask ... ;-)) Thanks Regardless Muttley Muttley's Profile: http://forums.slimdevices.com/member.php?userid=64372 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
I've installed that version now too, and i can also confirm it's working. Thank you Michael for your fast response! Gerrelt's Profile: http://forums.slimdevices.com/member.php?userid=58186 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
mherger wrote: > > Now edit this file and add these lines after line 2348: > > > > Code: > > > > $request->addResultLoop('players_loop', $cnt, > > 'playerindex', $idx); > > Good catch! And I was sure I did compare before and after before > committing it. Oh well... > > I fixed the problem in git. Unfortunately our build system is showing > its age and has become rather unreliable. And as the previous maintainer > > has left the building years ago, and didn't leave any information about > > the license in any place we can find, we're currently struggling to even > > get the system up and running again. We're working on this. Hopefully > we'll have fixed builds, soon. > > -- > > Michael I've just installed LMS -7.9.0-1479666929 of 21 November and Squeezer can now see all players. Many thanks, Michael, for fixing so promptly. CloudAtlas's Profile: http://forums.slimdevices.com/member.php?userid=65221 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Now edit this file and add these lines after line 2348: Code: $request->addResultLoop('players_loop', $cnt, 'playerindex', $idx); Good catch! And I was sure I did compare before and after before committing it. Oh well... I fixed the problem in git. Unfortunately our build system is showing its age and has become rather unreliable. And as the previous maintainer has left the building years ago, and didn't leave any information about the license in any place we can find, we're currently struggling to even get the system up and running again. We're working on this. Hopefully we'll have fixed builds, soon. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
I agree, and I allready notified Michael, I am sure he will fix it. Gerrelt's Profile: http://forums.slimdevices.com/member.php?userid=58186 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
OK, you should probably still notify Michael or file a bug so that it gets fixed. Most apps probably don't rely on this playerindex (iPeng certainly doesn't ) but some still might. I think the change was probably accidental, what Michael was doing was adding the modelname and firmware fields upon my request since they can be found nowhere else in the CLI. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Woohoo, I just fixed it. I suddenly realised that the LMS server is (mainly?) written in Perl. And Perl is not compiled but interpeted. Which means the code can be changed after installing. To fix this issue you have to log in to your server and find file "Queries.pm". You will probably find it somewhere here: Code: /LogitechMediaServer/var/home/SqueezeboxServer/Slim/Control You can also find it with this command: Code: find / -name Queries.pm Now edit this file and add these lines after line 2348: Code: $request->addResultLoop('players_loop', $cnt, 'playerindex', $idx); Save the file, and restart your LMS server. Afterwards, the players should be available on your controller app (like Squeezer). Greetings, Gerrelt. Gerrelt's Profile: http://forums.slimdevices.com/member.php?userid=58186 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Gerrelt wrote: > > [...] > The build from 21 October doesn't have this change, so maybe that one > works. > I don't know if the previous nightly builds are available somewhere? > +1 Nigtly built 7.9.0~1479378558 19-Nov-2016 (running on Raspberry PI) has problems with Android Squeezer app. Vers 7.9.0~1477086729 16-Nov-2016 seems OK, it is available 'here' (http://downloads-origin.slimdevices.com/nightly/7.9/sc/). Pino pic's Profile: http://forums.slimdevices.com/member.php?userid=32949 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Hi Gerrelt - thanks for confirming that it's not just me. I did email the Squeezer developer after posting this thread but have not heard from him yet. Hopefully Michael with be able to make a change for the next release. CloudAtlas's Profile: http://forums.slimdevices.com/member.php?userid=65221 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Hi Cloudatlas, I encounter the same problem, I've installed the nightly build from 19 november. It works when using the LMS web management page, I can select players and start playing something. But both from the Squeezer app or the Squeeze Controller app I cannot select players. I have looked at the latest LMS code changes on githup, and there was a change in a function that returns a player list. A modelname and firmware was added and the code was refactored a bit (two pieces where merged together). There I see that formerly a "playerindex" was returned in this list, but now not anymore. Maybe that's the problem. The Squeeze app might expect a playerindex, and because the list doesn't contain it anymore it can't display the players for some reason. I will send a message to Michael and ask him if this might be the problem. The build from 21 October doesn't have this change, so maybe that one works. I don't know if the previous nightly builds are available somewhere? Greetings, Gerrelt. Gerrelt's Profile: http://forums.slimdevices.com/member.php?userid=58186 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Problem with Latest Nightly and Android Squeezer
Hi I recently upgraded LMS to 7.9.0-1479378558 of 19 November and since then I am having a strange problem with the Squeezer Android app. The app successfully detects my music library using 192.168.1.100:9090 as normal. I can browse the library content by all the categories (Artists, Albums, New Music etc.) but it cannot see either of my players (Duet & PiCoreplayer). I've tried disconnecting and reconnecting Squeezer, stopping and starting LMS but nothing works The problem immediately disappears when I install an older version of LMS (the version I re-installed was 7.9.0-1479378558) Any thoughts? Thanks P.S The Duet Contoller still works with the lastest nightly. CloudAtlas's Profile: http://forums.slimdevices.com/member.php?userid=65221 View this thread: http://forums.slimdevices.com/showthread.php?t=106475 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter