![]() feature: download your favorite Deezer songs.allow to set download quality (flac|mp3) via environment variable DEEZER_FLAC_QUALITY (#43).update ubuntu base image for the docker container.fix broken deezer download functionality (#66, removes the ability to download flac quality).worker threads now "daemon threads" (they now just stop if you stop deezer-downloader).(almost always outdated) Changelog Version 2.0.0 () Deployment with Ansible (including mpd and ympd) Some tests will fail because there is no valid arl_cookie. # if you don't setDEEZER_DOWNLOADER_CONFIG_FILE the default template file will be used. You can download them as zip file.ĭEEZER_DOWNLOADER_CONFIG_FILE=settings.ini poetry run pytest -v -s You can listen to a 30 second preview in the browser. # 1) Adjust the Deezer cookie: vim settings.ini # 2) Run tests: DEEZER_DOWNLOADER_CONFIG_FILE=settings.ini poetry run pytest -v -s # 3) Run it: poetry run deezer-downloader -config settings.ini # 4) Try out: ncmpcpp -h 127.0.0.1 & xdg-open # 5) Downloaded files are in /tmp/deezer-downloaderĬtrl-b: go to / (this is where our ympd is)Ĭtrl-shift- switch tabs Some screenshots Sed -i 's/.*use_mpd = False.*/use_mpd = True/ ' settings.ini Sudo sed -i 's,^music_directory.*,music_directory "/tmp/deezer-downloader", ' /etc/mpd.conf Sed -i 's.*command = /usr/bin/yt-dlp.*,command = /usr/local/bin/yt-dlp, ' settings.ini Poetry run deezer-downloader -show-config-template > settings.ini ![]() # python3-poetry is too old (does not support groups. Sudo apt-get install -qy vim tmux git ffmpeg For debugging: sudo docker-compose build -force-rm & sudo docker-compose up developer setup (tested on Ubuntu Jammy) If you also have the uid 1000 then there should be no problem. The deezer user in the docker container has uid 1000. You have to check the permissions of the docker/downloads directory as docker mounts it with the same owner/group/permissions as on the host. The docker/downloads directory is mounted into the container and will be used as download directory. If you want to debug or build it from source: there is a docker-compose file in the docker directory. The debug tab will show you the debug output of the app.Shortcuts There is also a patch to add a link to the ympd frontend. The deployment directory contains a systemd unit file and a nginx vhost config file. We use it with nginx and ympd as mpd frontend Ncmpcpp -h 127.0.0.1 # try the mpd client as a service ![]() Sudo vim /opt/deezer/settings.ini # insert your Deezer cookie cd /opt/deezer & sudo poetry run deezer-downloader -config settings.ini Login into your free Deezer account and grab the arl cookie. Then you can run ~/.local/bin/deezer-downloader -help with Docker You can run pip install -user deezer-downloader. Instead you have to manually insert a valid Deezer cookie to the settings.ini. The download_dir must be a subdirectory of music_dir.Īs Deezer sometimes requires a captcha to login the auto login features was removed. In settings.ini music_dir should be the music root location of mpd. If use_mpd=True is set the mpd database will be updated and the song/album/playlist will be added to the playlist. Pressing the play button will download the music. If you set use_mpd=True in the settings.ini the backend will connect to mpd (localhost:6600) and update the music database. Pressing the download button only downloads the song/album/playlist. You can specify the download directory with download_dir. There is a settings file template called. MPD integration (use it on a Raspberry Pi!).KISS (keep it simple and stupid) front end.320 kbit/s mp3s with ID3-Tags and album cover (UPDATE: right now only 128bkit/s mp3 works, see #66).download as zip file (including m3u8 playlist file).download Spotify playlists (by parsing the Spotify website and download the songs from Deezer).download songs, albums, public playlists from (account is required, free plan is enough).
0 Comments
Leave a Reply. |