Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1

    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    Junior Member
    Join Date
    Sep 2009
    Posts
    25
    Quote Originally Posted by Gerrelt View Post
    [...]
    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.

    Pino

  5. #5
    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:
    <some path>/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Control
    You can also find it with this command:
    Code:
    find / -name Queries.pm
    Now edit file "Queries.pm" and insert these lines after line 2348:
    Code:
    			$request->addResultLoop('players_loop', $cnt, 
    				'playerindex', $idx);
    For completeness: The lines should be after line 2348 "for my $eachclient (@players[$start..$end]) {", which is in function "sub _addPlayersLoop {" (see line 2339).

    Save the file, and restart your LMS server.
    Afterwards, the players should be available on your controller app (like Squeezer).

    Greetings,

    Gerrelt.
    Last edited by Gerrelt; 2016-11-20 at 07:43.

  6. #6
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,765

    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 ) or we would have heard more complaints but some others still might, too.
    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

  7. #7
    I agree, and I allready notified Michael, I am sure he will fix it.

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,479

    Problem with Latest Nightly andAndroid 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

  9. #9
    Quote Originally Posted by mherger View Post
    > 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.

  10. #10
    I've installed that version now too, and i can also confirm it's working.
    Thank you Michael for your fast response!

Posting Permissions

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