Skip to main content

An extensive music downloader crawling the internet. It gets its metadata from a couple of metadata providers, and it scrapes the audiofiles.

Project description

Music Kraken

Woodpecker CI Status

music kraken logo

Installation

You can find and get this project from either PyPI as a Python-Package, or simply the source code from Gitea. **

NOTES

  • Even though everything SHOULD work cross-platform, I have only tested it on Ubuntu.
  • If you enjoy this project, feel free to give it a star on GitHub.

From source

git clone https://gitea.elara.ws/music-kraken/music-kraken-core.git
python3 -m pip install -e music-kraken-core/

To update the program, if installed like this, go into the music-kraken-core directory and run git pull.

Get it running on other Systems

Here are the collected issues, that are related to running the program on different systems. If you have any issues, feel free to open a new one.

Windows + WSL

Add ~/.local/bin to your $PATH. #2

Quick-Guide

The Genre you define at the start, is the folder my program will download the files into, as well as the value of the ID3 genre field.

When it drops you into the shell 2 main things are important:

  1. You search with s: <query/url>
  2. You choose an option with just the index number of the option
  3. You download with d: <options/url>, where the options are comma separated

Query

The syntax for the query is really simple.

> s: #a <any artist>
searches for the artist <any artist>

> s: #a <any artist> #r <any release>
searches for the release (album) <any release> by the artist <any artist>

> s: #r <any release> Me #t <any track>
searches for the track <any track> from the release <any relaese>

The escape character is as usual \.


Contribute

I am happy about every pull request. To contribute look here.

Matrix Space

music-kraken logo

I decided against creating a discord server, due to various communities get often banned from discord. A good and free Alternative are Matrix Spaces. I recommend the use of the Client Element. It is completely open source.

Click this invitation (https://matrix.to/#/#music-kraken:matrix.org) to join.


Programming Interface / Use as Library

This application is $100%$ centered around Data. Thus, the most important thing for working with musik kraken is, to understand how I structured the data.

Quick Overview

---
title: Quick Overview (outdated)
---
sequenceDiagram

participant pg as Page (eg. YouTube, MB, Musify, ...)
participant obj as DataObjects (eg. Song, Artist, ...)
participant db as DataBase

obj ->> db: write
db ->> obj: read

pg -> obj: find a source for any page, for object.
obj -> pg: add more detailed data from according page.
obj -> pg: if available download audio to target.

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

music_kraken-1.15.2.dev81.tar.gz (104.7 kB view details)

Uploaded Source

Built Distribution

music_kraken-1.15.2.dev81-py3-none-any.whl (136.0 kB view details)

Uploaded Python 3

File details

Details for the file music_kraken-1.15.2.dev81.tar.gz.

File metadata

  • Download URL: music_kraken-1.15.2.dev81.tar.gz
  • Upload date:
  • Size: 104.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for music_kraken-1.15.2.dev81.tar.gz
Algorithm Hash digest
SHA256 d3d9985f527c2071eda8d601e53310eb726b27a5563b23a1eadab4831810760e
MD5 03e98980fb1fb71e06c455c50e2c7cea
BLAKE2b-256 7f831fc7d9eea0e020f31b17b02c52428028e018fc306f4ee989f948e3e82203

See more details on using hashes here.

File details

Details for the file music_kraken-1.15.2.dev81-py3-none-any.whl.

File metadata

File hashes

Hashes for music_kraken-1.15.2.dev81-py3-none-any.whl
Algorithm Hash digest
SHA256 2d03d94318997b024291026e8d4d9416b0be1fcb1233eeab2e034de97d2091c7
MD5 97e74b0a63e68b626618ca1267642e8f
BLAKE2b-256 3e3affd5b57f0316bad7fecc61f8567c931b8c2fe996ff75ce0a31f1e698d1bf

See more details on using hashes here.

Supported by

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