A simple interface for playing music from an MP3 file.
Project description
------------
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!
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!
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
mp3play-0.1.0.zip
(5.3 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mp3play-0.1.0-py2.5.egg
(3.9 kB
view details)
mp3play-0.1.0-py2.4.egg
(2.5 kB
view details)
File details
Details for the file mp3play-0.1.0.zip.
File metadata
- Download URL: mp3play-0.1.0.zip
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa6443ba4867ef76e35e523229f538ccff817ee1a89ad4f40b2b8dea3d666fa0
|
|
| MD5 |
52744085342a21bd5b2ca3f8483f773a
|
|
| BLAKE2b-256 |
4d47b64008a649b5eb56791cee2fc0f188e2db03fbcc66fe707a7406b99085ae
|
File details
Details for the file mp3play-0.1.0-py2.5.egg.
File metadata
- Download URL: mp3play-0.1.0-py2.5.egg
- Upload date:
- Size: 3.9 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
623eb61b90246cc3a3ec1fd0b6f5b60843df1d0ba3b82ce2c81f7f23d4f81bb1
|
|
| MD5 |
510e0ea992a0078db14b42aa0565b837
|
|
| BLAKE2b-256 |
cdacbf13d47ae69aa76232109f0018b330e6ef15d384af01f196d1350d69c7a5
|
File details
Details for the file mp3play-0.1.0-py2.4.egg.
File metadata
- Download URL: mp3play-0.1.0-py2.4.egg
- Upload date:
- Size: 2.5 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0d31bbaee13dad2d2452e5497eab96594df63854191e3d77882861ed50f8154
|
|
| MD5 |
4f202c20ab771aabcf54b1cb334caadb
|
|
| BLAKE2b-256 |
aad696324f390d2aa4a09f6b9d3d6a95c7889160e212d0c1ebe8878cbc6d862e
|