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)

junnuvi 2014-03-20 21:04

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

Originally Posted by ridmaur (Post 1417883)
After update 4, CuteSpotify just briefly opens, then crashes.

I had same issue. I removed some temporary files under /home/nemo/.local/share/harbour-cutespotify and it started to work again. I don't remember which files those where but I think you can delete whole directory, just need to login and maybe load offline files again aftar that.

clovis86 2014-03-20 22:11

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

Originally Posted by ahjolinna (Post 1417573)
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...

received today a text message while playing music with CuteSpotify, and also got music playing threw headphone during sms sound notification :D

ridmaur 2014-03-20 22:24

Re: [Work in Progress] CuteSpotify for Sailfish
 
Indeed, that solved it. Thanks

Liplap 2014-03-20 23:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
What would it take to get Next/Previous controls and song/artist/album name over Bluetooth working? I'm using CuteSpotify in a car and having to fiddle with the phone while driving is not the optimal solution.

youmeego 2014-03-21 08:51

Re: [Work in Progress] CuteSpotify for Sailfish
 
When will this app be published at Jolla store?

Elleo 2014-03-24 23:29

Re: [Work in Progress] CuteSpotify for Sailfish
 
New release: https://openrepos.net/sites/default/...16.armv7hl.rpm

* Removes donation buttons - I'm no longer freelancing, so donations no longer have any direct effect on the amount of time I'm able to spend on CuteSpotify, as such I've decided to remove the donation links from the app.
* Adds sanity checks on cache path prior to deletion

nodevel 2014-03-24 23:56

Re: [Work in Progress] CuteSpotify for Sailfish
 
Thank you, I'm looking forward to the new release. And thanks for the heads up about the donation button - this way I managed to bookmark it before it disappears :)

Elleo 2014-03-25 01:09

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

Originally Posted by youmeego (Post 1417931)
When will this app be published at Jolla store?

Unfortunately I'm not able to submit it to the store until this issue is resolved: https://together.jolla.com/question/...-qmediaplayer/

nodevel 2014-04-08 10:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
It looks like Spotify has changed the way it works with albums. Since the redesign, you could click 'Save' on an album and it would show up in CuteSpotify. Since today, they show up in Albums instead of playlists and nothing appears either in CuteSpotify or the official desktop app.

I don't know what has changed in the API, but I guess it is just a new logic to save music by albums instead of playlists. I like that approach, but it might require some work to reflect this in CuteSpotify :(

ahjolinna 2014-04-16 23:30

Re: [Work in Progress] CuteSpotify for Sailfish
 
Is it possible to save "offline songs" to the SD-card? that option would be nice

petaqui 2014-04-27 15:02

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

Originally Posted by ahjolinna (Post 1421649)
Is it possible to save "offline songs" to the SD-card? that option would be nice

This idea it's a must =) Definetly

About the donation button, well, I helped you a little before you deleted it :P
But I'm not sure about what does that mean, if you are going to spend more or less time developing the app... :(

Elleo 2014-04-28 00:48

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

Originally Posted by ahjolinna (Post 1421649)
Is it possible to save "offline songs" to the SD-card? that option would be nice

This is actually already possible if you don't mind editing the config file yourself, I just haven't had time to expose the functionality in the UI (plus it's not had much testing, due to me not having a spare microSD card).

Just edit .local/share/harbour-cutespotify/CuteSpotify/CuteSpotify.conf and change the dataPath value to the location you'd like it to store files.

It won't clear out the old files, so you'll need to do that manually.

BonoNL 2014-05-25 22:20

Re: [Work in Progress] CuteSpotify for Sailfish
 
Elleo,

I've been reading a while back that you had a new job congrats, but does this mean you won't be able to develop CuteSpotify anymore?

Or is it a free time issue?

Elleo 2014-05-26 12:17

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

Originally Posted by BonoNL (Post 1426629)
Elleo,

I've been reading a while back that you had a new job congrats, but does this mean you won't be able to develop CuteSpotify anymore?

Or is it a free time issue?

The new job doesn't prevent me from working on CuteSpotify in any legal sense, it just eats up a lot of my time and development energy, so it's difficult to find a chunk of time to do much on it (I have a number of other side projects that also compete for that time).

Morpog 2014-06-09 21:45

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

Originally Posted by Elleo (Post 1400371)
Unfortunately Sailfish doesn't integrate with QAudioOutput like it does with QMediaPlayer, so the volume control has to be handled manually by the app listening to volume key presses, which are only received while the app is focused. I've logged a bug for that in the new together site, so hopefully it'll get fixed at some point in the future: https://together.jolla.com/question/...-qmediaplayer/

I asked w00t on IRC about status on this:

Quote:

<Morpog_PC> w00t, is this fixed lately? https://together.jolla.com/question/...-qmediaplayer/
<w00t> not yet, some work done on it, but it won't see the light until update8

parasemic 2014-06-11 03:19

Re: [Work in Progress] CuteSpotify for Sailfish
 
Not sure if it has anything to do with cutespotify and jolla just ****ed up, but after last J update cutespotify loses connection so often i cant use it anymore.

ahjolinna 2014-06-11 19:08

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

Originally Posted by parasemic (Post 1429112)
Not sure if it has anything to do with cutespotify and jolla just ****ed up, but after last J update cutespotify loses connection so often i cant use it anymore.

@parasemic: I don't have this problem, try to remove /home/nemo/.local/share/harbour-cutespotify/

parasemic 2014-06-13 03:22

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

Originally Posted by ahjolinna (Post 1429214)
@parasemic: I don't have this problem, try to remove /home/nemo/.local/share/harbour-cutespotify/

Doesnt help. The update ****ed up my 3g connection. Gj jolla

clovis86 2014-06-13 06:30

Re: [Work in Progress] CuteSpotify for Sailfish
 
no probleme here also

nodevel 2014-06-13 08:48

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

Originally Posted by parasemic (Post 1429424)
Doesnt help. The update ****ed up my 3g connection. Gj jolla

CuteSpotify was crashing for me, after the update, but I thought if was due to the hackish way of having the database on the memory card.
Deleting the config folder fixed it.

You can't really blame Jolla - CuteSpotify is using unstable APIs, so occasional breakage is to be expected.

parasemic 2014-06-14 11:47

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

Originally Posted by nodevel (Post 1429442)
CuteSpotify was crashing for me, after the update, but I thought if was due to the hackish way of having the database on the memory card.
Deleting the config folder fixed it.

You can't really blame Jolla - CuteSpotify is using unstable APIs, so occasional breakage is to be expected.

No its not that. My whole 3g connection completely broke after latest update.

clovis86 2014-06-14 11:50

Re: [Work in Progress] CuteSpotify for Sailfish
 
OK so, It doesn't have anything to do with CuteSpotify, am I right ?

ahjolinna 2014-06-14 22:43

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

Originally Posted by parasemic (Post 1429572)
No its not that. My whole 3g connection completely broke after latest update.

u could try to subscribe to this hotfix: https://together.jolla.com/question/...ming-update-7/

luke_dirtwalker 2014-07-10 23:06

Re: [Work in Progress] CuteSpotify for Sailfish
 
So with the help of Elleo I could finally build the app from sources and started to work on it.

My Plan is first to go through the UI and change it into a more Sailfish style.

After that I'll start on adding missing things like the player view.

Things I already did so far:
New Settings page:
http://i.imgur.com/jAPMWi2.jpg

New Playlist page:
http://i.imgur.com/2qBFmd7.jpg

Code can be found on github

If you have any ideas, suggestions, and things you miss please let me know.

clovis86 2014-07-10 23:17

Re: [Work in Progress] CuteSpotify for Sailfish
 
yay, glad to hear that there is a still ongoing work on this nice project i'm using daily !
thanks :)

nodevel 2014-07-11 07:18

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

Originally Posted by luke_dirtwalker (Post 1432425)
If you have any ideas, suggestions, and things you miss please let me know.

This is great news, thank you!

I have few things on my mind:
  • stability - it crashes way too often
  • headset button support (Play/Pause)
  • adding playlists from the app
  • folder management
  • ability to see artists and albums outside of playlists (new on Spotify - saving an album doesn't save it to a playlist)

Not sure if all of these are supported in libspotify, though...

Morpog 2014-07-11 07:25

Re: [Work in Progress] CuteSpotify for Sailfish
 
Top priority should be:
  1. stability
  2. volume control (should be doable with next SailfishOS update)
  3. UI fixes and Player view

Do you have got a donation link like paypal?

luke_dirtwalker 2014-07-11 08:34

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

Originally Posted by nodevel
stability - it crashes way too often

Quote:

Originally Posted by Morpog
stability

For stability I first have to observe crashes, and maybe create a logging infrastructure.

Edit: If you have a specific reproducible case for a crash please let me know

Quote:

Originally Posted by nodevel
headset button support (Play/Pause)

is not top priority, but I have a headset for which click are detected in dmesg, so there should be someway to figure this out.

Quote:

Originally Posted by nodevel
adding playlists from the app

playlist + folder management is on to do.

Quote:

Originally Posted by nodevel
ability to see artists and albums outside of playlists (new on Spotify - saving an album doesn't save it to a playlist)

will first have to check api

Quote:

Originally Posted by Morpog
volume control (should be doable with next SailfishOS update)

Volume control will be tackled as soon as update 8 is out.

Quote:

Originally Posted by Morpog
Do you have got a donation link like paypal?

Don't rush things, probably will give this after a first release.

mattiviljanen 2014-07-11 13:02

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hi

Great to hear you could and took the project!

One way to crash CuteSpotify: start the app, start playing some song, and change the volume *before* the song actually starts. Should be easy enough to reproduce... Is it even worth fixing, if future OS upgrade will make the hackish volume control eventually go away..?

Other than that, you already commented on everything on my mind :)

BonoNL 2014-07-11 20:44

Re: [Work in Progress] CuteSpotify for Sailfish
 
Luke,

Great to see someone with the skills can help Elleo with this must have app!

An idea, I can search for songs but can't add them to a playlist from CuteSpotify, that is a wanted function also but not top priority at this point.

May the force be with you Luke!

Morpog 2014-07-12 08:34

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

Originally Posted by luke_dirtwalker (Post 1432452)
Volume control will be tackled as soon as update 8 is out.

Hust in case you have missed it: https://lists.sailfishos.org/piperma...ly/004643.html

luke_dirtwalker 2014-07-12 09:08

Re: [Work in Progress] CuteSpotify for Sailfish
 
Thanks, I'm subscribed to the mailing list.

About headset support, currently key events are only forwarded when the app is in foreground. Thus we either have to wait until this changes from the OS or use a bit a workaround which will be hacky.
But in foreground I already can see the headset button press from the app..

luke_dirtwalker 2014-07-14 15:36

Re: [Work in Progress] CuteSpotify for Sailfish
 
Attention update 8 (1.0.8.19) currently makes cutespotify unusable - No audio output.

I will try to fix this tomorrow.

clovis86 2014-07-14 17:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
update 8 is out ???

technicus 2014-07-14 18:11

Re: [Work in Progress] CuteSpotify for Sailfish
 
First of all, great work for the app guys. :)

I just wanted to know, if anyone got the same problem as me?
After updating to Sailfish version 1.0.8.19 Tahlakampi CuteSpotify
refuses to play songs :(
And the Official Android app is working.

TemeV 2014-07-14 18:15

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

Originally Posted by technicus (Post 1432726)
First of all, great work for the app guys. :)

I just wanted to know, if anyone got the same problem as me?
After updating to Sailfish version 1.0.8.19 Tahlakampi CuteSpotify
refuses to play songs :(

Just read the post two posts up...

technicus 2014-07-14 18:22

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

Originally Posted by TemeV (Post 1432727)
Just read the post two posts up...

Everybody who is able to read has an advantage :D
Thanks a lot, i haven't seen that one :D

luke_dirtwalker 2014-07-15 00:24

Re: [Work in Progress] CuteSpotify for Sailfish
 
Well here we go a first working hotfix:

WARNING: Not tested with phone-call, hopefully it works let me know ;)


find it here:
Openrepos


code:
https://github.com/lukedirtwalker/cu...ilfish8_hotfix

junnuvi 2014-07-15 04:35

Re: [Work in Progress] CuteSpotify for Sailfish
 
Wow, that was fast! Volume control finally works also when app is minimized. Thanks!!

Boxeri 2014-07-15 09:42

Re: [Work in Progress] CuteSpotify for Sailfish
 
Nicely done and fast.

Seems to work accordingly. Two notions however.

First, don't know if this is Sailfish side or Cutespotify, but if you start playing song with bluetooth, then connection gets lost, the song is not resumed from phone speakers. Of course that is matter of oppinion whether this is good or bad.

Secondly, it might be good to update the version number in about section. still showing 1.3


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

vBulletin® Version 3.8.8