-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hi
In #16 I requested to create a decryption proxy, which you promptly implemented (thanks again!). I figured to show my appreciation I'd share my setup and maybe it could be interesting for some people (you can add it to the wiki if you want).
I use this python script to export Deezer albums or playlists as m3u playlist.
Preparation
- Export a playlist with
dzr-export.py --playlist <playlist-id>(open a playlist in the Deezer Web-Client and copy the ID at the end of the URL. The playlist has to be public, so make sure to publish it first on Deezer) - Export an album with
dzr-export.py --album <album-id>(open an album in the Deezer Web-Client and copy the ID at the end of the URL)
An .m3u file will be created at the current location. Each entry will be in the format http://0.0.0.0:8000/cgi-bin/dzr?track_ID
Prepare dzr for streaming:
mkdir -p ./cgi-bin/ && install dzr* ./cgi-bin/
python3 -m http.server --cgiNow you can open the playlist with mpv or the player of your choice.
To accelerate your workflow you can use tools like rofi, dmenu, fzf or any picker app of your choosing to load the .m3u's and/or to pick the track from the playlist. I use mpvc (my own project) to remote-control my mpv instance. And that's how I built myself a very lightweight Deezer client with playlist support and dzr as my backbone. I use it on a daily basis! Thank you again for this awesome tool.