maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [WIP] CuteSpotify for Sailfish (https://talk.maemo.org/showthread.php?t=91892)

luke_dirtwalker 2015-08-18 09:16

Re: [WIP] CuteSpotify for Sailfish
 
Thanks for testing. Could you please tell me how your optimal queue would like?
-Shoud the queue tracks also be shuffled if you press shuffle?
-Should the tracks end up at the end of the queue?
-Should the queued tracks stay in the queue once they were played back?
-Anything else?

For the current implementation I tried to implement a similar behavior as in the official spotify application, but I'm open for other suggestions.

Morpog 2015-08-18 11:36

Re: [WIP] CuteSpotify for Sailfish
 
-Should the queue tracks also be shuffled if you press shuffle?
Yes I think so

-Should the tracks end up at the end of the queue?
Yes, or give us 2 add buttons, one for end and one for after current item

-Should the queued tracks stay in the queue once they were played back?
Not sure, I like both ideas. If not, it would be great to have the option to remove single items from playlist and all at once

ljo 2015-08-18 11:41

Re: [WIP] CuteSpotify for Sailfish
 
A good queue would be a fifo one. No shuffle, no items stay in queue after playback. Any other behavior is a kind of dynamic playlist feature with name of choice or by sorting preferences, persisted or not over restarts.

ThomasAH 2015-08-18 11:56

Re: [WIP] CuteSpotify for Sailfish
 
-Should the queue tracks also be shuffled if you press shuffle?
No. Personally, I build a queue to listen to songs in that particular order. Otherwise it would just be a playlist.

-Should the tracks end up at the end of the queue?
Yes.

-Should the queued tracks stay in the queue once they were played back?
No.

-Anything else?
Maybe add a 'Current Playback Queue' item to the main application page? I mean the one that you see directly after starting CuteSpot, with Inbox, Starred, etc. Perhaps the queue item could be placed directly below 'Inbox'? For me it would be the obvious place, and the older Spotify Desktop application also had that option (they removed it now, no idea why, annoyed me anyway :p)
I also like the idea of the queue being persistant over applications shutdowns :)

Casanunda 2015-08-18 14:00

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Morpog (Post 1479762)

-Should the tracks end up at the end of the queue?
Yes, or give us 2 add buttons, one for end and one for after current item

I'd love to have two buttons!

When I create a queue/Playlist, I want to add the songs in the order I want to listen to them.
But sometimes, especially when listening to a long playlist with shuffle mode, I would like to listen to some certain song "right now", i.e. right after the current song.

So I would really love to have both options.

luke_dirtwalker 2015-08-18 17:41

Re: [WIP] CuteSpotify for Sailfish
 
Okay so clearly insert at start and at end should be supported.
And I also like the idea of a persisting queue.

No shuffle would mean you would have to listen always in the order you insert.

What about repeat should played songs reappear?

What if you want to play the previous song? Is that even needed?

What about if you just want to play a playlist in shuffle mode (which I usually do) should that be a different concept from the queue?

It seems some of you have a rather clear idea how it should look like so it would be cool if you would just write down how you would use and interact with your optimal queue, not specific to my questions.

TemeV 2015-08-18 20:51

Re: [WIP] CuteSpotify for Sailfish
 
I think point of the queue is that you want to listen some songs in some order once. And maybe every now and then you might want to bypass the queue and get some song playing next (adding to the start of the queue would be nice feature). Getting back to once listened tracks is not necessary imo.

Anything else is a playlist. If you want to listen the same set of songs several times, you don't put them in queue but create a playlist.

JulmaHerra 2015-08-24 07:23

Re: [WIP] CuteSpotify for Sailfish
 
A quick question.... now that Spotify decided to go kind of NSA-route in their privacy policy, how much information they can pull from Jolla phone through the API used in Cutespot? Could this be just about the only way to circumvent the most questionable parts of their new policy?

luke_dirtwalker 2015-08-24 21:15

Re: [WIP] CuteSpotify for Sailfish
 
Short answer: Most certainly only your account information and that you use this application.

Longer answer: libspotify is just a binary library so I don't really know what goes on inside, but since the library was distributed before this statement one can assume it just does what it is supposed to do, and that does not include accessing any information of yours (except the account).
It can however access your disk at a specific location to cache data locally, and store songs for offline usage.

Thoughts on the policy change (not related to CuteSpot):
If you think about it, if you want a custom image in your playlist the android app probably needs access to your pictures, if you want to see if friends in your contacts use spotify as well, you need to access contacts. But then again since you give them access they could theoretically use the information in a different way as well.

Mikkosssss 2015-09-14 19:05

Re: [WIP] CuteSpotify for Sailfish
 
I want to report bug: When I search "Dethklok" and click that artist, Cutespotify always crashes.

Tested on PC and maybe it has something to do with that "Dethklok" page isnt that artists page as theres only one song (maybe someone just made typo). Correct artist is "Metalocalypse: Dethklok"

taixzo 2015-10-11 04:36

Re: [WIP] CuteSpotify for Sailfish
 
Any update on MPRIS2 openUrl?

Dave999 2016-08-13 21:51

Re: [WIP] CuteSpotify for Sailfish
 
Got an error message when trying to play tracks "General Permanent Error" haven't used my Jolla in long time so maybe there is a new versions or other software?

parasemic 2016-08-17 16:17

Re: [WIP] CuteSpotify for Sailfish
 
I experienced a very strange bug/glitch. Suddenly, the bottom bass - lower mid frequencies almost vanished making vocals almost unhearable and high pitch sounds disappeared from right channel. I did nothing to trigger this and toggling normalization on/off didn't help. Reinstalled the app and everything is back to normal.

Restarting the phone didn't affect at all, ruling out system-wide glitch as far as I can tell.

Jarvis 2016-08-21 14:19

Re: [WIP] CuteSpotify for Sailfish
 
It doesn't work on Jolla C.

243kof 2016-08-21 14:48

Re: [WIP] CuteSpotify for Sailfish
 
Cutespot from Jolla store works fine for me in Jolla C.

Jarvis 2016-08-22 12:10

Re: [WIP] CuteSpotify for Sailfish
 
Offline mode doesn't work on both, J1 and JC. I can't add album to offline playlist.

taixzo 2016-08-22 14:29

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Jarvis (Post 1513217)
Offline mode doesn't work on both, J1 and JC. I can't add album to offline playlist.

Offline mode is working fine here on J1.

juiceme 2016-08-22 15:23

Re: [WIP] CuteSpotify for Sailfish
 
so I'll tvrls in my 2 cents too...
cutespotify works perfectly on nexus5/SFOS 2.0.2.48

HtheB 2016-08-22 16:07

Re: [WIP] CuteSpotify for Sailfish
 
The playlists aren't syncing anymore when you add a star or a track to any playlist :(

kempus5 2016-08-23 14:03

I have problems with playlists synchronization on my N9 also, so I guess it is a libspotify issue. On https://developer.spotify.com/technologies/libspotify/ they say that libspotify should be considered deprecated, although it should work until 2017, so I hope these problems are temporary.

luke_dirtwalker 2016-10-18 20:20

Re: [WIP] CuteSpotify for Sailfish
 
Unfortunately there is nothing I can do against lists not syncing currently. kempus5 is correct that libspotify is deprecated.

We can only wait until Spotify releases the new native library libspotify_embedded. I checked in the Android SDK there is a .so file included, but without a header file it is quite hard to get something usable out of it.

Cheers,
Lukas

juiceme 2016-10-18 20:59

Re: [WIP] CuteSpotify for Sailfish
 
I've got one feature request I am not sure if it could be properly called a bug or an enhancement;

When you search for an artist by name, cutespotify will give a fairly long album list under the "albums" section, however if the artist or group has many albums it will not list them all..

For example; if you search for "Uriah Heep" you see 35 albums. However when you use spotify client on linux you see a range of 45 albums.
Why this is annoying; the albums are presented in the age order, newest first and this way I cannot access the oldest albums at all...

BonoNL 2016-12-21 15:33

Re: [WIP] CuteSpotify for Sailfish
 
Regarding the issues with the libspotify api, I got a reply from Spotify when I asked them:

Hey,
there won't be a publicly available libspotify successor before the end of 2016. Happy to add you to a list of potential users of a private beta, if we run one. Please email developer-support@spotify.com with what you'd like to use it for 🙂 Happy holidays!

abranson 2017-02-14 09:57

Re: [WIP] CuteSpotify for Sailfish
 
Any chance of a rebuild on 2.1.0.9? It seems that CuteSpot somehow doesn't produce any audio, and the volume controls change the ringtone volume. I'd have a go myself but I can't find the libspotify package anywhere now. They've removed it.

mikecomputing 2017-02-23 20:40

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by abranson (Post 1523452)
Any chance of a rebuild on 2.1.0.9? It seems that CuteSpot somehow doesn't produce any audio, and the volume controls change the ringtone volume. I'd have a go myself but I can't find the libspotify package anywhere now. They've removed it.

https://developer.spotify.com/technologies/libspotify/

"Important! LibSpotify and CocoaLibSpotify are no longer under active development on any platform and are considered deprecated. If you are building applications for iOS or Android, please use the iOS SDK or Android SDK. We hope to be able to provide you with a new library for other platforms."

:mad:

willi6868 2017-03-04 17:56

Re: [WIP] CuteSpotify for Sailfish
 
BTW CuteSpot from the Jolla Store is still working fine on Sailfish OS 2.1.0.9, so deinstall the version from Openrepos and install CuteSpot from the Jolla Store. :)

mikecomputing 2017-03-04 18:59

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by willi6868 (Post 1524746)
BTW CuteSpot from the Jolla Store is still working fine on Sailfish OS 2.1.0.9, so deinstall the version from Openrepos and install CuteSpot from the Jolla Store. :)

Didn't know cutespot existed in jollastore :cool:

Thanks now I can remove the crappy android original spotify app and use cutespot again :p

wred_e 2017-03-18 08:44

Re: [WIP] CuteSpotify for Sailfish
 
So how is the application working for users now? I am looking at getting spotify, but only if the CuteSpotify works well enough.

HtheB 2017-03-18 09:11

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by wred_e (Post 1525594)
So how is the application working for users now? I am looking at getting spotify, but only if the CuteSpotify works well enough.

CuteSpotify has been replaced by CuteSpot.

The only thing that does not work, is syncing playlists.
So if you add a song to a playlist on CuteSpot, it won't be visible on the real PC Spotify client. But if you add it on the real Spotify client on the PC, it WILL show on CuteSpot.

Another thing that is a bit broken sometimes, is the search function. Other than that, it works fine.

luke_dirtwalker 2018-03-22 14:56

Re: [WIP] CuteSpotify for Sailfish
 
I updated the openrepos version to a working one. I'm not sure if bluetooth controlling will work now (if it did on the Jolla-Store version it will, otherwise not).

Changes in version 1.5.8-0:
Improved MPRIS handling (thanks to abranson)
Fix crash in search
Initial URI handling support (for tracks only)
Remove bluetooth code that made the app non-working (openrepos version)

If there are no issues I will also put it in store.

taixzo 2018-03-22 17:40

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Initial URI handling support (for tracks only)
How does this work? Can I send some command to open a URL and cutespot will open it?

ljo 2018-03-22 17:42

Re: [WIP] CuteSpotify for Sailfish
 
Works fine from what I can tell. :)

kaari 2018-06-10 19:11

Re: [WIP] CuteSpotify for Sailfish
 
Hi, playlists gone. Ok, but now I cant search either. Is it working for others? Maybe time to cancel subscrition?

juiceme 2018-06-11 07:58

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by kaari (Post 1545303)
Hi, playlists gone. Ok, but now I cant search either. Is it woring for others? Maybe time to cancel subscrition.

Damn you are right, then it is useless to me :(
I sure hope that's a temporary glitch...

juiceme 2018-06-24 09:42

Re: [WIP] CuteSpotify for Sailfish
 
OK, now it seems this situation is not anything temporary; as it is currently CuteSpot is not functioning correctly.

I checked the versions of the spotify android-sdk components in github; https://github.com/spotify/android-sdk and https://github.com/spotify/android-auth for recent changes.
The player library has not been updated for 2 years, and authorization library for 4 months.

Now, when starting harbour-cutespot from console I get the following console logs;

Code:

[nemo@Sailfish ~]$ harbour-cutespot
[D] unknown:0 - Using Wayland-EGL
08:53:00.433 I [ap:1752] Connecting to AP ap.spotify.com:4070
08:53:00.599 I [ap:1226] Connected to AP: 104.199.64.158:4070
08:53:00.921 E [ap:3953] Connection error:  410
08:53:01.453 I [offline-mgr:2082] Storage has been cleaned

The http error message 410 means "Gone" as defined in RFC2616 and it means that "The requested resource is no longer available at the server and no forwarding address is known. This condition is expected to be considered permanent."
This code is used when a resource or API has moved to new location and not used any longer.

Now it looks to me that Spotify has changed the web-API location and format and that's the reason the connection fails.

mikecomputing 2018-06-24 16:09

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by juiceme (Post 1545750)
OK, now it seems this situation is not anything temporary; as it is currently CuteSpot is not functioning correctly.

I checked the versions of the spotify android-sdk components in github; https://github.com/spotify/android-sdk and https://github.com/spotify/android-auth for recent changes.
The player library has not been updated for 2 years, and authorization library for 4 months.

Now, when starting harbour-cutespot from console I get the following console logs;

Code:

[nemo@Sailfish ~]$ harbour-cutespot
[D] unknown:0 - Using Wayland-EGL
08:53:00.433 I [ap:1752] Connecting to AP ap.spotify.com:4070
08:53:00.599 I [ap:1226] Connected to AP: 104.199.64.158:4070
08:53:00.921 E [ap:3953] Connection error:  410
08:53:01.453 I [offline-mgr:2082] Storage has been cleaned

The http error message 410 means "Gone" as defined in RFC2616 and it means that "The requested resource is no longer available at the server and no forwarding address is known. This condition is expected to be considered permanent."
This code is used when a resource or API has moved to new location and not used any longer.

Now it looks to me that Spotify has changed the web-API location and format and that's the reason the connection fails.

Wasnt this expected since libspotify(used in cutespot if I remember correct) has been deprecated for years :(

https://developer.spotify.com/docume...alling-the-sdk

juiceme 2018-06-24 19:35

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by mikecomputing (Post 1545767)
Wasnt this expected since libspotify(used in cutespot if I remember correct) has been deprecated for years :(

https://developer.spotify.com/docume...alling-the-sdk

Hmm the download still works, so where do you find the information that it is obsolete?
I think the web-API has changed but player and authenticator libraries still work.

wdehoog 2018-06-25 07:41

Re: [WIP] CuteSpotify for Sailfish
 
raspotify stopped working as well. turns out the librespot library needs a small update for an unkown enum. see https://github.com/librespot-org/lib...38525dd8fbb9d6.

possibly this causes the problem cutespotify suffers as well. so maybe updating the librespot library will make it work again.

juiceme 2018-06-25 08:17

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by wdehoog (Post 1545793)
raspotify stopped working as well. turns out the librespot library needs a small update for an unkown enum. see https://github.com/librespot-org/lib...38525dd8fbb9d6.

possibly this causes the problem cutespotify suffers as well. so maybe updating the librespot library will make it work again.

Thanks for the info. However this won't help with CuteSpotify since it is not using librespotify but instead it implements an instance the Spotify Android-SDK library in QT wrapper library :eek:

I started already looking into the matter, and as it seems librespot is implemented in Rust the working name for the project is RustySpot :p

(Why are people using these obscure new languages, "Rust", huh...??? What's wrong with bloody plain old K&R c??)

gaelic 2018-06-25 11:22

Re: [WIP] CuteSpotify for Sailfish
 
What exactly is obsucre about Rust?


All times are GMT. The time now is 16:54.

vBulletin® Version 3.8.8