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

Custom download directory #58

Open fr-timothe opened 4 months ago

fr-timothe commented 4 months ago

Hello, Im on a Steam Deck and only have 64go of storage. However I got a sd card of 500go. Is there any way of modifying where the music download?

Ive already try to add an extra directory on FlatPack however I can't because I can't modify the config file even in SUDO !

So yeah, and I need to have this setup for saturday...

Thanks to anyone trying to help me.

Meincrakker commented 2 months ago

Hi @fr-timothe, I guess you needed it last month but I guess I can still help you out :D

So the problem is, that Deezer doesn't have a way to select the download location of your music. Since this project compiles the Deezer-App written for windows we also can't change that. (If you wanted to add an extra directory you could easily do this with an application called Flatseal - it's really great)

Anyways, I think the Flatpak Deezer-App only stores its files in the container that Flatpak installed it in, so you could use this solution, in which you specify where deezer is installed.

The easier way, that may not work because I can't test it on Arch: All deezer versions (except the Flatpak-Version) download everything to ~/.config/deezer-desktop If you get the Deezer-App through the AUR it should also download the files there.

  1. Close Deezer
  2. You can move this file with mv ~/.config/deezer-desktop/ "/Path/to/SD/Card",
  3. then you create a symbolic link using ln -s "/Path/to/SD/Card" ~/.config/deezer-desktop.
  4. Launch Deezer again
fr-timothe commented 2 months ago

Hello @Meincrakker. Unfortunately I needed it for last month but it can be very useful. I will test it and will tell you if it's working. Thank you very much!

DanielRios549 commented 2 months ago

I solved this problem by symlinking ~/.config/deezer-desktop/IndexedDB, pointing to ~/Music/Deezer in my case. As you probably already have this folder, you can copy the IndexedDB folder to wherever you want to keep it, and after that create the symlink.