Spotify on Hakai? (wired; headless)

A DIY digital music streamer with exceptional performance

Moderator: Staff

Post Reply
tokenbrit
Very active member
Very active member
Posts: 1049
Joined: 2012-03-22 19:47
Location: New England

Spotify on Hakai? (wired; headless)

Post by tokenbrit » 2020-03-22 16:06

(running headless Hakai on Debian, no desktop; connected over LAN)

Has anyone installed any Spotify client on their Hakai, and found a way to control it remotely, from WiFi to LAN?

I got mopidy-spotify installed and it connects to Spotify, as I can see my playlist, but I can't figure a way to control it remotely. I was expecting Spotify Connect to work, but mopidy/Hakai doesn't show up as an available device. From what I found via Spotify, Connect only connects over WiFi; apparently Spotify exclude LAN connections from Connect :(

Spotify do offer Spotify for Linux but that appears to expect/require a desktop, and I was looking to keep Hakai as headless, with as little OS footprint as possible. I'm not interested in Snakeoil as I want control over the config & system, but would like to know if / how anyone has got Spotify working over Ethernet, and what you use as a control point. Thanks.

OscarH
Active member
Active member
Posts: 152
Joined: 2019-03-14 10:57
Location: Exile on Dane St.

Re: Spotify on Hakai? (wired; headless)

Post by OscarH » 2020-03-22 20:52

Yes and no...

The Snakeoil OS Spotify Connect player works perfect. The streamer is cabled to the network and controlled via Spotify app on any mobile device.

The ‘no’ is that I never managed to get it to work on the actual Hakai. The gigabyte motherboards don’t allow onboard audio to be disabled in the BIOS, which at least in my case has resulted in the sound being sent to the headphone out.

I’m now using a dedicated Spotify streamer using an Intel DM2800MT motherboard which does let you disable onboard audio.

fatjulio
Active member
Active member
Posts: 111
Joined: 2012-01-13 23:22

Re: Spotify on Hakai? (wired; headless)

Post by fatjulio » 2020-03-22 21:55

You can alter the default audio device to be the Gigaport. I've done it before, but can't remember how. I did a google search to find how to.

jewa
Active Member
Active Member
Posts: 76
Joined: 2007-01-31 18:57

Re: Spotify on Hakai? (wired; headless)

Post by jewa » 2020-03-22 22:19

I had wrongly stated Mopidy in another thread but it should be 'spotifyd'.

https://github.com/Spotifyd/spotifyd

I have it setup so that HAKAI appears as a source/player in the Spotify app. Works perfectly!

tokenbrit
Very active member
Very active member
Posts: 1049
Joined: 2012-03-22 19:47
Location: New England

Re: Spotify on Hakai? (wired; headless)

Post by tokenbrit » 2020-03-23 00:57

jewa wrote:
2020-03-22 22:19
I had wrongly stated Mopidy in another thread but it should be 'spotifyd'.

https://github.com/Spotifyd/spotifyd

I have it setup so that HAKAI appears as a source/player in the Spotify app. Works perfectly!
Many thanks jewa - just wrapping up removal of mopidy & mopidy-spotify (the autoremove --purge isn't as complete & clean as I would have preferred)

I will try spotifyd tomorrow, and report back

tokenbrit
Very active member
Very active member
Posts: 1049
Joined: 2012-03-22 19:47
Location: New England

Re: Spotify on Hakai? (wired; headless)

Post by tokenbrit » 2020-03-23 21:24

Well, there are 2 options for spotifyd - guess who chose the 'wrong' one. Do not bother with snapcraft.io; snapd/spotifyd :/

Third time is a charm! If you want Spotify on Hakai (Debian) go to https://github.com/Spotifyd/spotifyd and work through the steps*... All I've done so far is unpack the slim tar.gz into a folder under $home, and start spotifyd as needed, but it works, and can be controlled from the Spotify Connect app on the phone - that was all I wanted, really :)

Later I'll work out how to register as a service & start at boot, if I choose to have it running all the time. For now, I will enjoy the rest of the 30 day free trial. Cheers.


* I loosely followed the Installing on a Raspberry Pi instructions under the Wiki tab

Post Reply