Some more information that might be helpful for others: after analyzing
a portion of my collection on the Ubuntu x86_64 machine, I proceeded to
installing libmusly and lmsmusly on my server, which is an Odroid U3
running max2play.

I used the compilation from source for libmusly (because it's a 32-bit
machine) which was pretty straightforward (the libmusly source code
README contains instructions for necessary dependencies).
Initially I just left the libs where they were installed by "sudo make
install" after compilation, which was "/usr/local/lib".

I then chose to use the source archive for lmsmusly.

First error on running lmsmusly.py was that it couldn't find libmusly.so
and libmusly_resample.so.

A recursive grep on the src sub directory leads to the following line:


Code:
--------------------
    ./lmsmusly/utils/config.py:MUSLY_LIB = "/opt/musly-0.2/lib/libmusly.so"
--------------------


So one can either change that variable value or put the lib into that
directory (as instructed on Roland's page). I chose the second option.

After that I got the same error for "libmusly_resample.so", although it
was also put into the directory mentioned above.

An run of


Code:
--------------------
    strace -o strace.log ./lmsmusly.py info
--------------------


and latter grep for "libmusly_resample.so" in that log file found that
neither "/usr/local/lib" nor "/opt/musly-0.2/lib" are used to search for
that lib. So as a dirty solution I put it into "/usr/lib".

After that I had to install python-requests via


Code:
--------------------
    sudo apt install python3-requests
--------------------


Then lmsmusly.py works from the command line. Great!

Next step will be to include it into LMS, will try this tomorrow.

Cheers,
Seb



"The only word I know is 'Grunt' - and I can't spell it" (R.I.P. D.A.)
------------------------------------------------------------------------
srasher's Profile: http://forums.slimdevices.com/member.php?userid=6209
View this thread: http://forums.slimdevices.com/showthread.php?t=108495

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to