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)

nodevel 2014-01-27 09:54

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hello,
I just installed your app and while it looks nice, I cannot play any songs - it stops before I hear any sound. I tried playing some songs on my computer (through Spokify) and it is playing, so there shouldn't be any problem with my account.
Thanks.

EDIT:
I downgraded to 1.3.0-11 and it works fine, so it looks like a regression in the newest version.

Elleo 2014-01-27 13:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by t0mps0 (Post 1409245)
EDIT: OK I managed to update now. Shuffle is now in its right place. same as native media player. But does it need to be in two places?

Also: Could you give us a little more information about the "larger player" your planning?

There's some discussion about this (which you might have already noticed):

https://together.jolla.com/question/...a-music-store/

particularly:

"Not sure I like the idea of one program to rule them all. In my experience it's better to have specialised programs. So if you use spotify get a spotify client instead of integrating god knows how many services in the gallery. Gallery should stay reasonably clean IMHO.
AxMi-24 (13 hours ago)edit

@AxMi-24 It wouldn't have to be hardcoded, they could use a plugin approach, if the user wants the functionality could install it or if worried about feature bloat leave it out. I am certainly not in favour of shoving things down people's throat that they don't want.
fasza2mobile (11 hours ago)edit"

which I think are valid arguments. Will user be able to choose only "cuteSpotify" if she/he doesn't want any other option?

Nice work you're doing, gotta give BIG thank you!

The larger player doesn't really have anything to do with integration with the general media player, it's just a full page player view within CuteSpotify with more buttons, a view of the current play queue and a large swipeable cover art display.

Elleo 2014-01-27 13:13

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by nodevel (Post 1409251)
Hello,
I just installed your app and while it looks nice, I cannot play any songs - it stops before I hear any sound. I tried playing some songs on my computer (through Spokify) and it is playing, so there shouldn't be any problem with my account.
Thanks.

EDIT:
I downgraded to 1.3.0-11 and it works fine, so it looks like a regression in the newest version.

Sorry about that, I removed one of the dependencies when trying to sort things out for the harbour and forgot to replace it. I'll put out a new release with that fixed later today. If you upgrade to 1.3.0-12 after having installed a previous version you should be okay though.

t0mps0 2014-01-28 08:20

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1409265)
The larger player doesn't really have anything to do with integration with the general media player, it's just a full page player view within CuteSpotify with more buttons, a view of the current play queue and a large swipeable cover art display.

Ok, thanks. So the "larger player" will still be Spotify-only. (?)
New placement for shuffle is great, just missing the "lock" ability of the pulley menu. I tend to use pulley many by locking it and then pressing desired option.

But all in all, thanks very much for making CuteSpotify!!

latency 2014-01-31 10:13

Re: [Work in Progress] CuteSpotify for Sailfish
 
New CuteSpotify wannabe here :)
I tried the 1.3.0-12 version but as someone mentioned before, the music won't start. Where can I find 1.3.0-11?

rooster13 2014-01-31 10:19

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by latency (Post 1409938)
New CuteSpotify wannabe here :)
I tried the 1.3.0-12 version but as someone mentioned before, the music won't start. Where can I find 1.3.0-11?

I downloaded the 1.3.0-11 from openrepos web site.
Streaming work with that version.

latency 2014-01-31 12:56

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by rooster13 (Post 1409942)
I downloaded the 1.3.0-11 from openrepos web site.
Streaming work with that version.

Ah stupid me! I used the Warehouse app when I searched for it, but it only shows the most current version.

I installed 1.3.0-11 now and then updated to -12. Worked like a charm. I very nice app! Sailfish cover controls works good. Not having to open the app to pause or change song is great.

Elleo 2014-01-31 15:01

Re: [Work in Progress] CuteSpotify for Sailfish
 
Version 1.3.0-13 is now available, this just fixes the dependencies that were missing from -12: http://mikeasoft.com/~mike/harbour-c...13.armv7hl.rpm

rooster13 2014-01-31 18:09

Re: [Work in Progress] CuteSpotify for Sailfish
 
Just updated my Jolla to 1.0.3.8 firmware and now CuteSpotify does not save credentials after I close the app and start it again.

Elleo 2014-01-31 19:06

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by rooster13 (Post 1410049)
Just updated my Jolla to 1.0.3.8 firmware and now CuteSpotify does not save credentials after I close the app and start it again.

I've just upgraded and can reproduce this, I'll look into it over the weekend and see if I can figure out what's changed on the Sailfish side to cause this.

luke_dirtwalker 2014-01-31 19:10

Re: [Work in Progress] CuteSpotify for Sailfish
 
They changed libsailfishapp. See for example webcat thread.
Or this: http://talk.maemo.org/showpost.php?p...4&postcount=26

EDIT: It should be fixed now with version 1.3.0-14 Thanks Elleo

I simply did the following:
Code:

cd /home/nemo/.local/share/harbour-cutespotify
and then copy the conf file
Code:

cp CuteSpotify/CuteSpotify.conf harbour-cutespotify/harbour-cutespotify.conf
Now offline data is back and I think login should work aswell

parasemic 2014-01-31 19:27

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by luke_dirtwalker (Post 1410068)
They changed libsailfishapp. See for example webcat thread.
Or this: http://talk.maemo.org/showpost.php?p...4&postcount=26

I simply did the following:
Code:

cd /home/nemo/.local/share/harbour-cutespotify
and then copy the conf file
Code:

cp CuteSpotify/CuteSpotify.conf harbour-cutespotify/harbour-cutespotify.conf
Now offline data is back and I think login should work aswell

Works, thanks a lot!

rooster13 2014-01-31 20:09

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by luke_dirtwalker (Post 1410068)
They changed libsailfishapp. See for example webcat thread.
Or this: http://talk.maemo.org/showpost.php?p...4&postcount=26

I simply did the following:
Code:

cd /home/nemo/.local/share/harbour-cutespotify
and then copy the conf file
Code:

cp CuteSpotify/CuteSpotify.conf harbour-cutespotify/harbour-cutespotify.conf
Now offline data is back and I think login should work aswell

Yes! This works. Thanks a bunch!

Elleo 2014-01-31 20:43

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quick new release which fixes this issue: http://mikeasoft.com/~mike/harbour-c...14.armv7hl.rpm

solbrit 2014-02-02 19:31

Re: [Work in Progress] CuteSpotify for Sailfish
 
Are there plans to put a progressbar somewhere to show playback progress? A clickable one, to start playback from a certain point in the track? Like in Spotify for Harmattan. That's the one big thing I miss in this otherwise great app.

nodevel 2014-02-02 20:52

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by solbrit (Post 1410503)
Are there plans to put a progressbar somewhere to show playback progress? A clickable one, to start playback from a certain point in the track? Like in Spotify for Harmattan. That's the one big thing I miss in this otherwise great app.

Read previous posts - this has been answered before.

IIRC this is planned as a part of a new fullscreen player.

Elleo 2014-02-02 22:59

Re: [Work in Progress] CuteSpotify for Sailfish
 
New release: http://mikeasoft.com/~mike/harbour-c...15.armv7hl.rpm

* Adds support for scrobbling to Last.fm (this can be enabled from the settings page).

BonoNL 2014-02-03 20:58

Re: [Work in Progress] CuteSpotify for Sailfish
 
Great app Elleo, thanks!

AliG 2014-02-06 21:31

Re: [Work in Progress] CuteSpotify for Sailfish
 
Got to say, I love the app.
Unfortunately mine stopped working. It crashes as soon as it starts syncing my playlists. If I turn of all internet connections on my phone, the app works, but if I turn them back on, it crashes again.
Any ideas on why it acts this way.

Elleo 2014-02-06 23:36

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by AliG (Post 1411419)
Got to say, I love the app.
Unfortunately mine stopped working. It crashes as soon as it starts syncing my playlists. If I turn of all internet connections on my phone, the app works, but if I turn them back on, it crashes again.
Any ideas on why it acts this way.

As far as I can tell there's some issue if the playlist cache is different from the online cache (e.g. if you've moved/deleted/renamed playlists somewhere else). If you try clearing your user data everything should start working again, you can do that by logging out and then accessing the pulley menu on the login page.

AliG 2014-02-07 04:26

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1411440)
As far as I can tell there's some issue if the playlist cache is different from the online cache (e.g. if you've moved/deleted/renamed playlists somewhere else). If you try clearing your user data everything should start working again, you can do that by logging out and then accessing the pulley menu on the login page.

That helped. Thanks!
I figureed it was some problem with the playlists, but I hadn't noticed the pulley menu on the login page, so I didn't know how to clear the cache. Thanks again, great app!

t0mps0 2014-02-07 10:01

Re: [Work in Progress] CuteSpotify for Sailfish
 
Could you please "lock" the shuffle/repeat pulley menu, thanks!

Also: When listening track, and on the bottom you have the small album-art icon along with song/artist/album -texts, it'd be neat if longpressing those (icon or texts) you could get a menu where you can choose the artist or album (search).

Vinyl 2014-02-10 18:20

Re: [Work in Progress] CuteSpotify for Sailfish
 
First of all, thanks for the awesome Spotify client for Sailfish OS :)

There are a few issues that annoy me though :c I'm not sure if they are CuteSpotify related, but it's worth a try :)

1. When not connected to the internet, and listening music in offline mode, the app still asks for a connection. You know, the select WLAN/mobile internet menu.

2. When connected via Bluetooth to an external speaker, the audio quality is very bad. It's like there is no bass at all.

If you could fix these two, I'd be eternally grateful :)

Casanunda 2014-02-11 17:46

Re: [Work in Progress] CuteSpotify for Sailfish
 
a little bug (maybe) related to bluetooth audio: I can use Cutespotify just fine in my Car with Bluetooth audio streaming. Sound Quality is OK for me.
But when I turn off car radio / disconnect bluetooth pairing, cutespotify crashes.
Makes no difference if Cutespotify is playing or playback is paused.

Would be great if playback was paused on headphone/bluetooth disconnect, but just quitting without comment is not quite as nice... :)

anidel 2014-02-18 11:18

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1390982)
P.S.
If you enjoy CuteSpotify please consider making a small donation. I'm a freelance developer, so the more I receive in donations the more time I can spend working on it instead of looking for new clients. Thanks!

Donated! :)

luke_dirtwalker 2014-02-19 14:28

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hm the app suddenly doesn't work anymore, i.e. I can't start it.

When I start it from console this is the output:
Code:

[nemo@localhost ~]$ /usr/bin/harbour-cutespotify -d
[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
14:25:38.406 I [ap:1752] Connecting to AP ap.spotify.com:4070

14:25:38.459 I [ap:1226] Connected to AP: 194.14.177.2:4070

14:25:39.502 I [offline-mgr:2082] Storage has been cleaned

DeclarativeCoverWindow: I have a default alpha buffer
Segmentation fault

Any suggestions what that could be?

Thanks

t0mps0 2014-02-20 10:35

Re: [Work in Progress] CuteSpotify for Sailfish
 
Got two offline playlists. Started the other when online, then went offline. App plays the playlist fine and I can use the icon actions. However when I try to open full view the app is in state "Logging in" and nothing happens.

BUT:

Tried offline logging in and it works ok. Also the full view gives above mentioned offline lists. So this is mainly a problem if going online to offline "on the fly".

Elleo 2014-02-21 00:24

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by luke_dirtwalker (Post 1413360)
Hm the app suddenly doesn't work anymore, i.e. I can't start it.

When I start it from console this is the output:
Code:

[nemo@localhost ~]$ /usr/bin/harbour-cutespotify -d
[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
14:25:38.406 I [ap:1752] Connecting to AP ap.spotify.com:4070

14:25:38.459 I [ap:1226] Connected to AP: 194.14.177.2:4070

14:25:39.502 I [offline-mgr:2082] Storage has been cleaned

DeclarativeCoverWindow: I have a default alpha buffer
Segmentation fault

Any suggestions what that could be?

Thanks

This seems to happen after playlists have been changed in some way elsewhere (renaming them, moving them, etc.); haven't had time to track it down properly yet, you can fix it by just removing your cached data.

To do that through the GUI switch the phone to offline mode, start CuteSpotify, go to Settings and then Log out. Then from the pulley menu select "Clear user data and offline songs". Then close CuteSpotify, switch the phone back to online mode and log in to CuteSpotify again.

To do it from the command line just do "rm -r ~/.local/share/harbour-cutespotify"

Elleo 2014-02-21 00:25

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by t0mps0 (Post 1413495)
Got two offline playlists. Started the other when online, then went offline. App plays the playlist fine and I can use the icon actions. However when I try to open full view the app is in state "Logging in" and nothing happens.

BUT:

Tried offline logging in and it works ok. Also the full view gives above mentioned offline lists. So this is mainly a problem if going online to offline "on the fly".

Yep, this is a known issue, there's something up in the logic for switching back to the playlist view after reconnecting, haven't had time to dig into it in detail yet I'm afraid.

soikka 2014-03-04 11:40

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hi,
had problems with play stopping after 10s or so, when the cutespotify was running in the background. Tried to uninstall and wipe cache following your instructions above.... seemed to have wiped a bit more than necessary!!! First I noticed that all the Android software was gone. Basically nothing worked. Luckily I was able to open the settings and return the phone to factory settings..and took a backup yesterday. Local back-ups were also wiped. If I turned the phone off there might have been difficulties to get it back up as some of the main parts of the sw was gone.

Why this happened?

Elleo 2014-03-04 23:27

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by soikka (Post 1415380)
Hi,
had problems with play stopping after 10s or so, when the cutespotify was running in the background. Tried to uninstall and wipe cache following your instructions above.... seemed to have wiped a bit more than necessary!!! First I noticed that all the Android software was gone. Basically nothing worked. Luckily I was able to open the settings and return the phone to factory settings..and took a backup yesterday. Local back-ups were also wiped. If I turned the phone off there might have been difficulties to get it back up as some of the main parts of the sw was gone.

Why this happened?

Sorry about that, my best two guesses would be either that you'd manually modified the dataPath in the config file? Or you were using an older version of CuteSpotify that isn't compatible with some of the changes made in Sailfish 1.0.3.8 that cause it not to load its settings properly. I'll add some extra checks in the next version to make sure the dataPath looks vaguely sane before clearing it, but that won't help anyone who's still using out of date versions.

soikka 2014-03-05 09:16

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1415475)
Sorry about that, my best two guesses would be either that you'd manually modified the dataPath in the config file? Or you were using an older version of CuteSpotify that isn't compatible with some of the changes made in Sailfish 1.0.3.8 that cause it not to load its settings properly. I'll add some extra checks in the next version to make sure the dataPath looks vaguely sane before clearing it, but that won't help anyone who's still using out of date versions.

Hi,
Thanks for the reply.

It was the latest version (from the 2nd of February). And I'm pretty sure there was no previous versions even installed at any point.
And I haven't touched any config files (don't even know where those were located).

What I noticed was, that this folder did not exist at all "~/.local/share/harbour-cutespotify". And when I did the cache clearing I had terminal open with devel-su command typed in (can this have an affect)?

Even the SD-card was wiped clean, there was only two of my music folders in folder called Root (which I'm pretty sure wasn't there before).
Managed to recover the sd-cards information with a recovery SW.

So my guess is that somehow the installation directory is set wrong during the installation and during the wipe it managed to clear some directory that has information related to all the apps?
I installed the SW with jolla store (after I download the installation file and the store is open it gives you this option) or with file browser.

After the cache clearing I was only able to open the settings app, which was also open in the background. Even the 3G and WLAN didn't work anymore and all the android app icons were gone from the app list.

Hope you'll be able to spot what might have caused this, so I can have courage to use Cutespotify again.

BTW. The 10s stopping problem was caused most likely by my wife using my account somewhere else (could you add warning for that in the future?).

HtheB 2014-03-05 09:48

Re: [Work in Progress] CuteSpotify for Sailfish
 
Glitch:
When you play a music, for example: from the Starred list, go back to the "main menu" (to show all play lists) and go back to the starred playlist.
The music that is playing, is suddenly Black instead of green :)

and also: I still encounter cutting the last 3 secs of a song...

Elleo 2014-03-05 12:38

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by soikka (Post 1415513)
Hi,
Thanks for the reply.

It was the latest version (from the 2nd of February). And I'm pretty sure there was no previous versions even installed at any point.
And I haven't touched any config files (don't even know where those were located).

What I noticed was, that this folder did not exist at all "~/.local/share/harbour-cutespotify". And when I did the cache clearing I had terminal open with devel-su command typed in (can this have an affect)?

Even the SD-card was wiped clean, there was only two of my music folders in folder called Root (which I'm pretty sure wasn't there before).
Managed to recover the sd-cards information with a recovery SW.

So my guess is that somehow the installation directory is set wrong during the installation and during the wipe it managed to clear some directory that has information related to all the apps?
I installed the SW with jolla store (after I download the installation file and the store is open it gives you this option) or with file browser.

After the cache clearing I was only able to open the settings app, which was also open in the background. Even the 3G and WLAN didn't work anymore and all the android app icons were gone from the app list.

Hope you'll be able to spot what might have caused this, so I can have courage to use Cutespotify again.

BTW. The 10s stopping problem was caused most likely by my wife using my account somewhere else (could you add warning for that in the future?).

Not entirely sure what could have caused this then, but I've added some simple checks to make sure it only performs the cache clearing if the directory it gets from the config looks like a valid CuteSpotify path, until the next release I'd recommend that people don't use the "clear cache" option to be on the safe side. I'll try to find time for a new release at the weekend.

BonoNL 2014-03-05 20:34

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hi all,

Been using CuteSpotify for a while now, but is it possible to add songs to playlists from inside the app?

Holding the song won't give me adrop down menu.

t0mps0 2014-03-07 11:16

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by BonoNL (Post 1415598)
Hi all,

Been using CuteSpotify for a while now, but is it possible to add songs to playlists from inside the app?

Holding the song won't give me adrop down menu.

Its not possible (yet). Hopefully later.

clovis86 2014-03-14 04:42

Re: [Work in Progress] CuteSpotify for Sailfish
 
would love to see this feature !

already a very nice spotify client btw !

got 2 questions also :

is version provided on 1st page the same one as the one available using openrepos ?
what's the behaviour of "sync mode" ? I mean, will cutespotify use the downloaded file if I'm online ? or will it always play streamed music except when data connecrion is disabled ?

edit : 1st question solved, same version on link and openrepos :D

ahjolinna 2014-03-19 00:19

Re: [Work in Progress] CuteSpotify for Sailfish
 
the only problem i have with cutespotify is when I have my headphone on and when I get a notification the music leaks from the speakers...

junnuvi 2014-03-19 03:43

Re: [Work in Progress] CuteSpotify for Sailfish
 
It seems like after ohijärvi update cutespotify will no loger crash in case bluetooth connection will drop. It just pauses playback. This is nice. But it will be much better if playback will continue as soon as bluetooth connection is re-established.

Also I have noted that sometimes when internet connection has dropped for couple of seconds (example when swtich between 3g/wlan) cutespotify will either pause or get stuck on login screen. It should continue playback on that case too.

Thanks for a great application. Hopefully you get time to make it even more awesome :)

ridmaur 2014-03-20 19:18

Re: [Work in Progress] CuteSpotify for Sailfish
 
After update 4, CuteSpotify just briefly opens, then crashes.


All times are GMT. The time now is 04:17.

vBulletin® Version 3.8.8