Skip to main content

Mad Play

Play your music from the terminal like a Divine Madman!

PyPI - Version PyPI - Python Version


Installation

pip install mad_play

Usage

For ease of use you could add an alias to your .bashrc, for example:

alias = mp="mad-play"

Remember to close and re-open your terminal or run:

source ~/.bashrc

Then open your terminal where the music is. To play a file:

mp funkytown.mp3

If you have a list of filenames in a text file, one filename per line and you have given it the .playlist extension, you can start playing it by:

mp bebop.playlist

Or just play every audio file in a folder like so:

mp mongolian/

press space to pause and resume, n for next tune, b to go back and q to quit.

Project scope

Dead simple terminal audio player that plays audio files from anywhere on your computer, with playlists edited as plain text files and the ability to play everything in a folder. The player has intuitive controls and does not require learning exotic key-bindings.

Contribute

This is a fun, simple project, but very useful all the same. It's a single python file with code that is fairly easy to catch. Mind you, it's early days and everything is very raw. The Divine Madman invites you all to tinker, suggest improvements within the scope of the project and contribute improvements if doing so tickles your fancy!

Dependencies and Acknowledgments

Mad Play depends on FFmpeg's ffplay, which must be installed and in the path. (On Fedora 44 it is out of the box).

License

Mad Play is distributed under the terms of the MIT license.

Metadata

Release files for mad-play 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mad-play 0.1.2
File Size Uploaded Provenance Actions
mad_play-0.1.2.tar.gz 2.9 kB Without provenance Details for mad_play-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mad-play 0.1.2
File Interpreter ABI Platform Actions
mad_play-0.1.2-py3-none-any.whl Python 3 none any Details for mad_play-0.1.2-py3-none-any.whl

Total release size: 7.0 kB

Release files / mad_play-0.1.2.tar.gz

Download URL mad_play-0.1.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b6e1fafd5159ddd12ce0d364205bb32be2fd2a09dee48c6672389cbc4cd9303
BLAKE2b-256 checksum
How to use checksums
ef2acec936d395986bccfb45f4380413faeff275f0e6c0b7b76cc66e6579e6d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / mad_play-0.1.2-py3-none-any.whl

Download URL mad_play-0.1.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff66f687f3836f8112879d337d383b3f3b43d9e76a434a207a865bc93604e446
BLAKE2b-256 checksum
How to use checksums
d90609b7a4f7548ce0442ad0c1a9594b252269ed271383dfafecda42677693d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for mad-play 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page