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

📥 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: To setup Spotify OAuth, refer to this guide

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


📝 License

GNU Affero General Public License v3.0.0.

Copyright (C) 2025 sherlockholmesat221b

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty o MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

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.1.1.tar.gz (37.0 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.1.1-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dabhounds-2.1.1.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dabhounds-2.1.1.tar.gz
Algorithm Hash digest
SHA256 76ed37c24b1e4d43c0b731198e9a60e260cfdf7cb38339abad6a44645e429223
MD5 346fe41ad0599d11f0643e5803b02de8
BLAKE2b-256 53c77400fab35edf389c022f941832b9ab73bdfed30dae5997e755e0052377cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dabhounds-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dabhounds-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4263771342a4370117e5b169fd91cc2bf2e2221767cf0af87ef542d600738b75
MD5 f7b4a9ab21b5b208dbb7fbbeb7400c3d
BLAKE2b-256 1d9fbe75e0d0b7a079a2559aa392845427974691af6c3b333ee7e86d305660e8

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