aunetx / deezer-linux

An universal linux port of deezer, supporting Flatpak, Appimage, Snap, RPM, DEB...
https://flathub.org/apps/dev.aunetx.deezer
288 stars 14 forks source link

Deezer Cache Location? #26

Open quicksketch opened 1 year ago

quicksketch commented 1 year ago

Hello! Thanks so much for creating this project. Without it, I don't think I could have switched to Deezer from Spotify.

I've been having trouble with the "Flow" playlist. Sometimes it plays the same songs repeatedly. Some times it doesn't work at all. Deezer forums and support have indicated this might be a cache issue, but when using the Flatpak Deezer, I can't locate the cache at all. Visiting Profile -> Account Settings -> More -> App Preferences, it indicates that Deezer is not using any cache:

image

I'm not sure if there isn't a cache, or if the Flatpak just can't see it. Either way, that seems like it could be causing my potential problems. Where on the disk is the cache supposed to be stored?

arch-btw commented 1 year ago

/var/tmp/flatpak-cache

quicksketch commented 1 year ago

Thanks @arch-btw. This might confirm that the cache is not being used at all. There are no files in any of the /var/tmp/flatpak-cache-* directories. Although currently I can't get any Flow playlist to play anything at all. All other "Made for you", "Recently played", etc playlists all work.

XioNoX commented 8 months ago

I had a quick look at that and when started snap passes the following environnement variables to the app:

09:42:41:574 flatpak2     --setenv
09:42:41:574 flatpak2     XDG_CACHE_HOME
09:42:41:574 flatpak2     /home/xionox/.var/app/dev.aunetx.deezer/cache

So ideally the app could use that path.