Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Spotify and Volumio

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
17 posts • Page 1 of 1
Author
Message
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

Spotify and Volumio

  • Quote

Post by blossa » Thu Dec 31, 2020 12:00 am

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: Select all

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
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Dec 31, 2020 12:13 am

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.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Dec 31, 2020 7:50 am

Reading around it seems to have spotify on arm system is to install spotifyd and then a alternative client like spotify-qt, spotify-tui or ncspot.

Reference https://archived.forum.manjaro.org/t/sp ... m64/152558
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Thu Dec 31, 2020 8:09 am

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. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Thu Dec 31, 2020 9:06 am

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. "
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Dec 31, 2020 9:27 am

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

  • Quote

Post by blossa » Thu Dec 31, 2020 10:54 am

fedeliallalinea wrote:Reading around it seems to have spotify on arm system is to install spotifyd and then a alternative client like spotify-qt, spotify-tui or ncspot.

Reference https://archived.forum.manjaro.org/t/sp ... m64/152558
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-sp ... pberry-pi/
QX9650, P5E64WS Pro, 4x1GB
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Dec 31, 2020 12:35 pm

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

  • Quote

Post by blossa » Thu Dec 31, 2020 12:45 pm

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
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Thu Dec 31, 2020 12:50 pm

blossa wrote:About the premium account.
...
I havnt searched much but a quick look shows it is possible to find for like 30USD...
Scam?:roll:
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. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Fri Jan 01, 2021 1:19 am

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. "
Top
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

  • Quote

Post by blossa » Fri Jan 01, 2021 12:01 pm

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?:roll:
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
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jan 01, 2021 5:35 pm

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.
Top
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

  • Quote

Post by blossa » Fri Jan 01, 2021 5:40 pm

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... :D :D

I have installed spotifyd now, but I cannot start it. I feel I have missed some step... Any suggestions?

Code: Select all

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
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jan 01, 2021 7:15 pm

Do you mean your topic Cant start home made ebuild, which currently has 2 responses?
Top
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

  • Quote

Post by blossa » Fri Jan 01, 2021 7:24 pm

Hu wrote:Do you mean your topic Cant start home made ebuild, which currently has 2 responses?
Yes, thank you!

When searching for 'blossa' that post did not show up.
QX9650, P5E64WS Pro, 4x1GB
Top
blossa
Apprentice
Apprentice
Posts: 169
Joined: Thu Jan 13, 2005 11:05 pm

  • Quote

Post by blossa » Mon Jan 04, 2021 7:54 pm

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: Select all

/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
Top
Post Reply
  • Print view

17 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic