Save Grooveshark session

Bug #900680 reported by Erik Hedvall
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Nuvola Apps Runtime (Nuvola Player)
Expired
High
Unassigned

Bug Description

It would be useful to be able to save local settings, like restore last songs, between sessions. Right now they are only remembered as long as Nuvola Player is running and when the session ends, the settings are reset to default.

I can add that the songs are remembered in the background and becomes restored if one enables the setting and reloads.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Grooveshark has inbuilt feature to save session. Go to you account settings → tab Preferences → check When I come to Grooveshark, automatically restore my last songs.

Changed in nuvola-player:
status: New → Won't Fix
summary: - Saving local settings in Grooveshark
+ Save Grooveshark session
Revision history for this message
Erik Hedvall (erikwhedvall) wrote :

I think you misunderstood me. Nuvola Player doesn't save those settings. That is the problem. The song restoring is just an example.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

What exactly doesn't work? I've checked build 0.4~alpha~bzr145

 * Grooveshark session id is stored to cookies
 * Grooveshark remembers playlist and current song if I'm logged in.
 * Playlist and current song are restored after restart of Nuvola Player.

Changed in nuvola-player:
status: Won't Fix → Incomplete
Revision history for this message
Erik Hedvall (erikwhedvall) wrote :

When I restart Nuvola Player, I am still logged in, but the settings are reset to default and the current songs are hidden until I check the remember-songs-box and refresh. Then the songs reappear. Nothing else is strange.

I'm running build 0.4~alpha~bzr142 right now from Ubuntu ppa using Ubuntu 11.10.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Wait for build 0.4~alpha~bzr145 and then

1) Run "nuvolaplayer -D" in terminal.
2) Press Home button on toolbar/in menu.
3) Purge cookies and browser cache.
4) Login to Grooveshark
5) Toggle on "When I come to Grooveshark, automatically restore my last songs" and "Always remember my Shuffle setting."
6) Click on "Save changes"
7) Play a few songs
8) Press Reload button
9) Check if playlist and the current song has been restored
10) Press Switch service and then Cancel button.
11) Check if playlist and the current song has been restored
12) Quit Nuvola player
13) Save the output to a file
14) Run again "nuvolaplayer -D" in terminal
15) Check if playlist and the current song has been restored
16) Save the output to a file
17) Attach both files

Revision history for this message
Erik Hedvall (erikwhedvall) wrote :

It seems like I missed to switch service, but the error occurred when I ran it the second time.

Revision history for this message
Erik Hedvall (erikwhedvall) wrote :

This time, the current songs were gone.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

What was the status in steps 9, 11 and 15?

Revision history for this message
Erik Hedvall (erikwhedvall) wrote :

9: The current songs loaded fine.
11: Seems like I missed step 10. Do you want me to remake the test?
15: The current songs were not loaded.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Yes, remake the test. In addition, in steps 9, 11 and 15 check if the "When I come to Grooveshark, automatically restore my last songs" option is still turned on.

Changed in nuvola-player:
milestone: none → future
Changed in nuvola-player:
milestone: future → none
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Fernando Troya: Could you provide distribution details (name, version, architecture), version of Nuvola Player and outputs from this test?

1) Quit Nuvola player (menu Service → Quit) and run "nuvolaplayer -D" in terminal.
2) Press Home button on toolbar/in menu.
3) Purge cookies and browser cache.
4) Login to Grooveshark
5) Modify your Grooveshark settings (e.g. Stream smaller, lower quality songs)
6) Click on "Save changes"
7) Play a few songs
8) Press Reload button/menu item
9) Press Home button/menu item and check if the modified Grooveshark option persists.
10) Press Switch service and then Cancel button.
11) Press Home button/menu item and check if the modified Grooveshark option persists.
12) Quit Nuvola player (menu Service → Quit)
13) Save the output to a file
14) Run again "nuvolaplayer -D" in terminal
15) Check if the modified Grooveshark option persists.
16) Save the output to a file
17) Attach both files

Changed in nuvola-player:
importance: Undecided → High
Revision history for this message
Fernando Troya (fertroya) wrote :

Name and distro:

Nuvola Player 1.1~unstable~bzr211
Linux 3.0.0-15-generic-pae #25-Ubuntu SMP Mon Jan 2 19:40:15 UTC 2012 i686 i686 i386 GNU/Linux

Relevant feedback for each step:

2) I can't see a Home button for a start. I can go to "Service -> Home", or hit Alt+Home and move on.
http://imageshack.us/photo/my-images/832/seleccin007r.png/

8) Same as above.
9) Same as above. Grooveshark options PERSIST.
11) Grooveshark options PERSIST.
15) Grooveshark options DON'T PERSIST.

Attachments to be included in the next 2 comments.

Revision history for this message
Fernando Troya (fertroya) wrote :

Debug info for Comment #14, Step 13.

Revision history for this message
Fernando Troya (fertroya) wrote :

Debug info for Comment #14, Step 16

Revision history for this message
Erik Hedvall (erikwhedvall) wrote :

I'm sorry for my absence. I have been really busy lately, so I'm afraid I forgot to do the test before, but I can do it now. There is one thing though; I suspect the problem can have its origin in my faulty version of Ubuntu. I think it has gone through too many upgrades and the bugs have piled too high. There is other odd things going on and I have tested Nuvola on my laptop and there is no problem there.

I made the test anyway.

I'm using Nuvola Player 1.1~unstable~bzr211 as .deb on Ubuntu 11.10 64bit

Test results:
9) The modified Grooveshark options persists.
11) The modified Grooveshark options persists.
15) The modified Grooveshark options does NOT persists.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Does the issue also affect stable version 1.0.1?

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Could you install package sqlite3 and run command

ls ~/.local/share/webkit/databases/*grooveshark* && sqlite3 ~/.local/share/webkit/databases/*grooveshark* "select * from ItemTable;"

in terminal?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Nuvola Player because there has been no activity for 60 days.]

Changed in nuvola-player:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.