Convert Spotify and YouTube playlists into DAB libraries
Project description
🐾 DABHounds
DABHounds is a command-line utility that converts Spotify and YouTube playlists or individual tracks into DABMusic libraries by matching tracks and generating compatible playlists.
It supports multiple matching modes to optimize accuracy and lets you authenticate with both DAB and Spotify for private content access.
🚀 Features
- Input from Spotify, YouTube, or ISRC codes
- Three matching modes:
- strict — match only by ISRC
- lenient — fallback to fuzzy matching if ISRC unavailable
- manual — interactive track selection from search results
- Login and logout management for DAB and Spotify
- Customizable fuzzy matching threshold
- Shows credits and version info
- Update check feature
📥 Installation
Install via PyPI:
pip install dabhounds
💡 Usage
Once installed, the dabhounds command is available globally:
Show Version
dabhounds --version
Show Help
dabhounds --help
Convert a Spotify or YouTube Link
dabhounds <spotify_or_youtube_link>
Select Matching Mode
dabhounds <link> --mode lenient
Authenticate with DAB
dabhounds --login
Authenticate with Spotify (OAuth)
dabhounds --spotify-login
Note: For Spotify OAuth to work, you will have to contact the owner.
Logout
dabhounds --logout
Adjust Fuzzy Match Threshold
dabhounds <link> --threshold 85
Display Credits
dabhounds --credits
Check for Updates
dabhounds --update
⚙️ Command-Line Options
| Option | Description |
|---|---|
<link> |
Spotify, YouTube URL, or ISRC input |
--mode {strict,lenient,manual} |
Choose matching mode (default: lenient) |
--login |
Log in to DAB (required for library creation) |
--logout |
Log out from DAB and Spotify |
--spotify-login |
Authenticate with Spotify via OAuth (optional) |
--threshold <0-100> |
Set fuzzy search match threshold percentage |
--version |
Show current version |
--credits |
Show tool credits and acknowledgements |
--update |
Check for updates |
🧩 Dependencies
- Python 3.7 or higher
- Installed automatically via pip:
- requests
- spotipy
- yt-dlp
- musicbrainzngs
- rapidfuzz
🌐 About DABMusic
DABMusic is a community-driven, digital music streaming platform focused on high-quality, unrestricted music access.
👥 Credits
- Developer: sherlockholmesat221b (sherlockholmesat221b@proton.me)
- superadmin0 (Creator of DABMusic) — for building and maintaining DABMusic, the rock-solid foundation for this tool.
- uimaxbai (Contributor/Developer at DABMusic) — for guiding the development of this tool and testing it firsthand.
- joehacks (Contributor/Developer at DABMusic) — for testing the tool firsthand.
- Squid.WTF — for graciously allowing the use of their API.
📝 License
MIT License
Copyright (c) 2025 sherlockholmesat221b
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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 dabhounds-2.0.5.tar.gz.
File metadata
- Download URL: dabhounds-2.0.5.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb83123602d59459997986e6312347997fadb6322830c7e8fbbbe1f624af45f5
|
|
| MD5 |
678f908a7526a4bf0f21415cb54c06dd
|
|
| BLAKE2b-256 |
1933a0e2495cbc36c3829aba8d155c2edb27a703f03aa0defa4bc757ae4e507c
|
File details
Details for the file dabhounds-2.0.5-py3-none-any.whl.
File metadata
- Download URL: dabhounds-2.0.5-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18328fd7313cdac7a28ff77068664a08ef30b697853ff66f2be47bf24f8742ab
|
|
| MD5 |
c7b06e865aa3ebeaaa5c344f65fa7c88
|
|
| BLAKE2b-256 |
43bc50eb8ccc58d7f809b89c404e9233eb07414aef292662620f610951a7bd6b
|