PINE64
Spotify - work arround with librespot-java - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99)
+--- Thread: Spotify - work arround with librespot-java (/showthread.php?tid=8523)



Spotify - work arround with librespot-java - Helium75 - 12-08-2019

Good day everybody Smile

I tried to compile librespot for the rock64 unfortunately it throws me an error that it can't be compiled :


------------------
 = note: /tmp/cargo-installPJfUds/release/build/byteorder-e6b6a6b0fb32eb88/build_script_build-e6b6a6b0fb32eb88.build_script_build.d7wzi3u7-cgu.0.rcgu.o: file not recognized: File format not recognized
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `byteorder`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `librespot v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installPJfUds`
---------------


I haven't figured out would the problem might be (noob programmer, so to say). I also tried to install the raspberry binary which caused the system to overload - so that didn't work either.

Good news:
I found a project that ported the lib into java :

https://github.com/librespot-org/librespot-java
.... and it works (nearly) perfect. Just install java, set the option mixerSearchKeywords = "default" int the config.toml file .... that's it Smile

Enjoy

Helium