Get Spotify tracks in true FLAC from Tidal, Qobuz & Amazon Music — no account required.
Project description
SpotiFLAC Python Module
Integrate SpotiFLAC directly into your Python projects. Perfect for building custom telegram bots, automation tools, or web interfaces.
Also available as a CLI tool and GUI tool.
Function Signature
from SpotiFLAC import SpotiFLACSpotiFLAC( url: str, output_dir: str, services: list = ["tidal", "deezer", "qobuz", "amazon"], filename_format: str = "{title} - {artist}", use_track_numbers: bool = False, use_artist_subfolders: bool = False, use_album_subfolders: bool = False, loop: int = None )
Parameters
url (str)The Spotify URL (Track, Album, or Playlist) you want to download.
output_dir (str)
The directory path where the files will be saved.
services (list)
A list of strings specifying which services to use and the priority order.
Options: "tidal", "qobuz", "deezer", "amazon".
Example: ["qobuz", "tidal"].
filename_format (str)
Specify the format for naming downloaded files. Available placeholders:
{title}, {artist}, {album}, {track}, {date}, {year}, {position}, {isrc}, {duration}.
Default is "{title} - {artist}".
use_artist_subfolders (bool)
Set to True to organize downloaded files into subfolders by artist.
use_album_subfolders (bool)
Set to True to organize downloaded files into subfolders by album.
loop (int)
Specify the duration in minutes to keep retrying downloads in case of failures. Default is None (no retries).
Example usage:
from SpotiFLAC import SpotiFLACSimple Download
SpotiFLAC( url="https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT", output_dir="./downloads" )
Advanced Configuration
SpotiFLAC( url="https://open.spotify.com/album/41MnTivkwTO3UUJ8DrqEJJ", output_dir="./MusicLibrary", services=["qobuz", "amazon", "tidal"], filename_format="{year} - {album}/{track}. {title}", use_artist_subfolders=True, use_album_subfolders=True )
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
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 spotiflac-0.2.0.tar.gz.
File metadata
- Download URL: spotiflac-0.2.0.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2aedffd02af324443b74b01c7a847c3d743ea2f1b0bdedf243e6ca43f668e1b
|
|
| MD5 |
4dfce9b82fa4580507e945fa6ba2e178
|
|
| BLAKE2b-256 |
010c78c3216727f12940bb4bc2d0eff7526c930594b75ef5875064e5d6c924ec
|
File details
Details for the file spotiflac-0.2.0-py3-none-any.whl.
File metadata
- Download URL: spotiflac-0.2.0-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62a5b9d45467a6a40644b73454146803c0487810140c691c4d0c9254aaf74012
|
|
| MD5 |
8c72c3f2466d6b8eceac43f7682ea643
|
|
| BLAKE2b-256 |
25ea2ff65ffb67a27cabd4eacebbdcf97b3aeced1c5afd7657b9ec4afaae0a95
|