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)

Koiruus 2014-09-05 22:45

Re: [WIP] CuteSpotify for Sailfish
 
I dropped my previous Jolla into a lake, and now got new (used) one. CuteSpotify worked fine on my previous Jolla, but now it crashes every time after login. It begins to load playlists and then crashes. And I have to login every time again. Any help?

clovis86 2014-09-06 06:14

Re: [WIP] CuteSpotify for Sailfish
 
you should try to launch the app from terminal and post the lines of crash here ;)

app is named harbour-cutespotify afair

Koiruus 2014-09-06 20:25

Re: [WIP] CuteSpotify for Sailfish
 
Yay, here you go:
Code:

[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
DeclarativeCoverWindow: I have a default alpha buffer
20:18:15.982 I [ap:1752] Connecting to AP ap.spotify.com:4070

20:18:15.984 I [user_cache:135] UserCache::initiateGetUsers() will query for 1 users

20:18:15.999 I [offline-mgr:2082] Storage has been cleaned

20:18:16.982 I [ap:1226] Connected to AP: 194.132.162.150:4070

20:18:18.144 I [user_cache:135] UserCache::initiateGetUsers() will query for 1 users

20:18:18.395 I [user_cache:135] UserCache::initiateGetUsers() will query for 100 users

20:18:18.472 W [playlist.cpp:45] Adding observer while updating

20:18:18.472 W [playlist.cpp:45] Adding observer while updating

20:18:18.473 W [playlist.cpp:45] Adding observer while updating

20:18:18.473 W [playlist.cpp:45] Adding observer while updating

20:18:18.473 W [playlist.cpp:45] Adding observer while updating

20:18:18.474 W [playlist.cpp:45] Adding observer while updating

20:18:18.474 W [playlist.cpp:45] Adding observer while updating

20:18:18.578 W [playlist.cpp:45] Adding observer while updating

20:18:18.578 W [playlist.cpp:45] Adding observer while updating

20:18:18.579 W [playlist.cpp:45] Adding observer while updating

20:18:18.579 W [playlist.cpp:45] Adding observer while updating

20:18:18.625 W [playlist.cpp:45] Adding observer while updating

20:18:18.626 W [playlist.cpp:45] Adding observer while updating

20:18:18.670 W [playlist.cpp:45] Adding observer while updating

20:18:18.670 W [playlist.cpp:45] Adding observer while updating

20:18:18.671 W [playlist.cpp:45] Adding observer while updating

20:18:18.671 W [playlist.cpp:45] Adding observer while updating

20:18:18.672 W [playlist.cpp:45] Adding observer while updating

20:18:18.672 W [playlist.cpp:45] Adding observer while updating

20:18:18.672 W [playlist.cpp:45] Adding observer while updating

20:18:18.672 W [playlist.cpp:45] Adding observer while updating

20:18:18.763 W [playlist.cpp:45] Adding observer while updating

20:18:18.763 W [playlist.cpp:45] Adding observer while updating

20:18:18.785 W [playlist.cpp:45] Adding observer while updating

20:18:18.785 W [playlist.cpp:45] Adding observer while updating

20:18:18.786 W [playlist.cpp:45] Adding observer while updating

20:18:18.786 W [playlist.cpp:45] Adding observer while updating

20:18:18.787 W [playlist.cpp:45] Adding observer while updating

20:18:18.787 W [playlist.cpp:45] Adding observer while updating

20:18:18.788 W [playlist.cpp:45] Adding observer while updating

20:18:18.788 W [playlist.cpp:45] Adding observer while updating

20:18:18.937 W [playlist.cpp:45] Adding observer while updating

20:18:18.938 W [playlist.cpp:45] Adding observer while updating

20:18:18.938 W [playlist.cpp:45] Adding observer while updating

20:18:18.938 W [playlist.cpp:45] Adding observer while updating

20:18:18.940 W [playlist.cpp:45] Adding observer while updating

20:18:18.940 W [playlist.cpp:45] Adding observer while updating

20:18:18.941 I [user_cache:135] UserCache::initiateGetUsers() will query for 28 users

20:18:19.065 W [playlist.cpp:45] Adding observer while updating

20:18:19.065 W [playlist.cpp:45] Adding observer while updating

20:18:19.066 W [playlist.cpp:45] Adding observer while updating

20:18:19.066 W [playlist.cpp:45] Adding observer while updating

20:18:19.067 W [playlist.cpp:45] Adding observer while updating

20:18:19.067 W [playlist.cpp:45] Adding observer while updating

20:18:19.067 W [playlist.cpp:45] Adding observer while updating

20:18:19.067 W [playlist.cpp:45] Adding observer while updating

20:18:19.068 W [playlist.cpp:45] Adding observer while updating

20:18:19.068 W [playlist.cpp:45] Adding observer while updating

20:18:19.069 W [playlist.cpp:45] Adding observer while updating

20:18:19.069 W [playlist.cpp:45] Adding observer while updating

20:18:19.069 W [playlist.cpp:45] Adding observer while updating

20:18:19.069 W [playlist.cpp:45] Adding observer while updating

20:18:19.070 W [playlist.cpp:45] Adding observer while updating

20:18:19.070 W [playlist.cpp:45] Adding observer while updating

20:18:19.070 W [playlist.cpp:45] Adding observer while updating

20:18:19.071 W [playlist.cpp:45] Adding observer while updating

20:18:19.200 W [playlist.cpp:45] Adding observer while updating

20:18:19.201 W [playlist.cpp:45] Adding observer while updating

20:18:19.201 W [playlist.cpp:45] Adding observer while updating

20:18:19.201 W [playlist.cpp:45] Adding observer while updating

20:18:19.202 W [playlist.cpp:45] Adding observer while updating

20:18:19.202 W [playlist.cpp:45] Adding observer while updating

20:18:19.202 W [playlist.cpp:45] Adding observer while updating

20:18:19.202 W [playlist.cpp:45] Adding observer while updating

20:18:19.203 W [playlist.cpp:45] Adding observer while updating

20:18:19.203 W [playlist.cpp:45] Adding observer while updating

20:18:19.743 W [playlist.cpp:45] Adding observer while updating

20:18:19.743 W [playlist.cpp:45] Adding observer while updating

20:18:19.745 W [playlist.cpp:45] Adding observer while updating

20:18:19.745 W [playlist.cpp:45] Adding observer while updating

20:18:19.805 W [playlist.cpp:45] Adding observer while updating

20:18:19.805 W [playlist.cpp:45] Adding observer while updating

20:18:19.833 W [playlist.cpp:45] Adding observer while updating

20:18:19.833 W [playlist.cpp:45] Adding observer while updating

20:18:20.272 W [playlist.cpp:45] Adding observer while updating

20:18:20.273 W [playlist.cpp:45] Adding observer while updating

20:18:20.332 W [playlist.cpp:45] Adding observer while updating

20:18:20.332 W [playlist.cpp:45] Adding observer while updating

20:18:20.437 W [playlist.cpp:45] Adding observer while updating

20:18:20.437 W [playlist.cpp:45] Adding observer while updating

20:18:20.439 W [playlist.cpp:45] Adding observer while updating

20:18:20.439 W [playlist.cpp:45] Adding observer while updating

20:18:20.544 W [playlist.cpp:45] Adding observer while updating

20:18:20.544 W [playlist.cpp:45] Adding observer while updating

20:18:20.545 W [playlist.cpp:45] Adding observer while updating

20:18:20.545 W [playlist.cpp:45] Adding observer while updating

20:18:20.599 W [playlist.cpp:45] Adding observer while updating

20:18:20.599 W [playlist.cpp:45] Adding observer while updating

20:18:20.632 W [playlist.cpp:45] Adding observer while updating

20:18:20.632 W [playlist.cpp:45] Adding observer while updating

20:18:20.807 W [playlist.cpp:45] Adding observer while updating

20:18:20.807 W [playlist.cpp:45] Adding observer while updating

20:18:20.807 W [playlist.cpp:45] Adding observer while updating

20:18:20.807 W [playlist.cpp:45] Adding observer while updating

20:18:20.808 W [playlist.cpp:45] Adding observer while updating

20:18:20.808 W [playlist.cpp:45] Adding observer while updating

20:18:20.809 W [playlist.cpp:45] Adding observer while updating

20:18:20.809 W [playlist.cpp:45] Adding observer while updating

20:18:20.810 W [playlist.cpp:45] Adding observer while updating

20:18:20.810 W [playlist.cpp:45] Adding observer while updating

20:18:20.936 W [playlist.cpp:45] Adding observer while updating

20:18:20.936 W [playlist.cpp:45] Adding observer while updating

20:18:20.937 W [playlist.cpp:45] Adding observer while updating

20:18:20.937 W [playlist.cpp:45] Adding observer while updating

After that it just prints "muistialueen ylitys" in Finnish (I don't remember how is it in English, but propably somethig like memory error) when the app crashes. I have tens of playlists, and it crashes when loading them, but I don't think that the quantity of playlists could really be an issue.

TemeV 2014-09-07 08:31

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Koiruus (Post 1438453)
After that it just prints "muistialueen ylitys" in Finnish (I don't remember how is it in English, but propably somethig like memory error) when the app crashes. I have tens of playlists, and it crashes when loading them, but I don't think that the quantity of playlists could really be an issue.

"Muistialueen ylitys" is most likely Segmentation fault. Could be related to this:

Quote:

Originally Posted by nodevel (Post 1438263)
Thank you for the new version, however, it kinda' bugs me that after each update, the app fails to start (with Segmentation fault) unless I delete the config folder.

Have you tried deleting the config folder?

Bubbless 2014-09-09 19:23

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by TemeV (Post 1438471)
Have you tried deleting the config folder?

Got the time or the interest to write a n00b guide on how to do that? :D

clovis86 2014-09-09 20:29

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

Originally Posted by luke_dirtwalker (Post 1434458)
@clovis86: can you check if the old version works? If not you'll probably need to delete /home/nemo/.local/share/harbour-cutespotify (This bug happens only very seldom and is thus hard to debug).

Or even better first run the app from terminal:
harbour-cutespotify --debug 2> log.txt and send me the log.txt file.

@junnuvi: On which device do you test? What doesn't look good?

here you go :)

Koiruus 2014-09-10 09:42

Re: [WIP] CuteSpotify for Sailfish
 
I tried deleting the config file but it didn't help. But here's another log file (the previous one was printed without --debug tag)

http://pastebin.com/kFdVX6w8

ljo 2014-09-10 11:55

Re: [WIP] CuteSpotify for Sailfish
 
Without removing anything I restarted a few hundred times until all updating was done (I saw progress each time from the debug output in terminal) and the segmentation fault went away. But as soon as any updates were available the seg fault behaviour came back. But with minor updates it only required a few restarts. This was after updating to 1.5.1 as several people mentioned already.

d3sire 2014-09-18 10:19

Re: [WIP] CuteSpotify for Sailfish
 
It would be great to have a option to use volume up/down keys for next/play-pause keys.

So it would work like this:

Normal short press of the volume key would just change the volume, but a long press for volume up would be equal to next track and long press for volume down would play/pause.

luke_dirtwalker 2014-09-20 16:42

Re: [WIP] CuteSpotify for Sailfish
 
So a little update.

I was offline for a week. I see that many persons experience crashes.

I finally can reproduce it, however the source doesn't get entirely clear.

I will do my best to find and fix this bug. Until then no further update is to be expected.

Thanks for your comprehension.

sillycrimes 2014-09-27 12:03

Re: [WIP] CuteSpotify for Sailfish
 
Awesome app! It's working great for me!

Are there any plans to implement gapless playback?

Koiruus 2014-09-27 22:33

Re: [WIP] CuteSpotify for Sailfish
 
I finally got it working. First, I uninstalled latest Cutespotify and installed Elleo version. Then I "upgraded" or "re-installed it back to the latest in Warehouse app. And now it works.

So could it be something with the installation of the newes version? Like, is it missing something which is included in the Elleo version? Because I had to install Elleo version firts to get it working.

luke_dirtwalker 2014-09-29 21:02

Re: [WIP] CuteSpotify for Sailfish
 
EDIT: Apparently still broken, no need to test. Thanks for those who gave early Feedback :)

Can all with problem please try this version? And report back to me when crashes (at startup) still happen?

EDIT: [LINK REMOVED] Use latest version on Openrepos:
https://openrepos.net/content/lukedi...er/cutespotify

@sillycrimes what do you mean by gapless playback?

d0n_Egg1 2014-09-30 05:49

Re: [WIP] CuteSpotify for Sailfish
 
well, with version 1.5.1-1 the app starts then after 5 seconds it crashes.
hope i'm not the only who experiences this with version 1.5.1-1 :D

damourti 2014-09-30 08:11

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by d0n_Egg1 (Post 1441086)
well, with version 1.5.1-1 the app starts then after 5 seconds it crashes.
hope i'm not the only who experiences this with version 1.5.1-1 :D

same for me, it crashes more or less after 5s.

junnuvi 2014-09-30 16:01

Re: [WIP] CuteSpotify for Sailfish
 
Any plans to make MPRIS controls work? Just purchased pebble and it would be nice if cutespotify can be controlled with it as well :)

Don't know if bluetooth audio devices with media controls are also using MPRIS?

luke_dirtwalker 2014-10-02 20:35

Re: [WIP] CuteSpotify for Sailfish
 
Well I would love to, but currently my time is limited. And whenever I have time I try to figure out why it crashes. For me it works but as you can see for others obviously not.

luke_dirtwalker 2014-10-03 10:28

Re: [WIP] CuteSpotify for Sailfish
 
Okay Testers can you try again with this version: I think I found the bug introduced by 1.5.1

EDIT: [LINK REMOVED] use the latest Openrepos verion:
https://openrepos.net/content/lukedi...er/cutespotify

Morpog 2014-10-03 10:51

Re: [WIP] CuteSpotify for Sailfish
 
Seems to work.

luke_dirtwalker 2014-10-03 13:20

Re: [WIP] CuteSpotify for Sailfish
 
Okay, I released 1.5.1-3 on Openrepos it fixes the bug introduced by 1.5.1-0 and also fixes the full player for tablets.

Have fun:
https://openrepos.net/content/lukedi...er/cutespotify

d0n_Egg1 2014-10-03 16:11

Re: [WIP] CuteSpotify for Sailfish
 
yeah no more crashes! :D
thanks luke!

damourti 2014-10-06 10:20

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by luke_dirtwalker (Post 1441728)
Okay, I released 1.5.1-3 on Openrepos it fixes the bug introduced by 1.5.1-0 and also fixes the full player for tablets.

Have fun:
https://openrepos.net/content/lukedi...er/cutespotify

1.5.1-3 works fine for me, thank you!

junnuvi 2014-10-06 10:30

Re: [WIP] CuteSpotify for Sailfish
 
Fullscreen player works perfectly on tablet too. Thanks!

Morpog 2014-10-06 21:09

Re: [WIP] CuteSpotify for Sailfish
 
it started crashing again.....

Bubbless 2014-10-26 13:05

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Morpog (Post 1442142)
it started crashing again.....

No crashes for me, but it has started disconnecting a lot. I might be able to play one song in full and then it just stops. Have to close & open the app again. Rinse & repeat.

Pyro_lv 2014-10-26 17:14

Re: [WIP] CuteSpotify for Sailfish
 
Crashes every time.

luke_dirtwalker 2014-10-26 20:17

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Bubbless (Post 1444385)
No crashes for me, but it has started disconnecting a lot. I might be able to play one song in full and then it just stops. Have to close & open the app again. Rinse & repeat.

Can you please provide some more information:
sailfish version
app version
streaming or offline play?
and describe a bit more in detail what happens?

If I can't reproduce I can't help.

BTW: If anyone wants to help in development please let me know. (My time got very limited recently)

Bubbless 2014-10-27 14:24

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by luke_dirtwalker (Post 1444466)
Can you please provide some more information:
sailfish version
app version
streaming or offline play?
and describe a bit more in detail what happens?

If I can't reproduce I can't help.

SFOS 1.0.8.21
CuteSpotify 1.5.1-3
Streaming

I'm playing a song and all of a sudden the song stops and CuteSpotify goes to offline mode.

junnuvi 2014-11-17 17:01

Re: [WIP] CuteSpotify for Sailfish
 
Thanks again for this great app. Have been using it quite lot and I like it more than official android app.

List of things which I really love to have/get fixed:
- Remote control via bluetooth DBUS.
- MPRIS controls for remote control (pebble)
- When network connection drops temporary it would be nice if cutespotify will continue playing when network is up again
- Sometimes when there is big playlist and playlist has been changes lot since last time using cutespotify it will crash on startup. After retrying startup multiple times it will normally start ok.

Bubbless 2014-11-17 18:19

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Bubbless (Post 1444561)
SFOS 1.0.8.21
CuteSpotify 1.5.1-3
Streaming

I'm playing a song and all of a sudden the song stops and CuteSpotify goes to offline mode.

This was probably a false alarm, sorry. I had my phone reset and I had "Prefer 4G" on when my SIM is 3G. No mysterious disconnects after changing to 3G.

luke_dirtwalker 2014-11-20 18:25

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by junnuvi (Post 1447515)
Thanks again for this great app. Have been using it quite lot and I like it more than official android app.

List of things which I really love to have/get fixed:
- Remote control via bluetooth DBUS.
- MPRIS controls for remote control (pebble)
- When network connection drops temporary it would be nice if cutespotify will continue playing when network is up again
- Sometimes when there is big playlist and playlist has been changes lot since last time using cutespotify it will crash on startup. After retrying startup multiple times it will normally start ok.

The last points is what bugs me most, I currently have this crash but I really don't see why this happens.

As said before my time is currently very limited due to school projects.

If anyone wants to join in on development I would be very happy.

junnuvi 2014-11-24 07:57

Re: [WIP] CuteSpotify for Sailfish
 
Just played around with BT-controls and got it working.

Luke: I will PM needed addons to you..

otrozon 2014-12-28 16:30

Re: [WIP] CuteSpotify for Sailfish
 
hello, works application also with the free account? or must have paid premium account spotify? spotify exceptionally I use, but sometimes would be appropriate. works application on the latest updates 1.1.1.27?

thanks

nodevel 2014-12-28 16:38

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by otrozon (Post 1454171)
hello, works application also with the free account? or must have paid premium account spotify? spotify exceptionally I use, but sometimes would be appropriate. works application on the latest updates 1.1.1.27?

thanks

Deciphering the message was a bit tricky, but here we go:
  1. Yes, you need a (paid) premium account - free accounts can be used in the official app only (restriction made by Spotify, not developers of this app).
  2. Yes, it works fine with 1.1.1.27.

Hope it helps :)

Morpog 2014-12-28 16:39

Re: [WIP] CuteSpotify for Sailfish
 
You need a premium account. It works on Update10 well.

otrozon 2014-12-28 17:18

Re: [WIP] CuteSpotify for Sailfish
 
Quote:

Originally Posted by nodevel (Post 1454173)
Deciphering the message was a bit tricky, but here we go:
  1. Yes, you need a (paid) premium account - free accounts can be used in the official app only (restriction made by Spotify, not developers of this app).
  2. Yes, it works fine with 1.1.1.27.

Hope it helps :)

Thanks for the answer.

My question was not a cipher, but my English is pretty miserable:-) Know that you are from the Czech Republic, I'd ask Czech :-D I think I found some of your applications. I want to say ... Thank you.

luke_dirtwalker 2015-01-14 22:02

Re: [WIP] CuteSpotify for Sailfish
 
Today I took the time to make a new test release, it contains the following changes:
  • Bluetooth control support (thanks to junnuvi)
  • Landscape support (thanks to junnuvi)
  • Private session mode (drops after some time) (thanks to dhedberg)
  • Improved playing of continuous playlists (thanks to dhedberg)
  • (possible) Fix for startup crash (thanks to nwik)
  • Reduced rpm size

Please test it and let me know if everything is okay. If nothing is reported, I will release it to openrepos and eventually to harbour (without bluetooth support though).

Please especially look out that playlists are in sync with your desktop playlists (There is a slight possibility that the startup crash fix might introduce some inconsistencies).

For now you can find it here:
URL removed, use latest openrepos release.

Cheers

localhost 2015-01-15 08:14

Re: [WIP] CuteSpotify for Sailfish
 
Will give the release a try. Can't wait for the bluetooth control. Finally controlling using my car-radio and headset :-)

HtheB 2015-01-15 09:18

Re: [WIP] CuteSpotify for Sailfish
 
Can you also remove the "Available offline" button?
It happened to me that I presssd it a couple times, then I had to resync my music again. I didn't had any connection, so I was out of luck at that moment (I was in another country at that moment).... :(

Maybe you can put that button into the playlist screen:
Hold down a playlist, a menu will popup with 'Available offline' or 'Unavailable offline'. (After selecting the option, adding a 5 second timer is also a good idea just in case...)
Also, the ability to remove playlists would be nice too :) you could also add this into the menu when you holddown on a playlist.
Again, when you press Delete playlist, a 5second timer for cancellation is also needed.

j4mppa 2015-01-15 12:17

Re: [WIP] CuteSpotify for Sailfish
 
does this bluetooth control use MPRIS protocal for example to use it with Pebble?


All times are GMT. The time now is 07:23.

vBulletin® Version 3.8.8