tiliado / nuvolaplayer

Nuvola Player - Tight integration of web-based media streaming services with your desktop
https://nuvola.tiliado.eu/
BSD 2-Clause "Simplified" License
334 stars 27 forks source link

DI.FM: current settings are not saved #658

Closed mzuther closed 2 years ago

mzuther commented 4 years ago

Basic information

Describe the bug

  1. Start DI.FM script
  2. Accept the warning about version mismatch (the problem occurred with the former version, too)
  3. Click on a radio station or playlist to start playing
  4. Change volume to 50%
  5. Quit DI.FM script using the Hamburger menu
  6. Re-start DI.FM script, either directly or after re-starting your PC
  7. Tthe DI.FM script defaults to a default playlist (Future House in my case) and to a volume of approx. 80%

Expected behavior

The DI.FM script should remember current settings such as currently played item or radio station and volume.

I have checked the browser-based web app using Firefox and it showed the same problem. But when I allowed storing cookies for http://di.fm and https://di.fm, the problem vanished and my settings were restored correctly.

Debugging log

runtime.log difm_1st.log difm_2nd.log

Thanks! :)

jiri-janousek commented 4 years ago

Hello @mzuther, thanks for your bug report :-)

jiri-janousek commented 4 years ago

I have checked the browser-based web app using Firefox and it showed the same problem. But when I allowed storing cookies for http://di.fm and https://di.fm, the problem vanished and my settings were restored correctly.

Could you elaborate more on what exactly did you do to allow storing cookies?

mzuther commented 4 years ago

Of course. Open section "Privacy & Security" in Firefox's preferences and enable "Delete cookies and site data when Firefox is closed". I have used this setting for so long now that I do not notice it anymore – sorry...

In case you have not used this setting before, you should use a new profile, otherwise all your logins and site data will be deleted whenever you close Firefox!

Now do this:

  1. Open https://www.di.fm/ in Firefox and log in
  2. Click on a radio station or playlist to start playing
  3. Change volume to 50%
  4. Log out of DI.FM and close Firefox
  5. Open https://www.di.fm/ in Firefox and log in
  6. DI.FM uses to a default playlist and volume

Go to Firefox's preferences again and click on "Manage Exceptions" (right next to "Delete cookies and site data when Firefox is closed"). Enter "di.fm" in the text field, click on "Allow" and "Save Changes". This will allow cookies and site data to be stored for both http://di.fm and https://di.fm.

Now, repeat the steps in the list above. In the last step, DI.FM should now "remember" your settings.

Can you reproduce this?

jiri-janousek commented 4 years ago

Thanks, I'll look at it next month.

jiri-janousek commented 3 years ago

I'm afraid I haven't managed to look at it during Nuvola 4.19 release cycle.

mzuther commented 3 years ago

Never mind, I appreciate that you thought about it... :smile:

jiri-janousek commented 2 years ago

I'm closing this ticket as Nuvola Player has discontinued active development. We are going to provide only integration bug fixes on a best-effort basis until the final End-of-Life on December 31, 2022. I'm sorry that I haven't managed to resolve this ticket in time.