Mastermindzh / tidal-hifi

The web version of Tidal running in electron with hifi support thanks to widevine.
Other
911 stars 54 forks source link

Upgrade to 5.11 does not save settings. #397

Closed frankmcc closed 1 month ago

frankmcc commented 1 month ago

I just upgraded to 5.11 (latest as of today) and now nothing in the settings is being saved. In fact all of my setting have been reverted to defaults. Perhaps a flatpak permission issue?

Kubuntu 22.04.4 LTS Plasma 5.27.11

I was not experiencing any issues on the older version.

Launch from terminal reveals:

flatpak run com.mastermindzh.tidal-hifi [2:0506/105714.339973:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [2:0506/105715.239171:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [2:0506/105715.239193:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory LaunchProcess: failed to execvp: xdg-settings [2:0506/105715.723011:ERROR:browser_main_loop.cc(276)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [2:0506/105715.723102:ERROR:browser_main_loop.cc(276)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [2:0506/105715.723407:ERROR:browser_main_loop.cc(276)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [2:0506/105715.723686:ERROR:browser_main_loop.cc(276)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed [2:0506/105715.723714:ERROR:browser_main_loop.cc(276)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed Refreshing settings failed.

Mastermindzh commented 1 month ago

Might be to do with flatpak... I can't reproduce it on the AUR version unfortunately. The error Refreshing settings failed. in your log might indicate something wrong with the settings file.

If you remove the settings file and let the tool create a new one does it work then? Otherwise you can send me the settingsfile to do more debugging (note, there might be a private key in there so don't share it publically or remove the key first)

frankmcc commented 1 month ago

Where does one find such settings file? It is not obvious to me.

frankmcc commented 1 month ago

I think I found it. attached.
config.json

Strangely, the the setting I want are already set. It just does not seem to show in the GUI: ksnip_20240506-170204

Mastermindzh commented 1 month ago

Can confirm, with your JSON it fails to start, it's probably because you're missing some properties in the JSON or have other corruptions in there. It parses as valid JSON when I copy/paste it but something is wrong with.

The easiest solution is to just remove the invalid JSON: rm ~/.config/tidal-hifi/config.json. A new one will be generated as soon as you start the app 😄

frankmcc commented 1 month ago

Yep, deleting the config.json fixed it. Thanks!

On Tue, May 7, 2024 at 3:15 AM Rick van Lieshout @.***> wrote:

Can confirm, with your JSON it fails to start, it's probably because you're missing some properties in the JSON or have other corruptions in there. It parses as valid JSON when I copy/paste it but something is wrong with.

The easiest solution is to just remove the invalid JSON: rm ~/.config/tidal-hifi/config.json. A new one will be generated as soon as you start the app 😄

— Reply to this email directly, view it on GitHub https://github.com/Mastermindzh/tidal-hifi/issues/397#issuecomment-2097609795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJ33K2AGFLZWVQ33EPPWCDZBB5QHAVCNFSM6AAAAABHJGEUH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGYYDSNZZGU . You are receiving this because you authored the thread.Message ID: @.***>

Mastermindzh commented 1 month ago

@frankmcc great, happy that you can listen to the tunez!