TIDAL Media Downloader Next Generation!
Project description
TIDAL Downloader Next Generation! (tidal-dl-ng)
[FORK] For DJ with management feature
Unfortunately, as I don't have time to work on the project, I invite you to try to resolve the problem yourself by following the instructions in the various ".md" files of the project and to make merge requests which I will accept or reject depending on the code.
Thank you for your understanding.
This tool allows you to download songs and videos from TIDAL. Multithreaded and multi-chunked downloads are supported.
⚠️ Windows Defender / Anti Virus software / web browser alerts, while you try to download the app binary: This is a false positive. Please read this issue, PyInstaller (used by this project) statement and the alternative installation solution.
A paid TIDAL plan is required! Audio quality varies up to HiRes Lossless / TIDAL MAX 24-bit, 192 kHz depending on the song available. Dolby Atmos is supported. You can use the command line or GUI version of this tool.
$ tidal-dl-ng --help
Usage: tidal-dl-ng [OPTIONS] COMMAND [ARGS]...
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --version -v │
│ --help -h Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ cfg Print or set an option. If no arguments are given, all options will │
│ be listed. If only one argument is given, the value will be printed │
│ for this option. To set a value for an option simply pass the value │
│ as the second argument │
│ dl │
│ dl_fav Download from a favorites collection. │
│ gui │
│ login │
│ logout │
╰──────────────────────────────────────────────────────────────────────────────╯
💻 Installation / Upgrade
Requirements: Python version 3.12 / 3.13 (other versions might work but are not tested!)
pip install --upgrade tidal-dl-ng
# If you like to have the GUI as well use this command instead
pip install --upgrade "tidal-dl-ng[gui]"
⌨️ Usage
You can use the command line (CLI) version to download media by URL:
tidal-dl-ng dl https://tidal.com/browse/track/46755209
# OR
tdn dl https://tidal.com/browse/track/46755209
Or by your favorites collections:
tidal-dl-ng dl_fav tracks
tidal-dl-ng dl_fav artists
tidal-dl-ng dl_fav albums
tidal-dl-ng dl_fav videos
You can also use the GUI:
tidal-dl-ng-gui
# OR
tdng
# OR
tidal-dl-ng gui
If you would like to use the GUI version as a binary, have a look at the release page and download the correct version for your OS.
🧁 Features
- Download tracks, videos, albums, playlists, your favorites etc.
- Multithreaded and multi-chunked downloads
- Metadata for songs (including extended metadata like genres, producers, composers when available from TIDAL API - see metadata documentation)
- Adjustable audio and video download quality.
- FLAC extraction from MP4 containers
- Lyrics and album art / cover download
- Creates playlist files
- Can symlink tracks instead of having several copies, if added to different playlist
- 🆕 Quick View on Hover (GUI): Hover over tracks to instantly preview rich metadata without clicking ( see feature documentation)
▶️ Getting started with development
🚰 Install dependencies
Clone this repository and install the dependencies:
# First, install Poetry. On some operating systems you need to use `pip` instead of `pipx`
pipx install --upgrade poetry
poetry install --all-extras --with dev,docs
The main entry points are:
tidal_ng_dl/cli.py
tidal_ng_dl/gui.py
📺 GUI Builder
The GUI is built with PySide6 using the Qt Designer:
PYSIDE_DESIGNER_PLUGINS=tidal_dl_ng/ui pyside6-designer
After all changes are saved, you need to translate the Qt Designer *.ui file into Python code, for instance:
pyside6-uic tidal_dl_ng/ui/main.ui -o tidal_dl_ng/ui/main.py
This needs to be done for each created / modified *.ui file accordingly.
🏗 Build the project
To build the project use this command:
# Install virtual environment and dependencies if not already done
make install
# Build macOS GUI
make gui-macos-dmg
# OR Build Windows GUI
make gui-windows
# OR Build Linux GUI
make gui-linux
# Check build output
ls dist/
See the Makefile for all available build commands.
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.
To finalize the set-up for publishing to PyPi or Artifactory, see here. For activating the automatic documentation with MkDocs, see here. To enable the code coverage reports, see here.
❓ FAQ
macOS Error Message: File/App is damaged and cannot be opened. You should move it to Trash
If you download an (unsigned) app from any source other than those that Apple seems suited, the application gets an extended attribute "com.apple.Quarantine". This triggers the message: " is damaged and can't be opened. You should move it to the Bin."
Remove the attribute and you can launch the application. Source 1 Source 2
sudo xattr -dr com.apple.quarantine /Applications/TIDAL-Downloader-NG.app/
Why is this app unsigned? Only developer enrolled in the paid Apple developer program are allowed to sign (legal) apps. Without this subscription app signing is not possible.
Gatekeeper really annoys you, and you like to disable it completely? Follow this link
My (Windows) antivirus app XYZ says the GUI version of this app is harmful
Short answer: It is a lie. Get rid of your antivirus app.
Long answer: See here
I get an error when extract_flac is enabled
Your path_binary_ffmpeg is probably wrong. Please read over and over again the help of this particular option until
you get it right what path to put for path_binary_ffmpeg.
My Linux (e.g. Ubuntu) complains that libxcb-cursor0 is not installed
Simply install this dependency using your OS specific package manager.
Ubuntu / Debian
sudo apt install libxcb-cursor0
A terminal is flashing when I run this app on Windows
Please see this issue #103.
This is due to the Python ffmpeg library which is used and only happens on windows if extract_flac is activated.
How can I download Dolby Atmos files?
You need to activate download_dolby_atmos in the settings. Then, if an item is available in Dolby Atmos, it will be
downloaded as an Dolby Atmos file instead of as an stereo audio file. Dolby Atmos ist only available as 320kbps at
TIDAL (you cannot adjust the quality for Dolby Atmos downloads). If an item is available in Dolby Atmos the "Quality"
column in the GUI will indicate this with Dolby Atmos
Why do some metadata fields show "—" or "N/A"?
Some metadata fields like Genres, Producers, Composers, Label, or BPM may display — because the TIDAL API does not
provide this information for that specific track or album. This is not a bug - TIDAL simply doesn't have or doesn't
expose this data via their API.
- Bitrate shows "N/A" for LOSSLESS tracks because they use variable bitrate compression
- Extended metadata (genres, producers, etc.) depends on what TIDAL receives from music labels
- See the detailed metadata documentation for more information
‼️ Disclaimer
-
For educational purposes only. I am not liable and responsible for any damage that happens.
-
You should not use this method to distribute or pirate music.
-
It may be illegal to use this app in your country.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tidal_dl_ng_for_dj-0.33.4.tar.gz.
File metadata
- Download URL: tidal_dl_ng_for_dj-0.33.4.tar.gz
- Upload date:
- Size: 341.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4f11ddda3ffa29c4c169909db80d4a10a18ecfe5efbaf677e2187ac8f6a4b6f
|
|
| MD5 |
372abd0456bb651b137bf7f3d57c66c6
|
|
| BLAKE2b-256 |
7376d7dc51b40e75ffee5ec426de1b9eefbfc9f6645c80dd09b3f6eea24eb536
|
File details
Details for the file tidal_dl_ng_for_dj-0.33.4-py3-none-any.whl.
File metadata
- Download URL: tidal_dl_ng_for_dj-0.33.4-py3-none-any.whl
- Upload date:
- Size: 365.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.14.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28355b9d9672aec4219db920ee2061b37d7b876436abe7655ed11658031f868b
|
|
| MD5 |
2f67f3cddb158f0984c0c24ed2afe65c
|
|
| BLAKE2b-256 |
d529775591a9a2b6cbb25d6033f90d664b47a59debe4448ec160817e046a86a3
|