Skip to main content

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 (currently not implemented)

📥 Installation

Clone and install dependencies:

git clone https://github.com/sherlockholmesat221b/dabhounds.git
cd dabhounds
pip install -r requirements.txt

Run the tool using Python 3.7+:

python dabhounds.py <link> [--mode strict|lenient|manual]

💡 Usage

Basic Conversion

Convert a Spotify or YouTube link to a DAB library:

python dabhounds.py <spotify_or_youtube_link>

Select Matching Mode

Specify the matching mode (strict, lenient, or manual):

python dabhounds.py <link> --mode lenient

Authenticate with DAB

Login to your DAB account for access to protected libraries and to enable library creation:

python dabhounds.py --login

Authenticate with Spotify (OAuth)

Login to Spotify for access to private playlists. Spotify login is optional and only required for private playlists. Other Spotify or YouTube inputs do not require Spotify login:

python dabhounds.py --spotify-login

Logout

Logout from both DAB and Spotify accounts:

python dabhounds.py --logout

Adjust Fuzzy Match Threshold

Override the default fuzzy search threshold (0-100):

python dabhounds.py <link> --threshold 85

Display Credits and Version

Show acknowledgements or version information:

python dabhounds.py --credits
python dabhounds.py --version

Check for Updates

Check if a new version is available:

python dabhounds.py --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
  • Required Python packages (install via requirements.txt):
    • `requests
    • spotipy
    • yt-dlp
    • musicbrainzngs
    • rapidfuzz

🌐 About DABMusic

DABMusic is a community-driven, open-source digital music library and streaming platform focused on high-quality, unrestricted music access.


👥 Credits


📝 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


Download files

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

Source Distribution

dabhounds-2.0.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

dabhounds-2.0.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file dabhounds-2.0.0.tar.gz.

File metadata

  • Download URL: dabhounds-2.0.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for dabhounds-2.0.0.tar.gz
Algorithm Hash digest
SHA256 748baca7db7922d298fd1754182ec313e379180f36af27f9b3526a5ebcbe215e
MD5 8e9606bf6f0491426d64836f666b58b1
BLAKE2b-256 9463c98d17fe5e861b8dc89d799d6ebd2fd0185dbaccdda672f97f8032d47fba

See more details on using hashes here.

File details

Details for the file dabhounds-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: dabhounds-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for dabhounds-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95c7fb869ca13ae9640cb4ebcc04a1222769a10e52ab9e1023e64a335acb3780
MD5 3b3475f0a52da69825a159e6578d1845
BLAKE2b-256 a75c344af2cd35a6eec0327e0c78b67420de93078d19c1bbbcb9da372e888f66

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