Willem-Jan de Hoog
Willem-Jan de Hoog
Does not look good. Librespot cannot recover from a broken network connection see https://github.com/librespot-org/librespot/issues/134. I suppose we can't do more then stop the librespot service, wait for a network connection,...
For that I guess you need Web Playback working on Sailfish. If that works then you are probably better off using spotify's webplayer.
I just added stuff to check if librespot is in the known devices list. See https://github.com/sailfish-spotify/hutspot/commit/0ecb260790e5a30d68a2360d726a1f92abb2bc0b Maybe it can be used for this issue as well.
See also https://github.com/sailfish-spotify/hutspot/issues/95#issuecomment-468063316
It really does respect the setting and the token is refreshed at startup. However connecting with the new instance of librespot takes quit some time. Somehow the Spotify servers do...
There is already a timer doing just that (reloadDevicesTimer in Devices.qml). Looks like something makes it stop for ever.
I don't use the emulator and always debug on the device (deploy as rpm package).
This is currently not possible. The [Spotify web-api](https://developer.spotify.com/documentation/web-api/) which hutspot uses does not provide any offline functionality. Even if the web-api did then also Librespot must support it and I...
Any idea how to solve this? Jump to the top? Remove the sorting?
How about loading all but with a configurable maximum. Then only if all items are loaded we enable sorting. New settings. 1. Enable sorting of MyStuff lists (default true) 2....