Native Spotify on SailfishOS (with Hutspot/Librespot)

This should normally show the Spotify Login page. If it just stays white with no text then there is most likely something wrong. Maybe close Hutspot and try it again? Are you properly connected to the internet?

Just did a fresh aarch64 install and all’s well. Which SFOS version of the 32 bit device

Depending on how old, it might be missing the webview ?

It is on 4.6. I installed a package for ssh before, which I can’t find anymore. Could this be the problem? That was because librespot complained about missing dependency

I had similar issue and followed this advice:

  1. Installed librespot 0.5.0
  2. Run librespot cache command as described in the link above
3 Likes

Thanks to advice of @pherjung and @calinutzzz i also managed to get librespot working with hutspot, thanks a lot!
From Time to time Librespot doesn’t start when opening Hutspot and I have to start it from Terminal with:
systemctl --user start librespot

1 Like

You don’t have to use the terminal for this, you can do it within Hutspot on the Devices page with the pull-down menu

3 Likes

Thanks for the hint, i looked again on device page and tried around both with the pull-down and the pull-up menu, but these actions don’t start librespot. My impression is, that i have to restart librespot from terminal each time i went from wlan to mobile data and vice versa.

Try disabling Sandboxing for hutspot. In my case it is preventing hutspot from starting librespot. Edit
/usr/share/applications/hutspot.desktop. At the end of the file put the following:

[X-Sailjail]
Sandboxing=Disabled
2 Likes

For me, I have no problems when switching networks. The only thing is, that Librespot doesn’t start automatically the first time I open Hutspot after a reboot. So what I do then is, I use the pull-down menu and select “Stop Librespot”. Then I do the same with “Start Librespot”. Then, you need to wait a short time or maybe refresh the devices list and then Librespot appears

1 Like

Thanks to you both!
After disabling sailjail, Librespot is startet when opening Hutspot and the “Start/Stop Librespot” option shows up in pulley menu (before, there was none).

2 Likes

is the version with the new webview somewhere available for 32 bit? In chum I can find the package but it’s not possible to install (I guess due to wrong architecture)

I’m not really sure. The ‘older’ Webviews were deprecated after version 4.4, but that has nothing to do with it not being installable. In any case, hutspot is built for all arches from 4.0.1.48 to 4.6. Are you still getting a ‘white screen’ with an installed hutspot?

Yes, dtill only whitescreen

Since we now not only have questions about aarch64 here but general questions on native Spotify, I decided to rename the topic

3 Likes

Podcasts seam to be a blind spot in Hutspot or am i missing something? Has anyone found a way how to search and find Podcasts?

The only way I have managed to play podcasts is to create a playlist out of them externally in the spotify web client and play it from hutspot.

2 Likes

I’ve updated librespot to 0.6.0 here Index of /obs/home:/b100dian:/rust-packages/sailfish_latest_aarch64/aarch64

(As before, 32-bit version doesn’t build…)

5 Likes

Does 0.6.0 still work for anyone?

The next version Release v0.7.0 · librespot-org/librespot · GitHub unfortunately needs rust 1.85 and we’re at 1.75 if I’m not mistaking.

I’ve just compiled librespot 0.6.0 myself and indeed it does not work anymore in combination with Hutspot. It cannot play any songs (it tries to but quickly stops again), giving errors in the terminal with something like „Unknown context“ or „Track not playabke“ or something like that

If I remember correctly, Rust 1.85 is already in the works from Jolla.
But I might be wrong