Skip to main content

Download Tidal tracks with CLI downloader.

Project description

Tidal Downloader

Download tracks and videos from Tidal with max quality! tiddl is CLI app written in Python.

[!WARNING] This app is for personal use only and is not affiliated with Tidal. Users must ensure their use complies with Tidal's terms of service and local copyright laws. Downloaded tracks are for personal use and may not be shared or redistributed. The developer assumes no responsibility for misuse of this app.

PyPI - Downloads PyPI - Version

Installation

tiddl is available at python package index and you can install it with your favorite Python package manager.

[!IMPORTANT] Also make sure you have installed ffmpeg - it is used to convert downloaded tracks to proper format.

uv

We recommend using uv

uv tool install tiddl

To install exact version e.g. 3.4.1

uv tool install tiddl==3.4.1

pip

You can also use pip

pip install tiddl

docker

coming soon

Usage

Run the app with tiddl

$ tiddl
 Usage: tiddl [OPTIONS] COMMAND [ARGS]...

 tiddl - download tidal tracks ♫

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --omit-cache            --no-omit-cache      [default: no-omit-cache]                                       │
│ --debug                 --no-debug           [default: no-debug]                                            │
│ --install-completion                         Install completion for the current shell.                      │
│ --show-completion                            Show completion for the current shell, to copy it or customize │
│                                              the installation.                                              │
│ --help                                       Show this message and exit.                                    │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ auth       Manage Tidal authentication.                                                                     │
│ download   Download Tidal resources.                                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Authentication

Login to app with your Tidal account: run the command below and follow instructions.

tiddl auth login

Downloading

You can download tracks / videos / albums / artists / playlists / mixes.

$ tiddl download url <url>

[!TIP] You don't have to paste full urls, track/103805726, album/103805723 etc. will also work

Run tiddl download to see available download options.

Quality

Quality File extension Details
LOW .m4a 96 kbps
NORMAL .m4a 320 kbps
HIGH .flac 16-bit, 44.1 kHz
MAX .flac Up to 24-bit, 192 kHz

Output

You can format filenames of your downloaded resources and put them in different directories.

For example, setting output flag to "{album.artist}/{album.title}/{item.number:02d}. {item.title}" will download tracks like following:

Music
└── Kanye West
    └── Graduation
        ├── 01. Good Morning.flac
        ├── 02. Champion.flac
        ├── 03. Stronger.flac
        ├── 04. I Wonder.flac
        ├── 05. Good Life.flac
        ├── 06. Can't Tell Me Nothing.flac
        ├── 07. Barry Bonds.flac
        ├── 08. Drunk and Hot Girls.flac
        ├── 09. Flashing Lights.flac
        ├── 10. Everything I Am.flac
        ├── 11. The Glory.flac
        ├── 12. Homecoming.flac
        ├── 13. Big Brother.flac
        └── 14. Good Night.flac

[!NOTE] Learn more about file templating

Configuration files

Files of the app are created in your home directory. By default, the app is located at ~/.tiddl.

You can (and should) create the config.toml file to configure the app how you want.

You can copy example config from docs config.example.toml

Environment variables

Custom app path

You can set TIDDL_PATH environment variable to use custom path for tiddl app.

Example CLI usage:

TIDDL_PATH=~/custom/tiddl tiddl auth login

Auth stopped working?

Set TIDDL_AUTH environment variable to use another credentials.

TIDDL_AUTH=<CLIENT_ID>;<CLIENT_SECRET>

Development

Clone the repository

git clone https://github.com/oskvr37/tiddl
cd tiddl

You should create virtual environment and activate it

uv venv
source .venv/Scripts/activate

Install package with --editable flag

uv pip install -e .

Resources

Tidal API wiki (api endpoints)

Tidal-Media-Downloader (inspiration)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiddl-3.4.3.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiddl-3.4.3-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file tiddl-3.4.3.tar.gz.

File metadata

  • Download URL: tiddl-3.4.3.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tiddl-3.4.3.tar.gz
Algorithm Hash digest
SHA256 e39287352d483f9f43b07f22dae43bb2e6ba4f6d6f5bf630d4f420e798f32c6b
MD5 68cfb134ef2e590352736fb7091ab763
BLAKE2b-256 96ebb59eba314afa60308048f1e2a43e651f8229297efd9c9c2f0851efc94259

See more details on using hashes here.

File details

Details for the file tiddl-3.4.3-py3-none-any.whl.

File metadata

  • Download URL: tiddl-3.4.3-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tiddl-3.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0219fbb0b2b1a773340589d24c56eec98a85efffcaa8efbebe9dbe541a401fc
MD5 e9f8334a3c77ab91f8bfea353eaef496
BLAKE2b-256 d3535098cb4b1ce2047ff3540d6ec05b076e0cc1a02a568deecfbdc72c722fcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page