mp3play 0.1.0
A simple interface for playing music from an MP3 file.
Latest Version: 0.1.15
------------
mp3play
------------
Allows your Windows Python program to play and stop MP3s, without opening
an external player or requiring any external programs. A very simple
interface for the common case (playing an entire MP3), with an API for
more complex tasks (e.g. playing from seconds 30 to 45 of an MP3).
Example
=======
Play the first 30 seconds of a file.
::
import mp3play
file = r'C:\Documents and Settings\Michael\Desktop\music.mp3'
mp3 = mp3play.Mp3(file)
mp3.play()
import time
time.sleep(min(30, mp3.seconds()))
mp3.stop()
Requirements
============
Requires Windows XP at the moment, but the goal is to make a
cross-platform module. Feel free to send patches to add Linux and
Mac support!
Resources
=========
* Homepage: http://mp3play.googlecode.com/
* Source:
- Browse at http://code.google.com/p/mp3play/source/browse/trunk/
- Get with **svn co http://mp3play.googlecode.com/svn/trunk/
mp3play-read-only**
Please let me know if you like or use this module - it would make
my day!
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| mp3play-0.1.0-py2.4.egg (md5) | Python Egg | 2.4 | 2008-08-12 22:10:35 | 2KB | 132 |
| mp3play-0.1.0.zip (md5) | Source | 2008-08-12 22:10:34 | 5KB | 80 | |
| mp3play-0.1.0-py2.5.egg (md5) | Python Egg | 2.5 | 2008-08-12 22:10:34 | 3KB | 136 |
- Author: Michael Gundlach <gundlach at gmail com>
- Home Page: http://code.google.com/p/mp3play/
- Keywords: mp3 api play music audio python module
-
Categories
- Development Status :: 5 - Production/Stable
- Environment :: Win32 (MS Windows)
- Intended Audience :: Developers
- License :: OSI Approved :: Apache Software License
- Operating System :: Microsoft :: Windows
- Programming Language :: Python
- Topic :: Multimedia :: Sound/Audio
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: gundlach
- DOAP record: mp3play-0.1.0.xml
Log in to rate this package.
