View previous topic :: View next topic |
Author |
Message |
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Thu Dec 31, 2020 12:00 am Post subject: Spotify and Volumio |
|
|
Hi, I have been away from Gentoo for maybe 10 years and now I try Gentoo on Raspberry Pi4. I want to use it as streamer (or what it is called).
I have tried to get Spotify to work, but I failed. This is the message I get after trying for a while
Code: |
pi64 //etc/portage/package.accept_keywords # spotify
/usr/bin/spotify: line 2: /opt/spotify/spotify-client/spotify: cannot execute binary file: Exec format error
/usr/bin/spotify: line 2: /opt/spotify/spotify-client/spotify: Success |
Any suggestion what to to? Please remeber I seemed to have forgot a lot...
Also, something new to me. I try to get Volumio installed. As I remember I need to make an ebuild. Is that correct way? If so, how to I do that? I have downloaded "something" from github, but it is not a tar ball. I tried git, but I am not sure I am doing correctly. There is also an image, but I am not sure ifr I can use it.
Regards, Anders from Sweden _________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22657
|
Posted: Thu Dec 31, 2020 12:13 am Post subject: |
|
|
Exec format error usually means that the binary is not of the correct format for the current system. As I read the ebuild for spotify, the prebuilt package is only available for amd64. Since a Raspberry Pi4 is not an amd64 machine, this package will not run natively on that system. You can try to run it through emulation, or you can obtain an equivalent package built for arm. Since Spotify does not publish their source code, this latter is likely difficult or impossible.
Yes, finding or creating an ebuild for Volumio would be preferable. I suggest opening a separate thread for that project. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31268 Location: here
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3860
|
Posted: Thu Dec 31, 2020 8:09 am Post subject: |
|
|
Alternatively to standalone app, free spotify has been working for a while here via its web interface, e.g. firefox.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3860
|
Posted: Thu Dec 31, 2020 9:06 am Post subject: |
|
|
fedeliallalinea wrote: | Reading around it seems to have spotify on arm system is to install spotifyd | Note spotifyd needs spotify premium account among other requirements.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31268 Location: here
|
Posted: Thu Dec 31, 2020 9:27 am Post subject: |
|
|
CaptainBlood wrote: | Note spotifyd needs spotify premium account among other requirements. |
Thanks for clarification, I don't use spotify and I missed this information. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Thu Dec 31, 2020 10:54 am Post subject: |
|
|
I am totally new to these streaming things... About Spotify I was thinking like this:
I have a speaker in the kitchen. When I run Spotify on my phone I can select to play the sound on that speaker. I dont touch the speaker, I do all from the Spotify app on phone.
I would like my Raspberry to act the same as my speaker in kitchen. From phone I want to play music on the raspberry. Do you know if the solution you advice above is something like that, or does it need me to SSH or something to the Raspberry to play music?
About the premium account. One thing for me to look into is to maybe find hardware for it (my speaker in the kitchen works even though I dont have premium account). I havnt searched much but a quick look shows it is possible to find for like 30USD. Then connect it to an input on the Raspberry.
EDIT:
Something like this:
https://www.maketecheasier.com/setup-spotify-connect-raspberry-pi/ _________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31268 Location: here
|
Posted: Thu Dec 31, 2020 12:35 pm Post subject: |
|
|
blossa, I'm no experience on that I thought you just wanted to install a client on arm64. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Thu Dec 31, 2020 12:45 pm Post subject: |
|
|
fedeliallalinea wrote: | blossa, I'm no experience on that I thought you just wanted to install a client on arm64. |
I also thought so. Hahaha I have no clue what to install to make it work as i want... I really thought i needed to install Spotify.
I will look into this new finding. _________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3860
|
Posted: Thu Dec 31, 2020 12:50 pm Post subject: |
|
|
blossa wrote: | About the premium account.
...
I havnt searched much but a quick look shows it is possible to find for like 30USD... | Scam?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3860
|
Posted: Fri Jan 01, 2021 1:19 am Post subject: |
|
|
CaptainBlood wrote: | Alternatively to standalone app, free spotify has been working for a while here via its web interface, e.g. firefox. | Maybe not, because current lack of 64 bit widewine binary: Phoronix.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Fri Jan 01, 2021 12:01 pm Post subject: |
|
|
CaptainBlood wrote: | blossa wrote: | About the premium account.
...
I havnt searched much but a quick look shows it is possible to find for like 30USD... | Scam?
Thks 4 ur attention, interest & support. |
No, the hardware I saw was with wifi and a simple DAC. Seems ok.
Maybe not really related, but I have a question about github. I was trying to download the source code from here:
https://github.com/Spotifyd/spotifyd/releases
At the top of that page it say it have been updated 73 times since the original release. Does the source code include those updates or do I need to find them elsewhere? _________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22657
|
Posted: Fri Jan 01, 2021 5:35 pm Post subject: |
|
|
There are no releases which contain those 73 commits. You would need to check out the unreleased branch to obtain them. You could also take the position that if those commits were important enough, then the developer would have made a new release, and therefore you can ignore them. |
|
Back to top |
|
|
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Fri Jan 01, 2021 5:40 pm Post subject: |
|
|
Hu wrote: | There are no releases which contain those 73 commits. You would need to check out the unreleased branch to obtain them. You could also take the position that if those commits were important enough, then the developer would have made a new release, and therefore you can ignore them. |
Ok, thanks for info!
I posted the question below in another part of the forum, but my post dissapeared. Too stupid question maybe...
I have installed spotifyd now, but I cannot start it. I feel I have missed some step... Any suggestions?
Code: | pi64 //etc # emerge --ask -D spotifyd
Local copy of remote index is up-to-date and will be used.
* Last emerge --sync was 87d 7h 48m 59s ago.
Local copy of remote index is up-to-date and will be used.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[binary R ] media-sound/spotifyd-0.2.24
Would you like to merge these packages? [Yes/No] Yes
>>> Emerging binary (1 of 1) media-sound/spotifyd-0.2.24::genpi64
>>> Installing (1 of 1) media-sound/spotifyd-0.2.24::genpi64
>>> Jobs: 1 of 1 complete Load avg: 0.65, 0.49, 0.82
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
pi64 //etc # env-update
>>> Regenerating /etc/ld.so.cache...
pi64 //etc # cd ..
pi64 // # source /etc/profile
pi64 // # spotifyd
-bash: spotifyd: command not found |
_________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22657
|
|
Back to top |
|
|
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Fri Jan 01, 2021 7:24 pm Post subject: |
|
|
Yes, thank you!
When searching for 'blossa' that post did not show up. _________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
blossa Apprentice
Joined: 13 Jan 2005 Posts: 169
|
Posted: Mon Jan 04, 2021 7:54 pm Post subject: |
|
|
Spotifyd install with cargo. Seem to work.
However, when I installed Gentoo i chosed to have static IP on the wlan. Now I want to change that address but I cannot find where i did that setting.... I feel I have looked thru all files mentioned where to set the IP, but I cannot find the file. Any suggestions about wich file it could have been? It does not seem to be any of those standard files...
EDIT:
I found the file.
Code: | /etc/NetworkManager/system-connections/MyWiFi-fixed-IP.nmconnection |
Now I start to think that maybe I should run DHCP on wifi but keep the static for eth0. Any suggestions how to make above mentioned file not to interfer and how to set up DHCP? It seems like the file mentioned above is written again at reboot
EDIT 2:
Ok, nmtui seem to work _________________ QX9650, P5E64WS Pro, 4x1GB |
|
Back to top |
|
|
|