Ultra-minimal command line mp3 player for windows/linux/mac
Project description
mpy3 🐍
Ultra-minimal cli mp3 player
Want to play mp3 without distractions like GUIs, playlists or features? Look no further!
mpy3 is a very, very, veeerrry simple command line mp3 player that can be pip installed.
Navigate to a folder with mp3s in it (or in a subdirectory) using the command line and run:
$ mpy3
You should see something like this (and importantly hear music):
>> [1/12] Patricia Wolf - See-Through - 01 Woodland Encounter 00:02/06:07
That's basically it, stop playing with ctrl+c to exit the script, otherwise, it'll keep playing until it runs out of mp3s.
A few extra features. . . .
Skip past some songs
$ mpy3 --skip 3
>> [3/11] morimoto naoki - kotoba - 03 koyoi 00:00/03:21
Shuffle everything in the folder
$ mpy3 --shuffle
>> [1/11] wait what - the notorious xx - 07 everyday shelter -the notorious b.i.g. vs. the xx- 00:17/03:35
Takes glob-like search strings to quickly filter for an album etc
$ mpy3 --find Almanacs
>> [1/1] Almanacs - Templo Animal - Vol. 2 - 04 Starfields 00:02/06:08
That's literally everything you can do - enjoy!
Installation / Dependencies
This whole tool is basically just a simple wrapper over the top of pygame's ability to read and play mp3s with typer.
It's only about 50 lines of code total, and most of the actual work is done by it's dependencies:
- Pygame
- Typer
- Rich
Installation is through pip:
pip install mpy3
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 mpy3-1.1.tar.gz
.
File metadata
- Download URL: mpy3-1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa7c15fa3023f64cd2ced1498de08d32e0e286bc6b1c35133250d679a0b491e0 |
|
MD5 | caf7bf25dd5dce0a41dc18d8c1920475 |
|
BLAKE2b-256 | 01eef0070d4302fa4555b5b8deed730e69c9426d59c3be172b70f42517d17518 |
File details
Details for the file mpy3-1.1-py3-none-any.whl
.
File metadata
- Download URL: mpy3-1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb5d3240ebb93427b971b9f795a404e4bb5f7434b01379919d6f99323f7f98c |
|
MD5 | f2a229d79cb82930ca1d393213189afe |
|
BLAKE2b-256 | 884a9e4e98d351826f6fe86fcf09348988d4a28ac65044d392a4000820c8b299 |