Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install magnatune

How to install magnatune

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install magnatune
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2 Available View build log
0.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Windows (64-bit)
0.2 Available View build log
0.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.2 Available View build log
0.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (32-bit)
0.2 Available View build log
0.1 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.2 Available View build log
0.1 Available View build log
0.2 Available View build log
0.1 Available View build log
 
Author
License
GPLv3
Dependencies
Lastest release
version 0.2 on Jul 23rd, 2011

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)

Subscribe to package updates

Last updated Jul 23rd, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.