Play mp3 files over the commandline
Project description
mp3p
command line mp3-player
Description
mp3p is a python program used to play mp3 files.
Commands
play - plays an audio file given as an argument or starts playback after the pause command (no argument)
pause - pauses the playback and also continues playback if paused
stop - stops the playback
volume - sets the volume based on an argument given as a percentage
mute - toggles between 0% volume and the last nonzero volume
goto - jumps to the specified timestamp in the audio file
jump - jump forward or backward in the audio by the specified amount in seconds
exit - exit out of the program
Istallation
Use the package manager pip to install mp3p.
pip install mp3p
Usage
$ mp3p
(mp3p) play test.mp3
(mp3p) volume 50
(mp3p) pause
(mp3p) play
(mp3p) mute
(mp3p) stop
The timestamp can be specified as:
(hours:minutes:seconds)
(minutes:seconds)
(seconds)
(mp3p) goto 1:25:04
(mp3p) goto 45:23
(mp3p) goto 12
(mp3p) jump +30
(mp3p) jump -15
License
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
Built Distribution
File details
Details for the file mp3p-1.0.1.tar.gz
.
File metadata
- Download URL: mp3p-1.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a789b0fe6ecafd0402e842bca9a76f84a12c18c1d22691ff9c619d82451aa59 |
|
MD5 | 24b6e4f0f66d15eba0688828c0ce78df |
|
BLAKE2b-256 | 40547c8466feb2fc6f102ba4f5fefa1ca2eec341b1560312f9a352db7e19fb05 |
File details
Details for the file mp3p-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mp3p-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a11952ff4d3dffa80e06d29b1432f8a25bcd1399be9c838fce1d74ffc20c14e2 |
|
MD5 | b7c3fbae55b32cf62fc2e6dfd9d96f5b |
|
BLAKE2b-256 | e7d9de1b530b4cc8b26c65f74a540429883832d40c0acb62132f85eef8fc7382 |