Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    jvromans@squirrel.nl
    Guest

    LMS on rtd1296 (aarm64)

    Hi,

    I'm trying to set up Logitech Media Server Version: 7.9.1 - 1513951369 @
    Fri Dec 22 15:04:50 UTC 2017 on my new NAS, a Synology DS418.

    The DS418 has a RTD1296 SoC, which classifies as aarch64-linux. It
    runs Perl 5.24. Support for this architecture is included in the nightly
    build, so far, so good.

    Problem is Spotty. The Spotify helper application is not available for
    this architecture. May I hope this is a "not yet"? Does anyone know the
    status of the spotify helper for aarch64?

    -- Johan

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,986

    LMS on rtd1296 (aarm64)

    > Problem is Spotty. The Spotify helper application is not available for
    > this architecture. May I hope this is a "not yet"? Does anyone know the
    > status of the spotify helper for aarch64?


    Is the helper not found or does it not work? I have a Rock64 which does
    run the spotty-muslhf from the arm-linux folder just fine. What happens
    if you try to run it from a shell?

    --

    Michael

  3. #3
    jvromans@squirrel.nl
    Guest

    LMS on rtd1296 (aarm64)

    On Mon, 25 Dec 2017 22:40:39 +0100, Michael Herger <slim (AT) herger (DOT) net> wrote:

    > Is the helper not found or does it not work?


    Both...

    > What happens if you try to run it from a shell?



    # ls -l
    total 8456
    -rwxr-xr-x 1 admin users 3033876 Dec 4 14:09 spotty
    -rwxr-xr-x 1 admin users 2790588 Dec 4 14:12 spotty-hf
    -rwxr-xr-x 1 admin users 2829968 Dec 4 14:33 spotty-muslhf
    # ./spotty
    -ash: ./spotty: No such file or directory
    # ./spotty-hf
    -ash: ./spotty-hf: No such file or directory
    # ./spotty-muslhf
    Illegal instruction (core dumped)


    -- Johan

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,986

    LMS on rtd1296 (aarm64)

    Would you know what glibc (ldd --version) your NAS is using? I can try
    to build on the Rock64. But it's on a fairly recent glibc 2.24, which
    can cause problems if yours is older.
    --

    Michael

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,986

    LMS on rtd1296 (aarm64)

    Hi Johan,

    please give this test build a try:
    http://www.herger.net/slim-plugins/spotty-aarm64.tgz

    --

    Michael

  6. #6
    jvromans@squirrel.nl
    Guest

    LMS on rtd1296 (aarm64)

    On Tue, 26 Dec 2017 07:50:13 +0100, Michael Herger <slim (AT) herger (DOT) net> wrote:

    > please give this test build a try:
    > http://www.herger.net/slim-plugins/spotty-aarm64.tgz


    Whatever you did, you nailed it!!!!

    For the sake of neatness, what would be the best place/name to install it?

    I now put it over the old one
    Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux/spotty-muslhf
    but I'd say
    Cache/InstalledPlugins/Plugins/Spotty/Bin/aarch64-linux/spotty
    would be a better place. Will the plugin pick it up there?

    Thanks a lot!

  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,986

    LMS on rtd1296 (aarm64)

    >> http://www.herger.net/slim-plugins/spotty-aarm64.tgz
    >
    > Whatever you did, you nailed it!!!!


    Well, I did compile it for the aarm64 platform :-). I tried the arm(hf)
    build on the Rock64 running Debian, and it did work. But maybe there's
    some compatibility layer which is missing from your NAS. So I built a
    binary on the Rock64 itself.

    > For the sake of neatness, what would be the best place/name to install it?


    Don't put it in the cache folder, as it will be lost on the next plugin
    update. Check Settings/Information for where LMS is looking for its
    binaries. Pick one which is outside LMS' own folders, make sure it's
    called spotty-custom, and Spotty would pick this over the others. It's
    always first looking for a spotty-custom for this very use case.

    I might whip up a small plugin for this platform a little later. That
    would take care of putting it in the right place.

    --

    Michael

  8. #8
    jvromans@squirrel.nl
    Guest

    LMS on rtd1296 (aarm64)

    On Tue, 26 Dec 2017 12:19:46 +0100, Michael Herger <slim (AT) herger (DOT) net> wrote:

    > Don't put it in the cache folder, as it will be lost on the next plugin
    > update. Check Settings/Information for where LMS is looking for its
    > binaries. Pick one which is outside LMS' own folders, make sure it's
    > called spotty-custom, and Spotty would pick this over the others. It's
    > always first looking for a spotty-custom for this very use case.


    That would make /usr/local/bin a good candidate.

    > I might whip up a small plugin for this platform a little later. That
    > would take care of putting it in the right place.


    In an aarch64-linux subdirectory of Bin, I assume.

    Thanks for the good work, you really made my day!

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,986

    LMS on rtd1296 (aarm64)

    >> I might whip up a small plugin for this platform a little later. That
    >> would take care of putting it in the right place.

    >
    > In an aarch64-linux subdirectory of Bin, I assume.


    I've released a "Spotty AARCH64 Helper Binary" plugin. Could you please
    give it a try?

    The plugin doesn't really add any code to LMS, but makes sure Spotty
    would find this particular spotty helper application without the need to
    manually copy it to /usr/local/bin (or wherever)

    --

    Michael

  10. #10
    jvromans@squirrel.nl
    Guest

    LMS on rtd1296 (aarm64)

    On Wed, 27 Dec 2017 09:39:32 +0100, Michael Herger <slim (AT) herger (DOT) net> wrote:

    > I've released a "Spotty AARCH64 Helper Binary" plugin. Could you please
    > give it a try?


    I am currently in the process of bringing the new NAS into production, so I
    will try ASAP.

    But why not just add the aarch64 binary to an aarch64-linux folder and add
    this folder to the helper path?

Posting Permissions

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