Skip to main content

Introduction

python-magnatune provides a simple command line utility called magnatune that can be used to search the magnatune database and get the streaming urls.

For example, to get all the albums from Curl

magnatune --artist Curl

To get the streaming urls of all songs from Curl

magnatune --artist Curl --stream

The result can be user with mpc, for example to add all those songs to mpd

magnatune --artist Curl --stream | mpc add

If you have a subscription login and want to hear the music without ads, you can use it

magnatune --artist Curl --login login:passwd --stream

You can also download albums. This will download all the albums of curl, and extract them to the current dir

magnatune --artist Curl --login login:passwd --download --dlformat ogg --extract

Of course, there is a short version. With the login and dlformat set in my config file, I just do

magnatune -a Curl -de

Install

python-magnatune requires python 3. I strongly recommend that you use virtualenv. With virtualenv installed, you can install python-magnatune by doing

pip install magnatune

To work with the development version, clone the repository at https://github.com/madjar/python-magnatune and do

pip install -e .

Config file

python-magnatune looks for default values of all arguments in the config file ~/.python-magnatune/config.ini. See config.ini.example for more information.

Contribute

The source code is available on github.

If you notice a bug or have a request, please file a report

Credits

Author:

Georges Dubus (madjar)

Metadata

Release files for magnatune 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magnatune 0.2
File Size Uploaded
magnatune-0.2.tar.gz 19.8 kB Details

Release files / magnatune-0.2.tar.gz

Download URL magnatune-0.2.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fc2445ee89dc720b8eea0a66471ae5d8a0ba1c61ab681c87910f35a7e0ea60f2
BLAKE2b-256 checksum
How to use checksums
739c0a306be2c6c110f16a17513a5214b0c93ad1ad2edf839aade40a2c53398b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page