We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2018-07-23 21:28:23 +0200

another way to play spotify

Hi,

Since my sailfish phone (oneplus) has no android support and cutespot stopped working I have been looking for an alternative. The Spotify web-api is quit nice but the big hurdles to take are authentication and playing a track.

Using the web-api I have made an application called 'hutspot' that can browse and search albums/artists/playlists and you can control a player if it appears in Spotify's list. The app requires Spotify Premium. I have also build a package for Librespot, an open source Spotify client. It can turn your sailfish device into a Spotify player.

However authentication and playing a track still remain problematic. Authentication is done using a webview or the browser. Sometimes it works, sometimes it doesn't. And the Spotify authentication site does scale badly. In order to become visible in the list of devices Librespot must log in or an official spotify app must have controlled it recently. The same goes for all the other players you have.

If you are willing to give one of these a try:

  • hutspot: https://github.com/wdehoog/hutspot/wiki/Installation
  • hutspot screenshots: https://github.com/wdehoog/hutspot/tree/master/screenshots
  • librespot: https://github.com/wdehoog/hutspot/wiki/Librespot

Do note that:

  • Getting this working is not a great user experience and it will probably remain this way
  • I do not have much time nor motivation to provide support. I like to develop but please keep in mind it is a hobby.

another way to play spotify

Hi,

Since my sailfish phone (oneplus) has no android support and cutespot stopped working I have been looking for an alternative. The Spotify web-api is quit nice but the big hurdles to take are authentication and playing a track.

Using the web-api I have made an application called 'hutspot' that can browse and search albums/artists/playlists and you can control a player if it appears in Spotify's list. The app requires Spotify Premium. I have also build a package for Librespot, an open source Spotify client. It can turn your sailfish device into a Spotify player.

However authentication and playing a track still remain problematic. Authentication is done using a webview or the browser. Sometimes it works, sometimes it doesn't. And the Spotify authentication site does scale badly. In order to become visible in the list of devices Librespot must log in or an official spotify app must have controlled it recently. The same goes for all the other players you have.

If you are willing to give one of these a try:

  • hutspot: https://github.com/wdehoog/hutspot/wiki/Installationhttps://github.com/sailfish-spotify/hutspot/wiki/Installation
  • hutspot screenshots: https://github.com/wdehoog/hutspot/tree/master/screenshotshttps://github.com/sailfish-spotify/hutspot/tree/master/screenshots
  • librespot: https://github.com/wdehoog/hutspot/wiki/Librespothttps://github.com/sailfish-spotify/hutspot/wiki/Librespot

Do note that:

  • Getting this working is not a great user experience and it will probably remain this way
  • I do not have much time nor motivation to provide support. I like to develop but please keep in mind it is a hobby.

EDIT: The project has been moved to a new github organization: https://github.com/sailfish-spotify/. Github user ksiazkowicz is working on UI redesign and fixing autherization and other bugs.