PMP
A lightweight, local music player for the terminal.
PMP is an open-source command-line music player built for people who want to listen to their own music without relying on streaming platforms, online accounts, or cloud-based music libraries.
It focuses on local playback, a simple terminal workflow, and keeping your music library under your control.
PMP is currently in alpha. It is usable, actively developed, and not yet tested across every intended platform.
Features
- Local music library: Scan and organize music stored on your device.
- Playlist organization: Organize music through local directories.
- Search: Find songs and playlists in your library.
- Playback queue: Manage the songs waiting to be played.
- Playback controls: Navigate between tracks, seek within songs, and control playback volume.
- Loop: listen a song in loop mode
- Session recovery: Resume a saved playback session.
- Listening statistics: Track playback activity and listening habits.
- Terminal miniplayer: Monitor the current track and playback progress.
PMP is designed for music you already have locally. It does not provide a streaming catalog, host music files, or replace music distribution services.
Playback modes
PMP separates music source selection from track ordering, allowing different playback behaviors to be combined.
Source selection
- Playlist: Select tracks from the current collection.
- Universal: Rotate between available playlists and songs stored in the root music directory.
- Smart: Prioritize tracks with fewer plays and fewer previous selections, using listening statistics.
Track ordering
- Sequential: Select tracks in sequence.
- Random: Select tracks randomly.
These options can be combined independently to customize playback behavior.
Requirements
- Python 3.10 or newer.
- "mpv" (https://mpv.io/), installed separately and available to PMP.
- A local collection of supported audio files.
PMP uses mpv as its playback engine. Installing the Python package alone does not install the external player.
PMP is intended to support Linux, Windows, and macOS, but compatibility has not yet been fully verified on every platform.
Installation
From PyPI
Install PMP using pip:
python -m pip install platypus-music
The PyPI package is named platypus-music, but the command and Python module are pmp.
Make sure mpv is installed separately before attempting playback.
Verify the installation:
pmp --help
From GitHub
To install a development version, clone the PMP repository and install the local project:
git clone https://github.com/Dev-ev-v/pmp.git
cd pmp
python -m pip install .
Replace the placeholders with the actual repository URL and directory name.
Development versions may contain unfinished features or bugs. Use them accordingly.
Getting started
After installing PMP and mpv, run:
pmp --help
This displays the commands and options available in your installed version.
Play music
pmp play
If no music directory is configured, it is necessary to listen musics in pmp. Choose a directory containing supported audio files.
If a music directory is already configured, PMP plays a song from your library depending of your configuration.
To play a specific song or playlist:
pmp play "My song"
Stop playback
pmp stop
Stops playback and ends the current session.
Open the miniplayer
pmp watch
Opens a miniplayer for easier playback and queue control.
View listening statistics
pmp stats
Displays statistics for previously played tracks.
Reset the session
pmp reset
Use this command to reset the current session if playback gets stuck or behaves unexpectedly.
Supported audio
PMP is intended for local audio playback. The current implementation recognizes these file extensions:
- MP3 (".mp3")
- M4A (".m4a")
- FLAC (".flac")
- Ogg (".ogg")
- WAV (".wav")
Actual playback compatibility also depends on the codecs and formats supported by the installed mpv build.
Video playback is not currently part of PMP's scope.
Privacy and philosophy
PMP is built around a simple idea: your local music library should remain yours.
The project aims to provide a lightweight way to play music without requiring a streaming account or depending on a centralized music catalog.
PMP is intended for local playback, not music hosting or distribution. Users are responsible for ensuring that their use of audio files complies with applicable laws and licenses.
Roadmap
- Replace file paths with stable song identifiers, such as unique IDs.
- Improve and verify support for Windows and macOS.
- Add support for video files.
- Add support for basic audio effects.
- Improve error handling when MPV is missing or fails to start.
Contributing
Contributions, bug reports, and suggestions are welcome.
Metadata
Release files for platypus-music 0.1.1.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| platypus_music-0.1.1.post0.tar.gz | 38.4 kB | Without provenance | Details for platypus_music-0.1.1.post0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| platypus_music-0.1.1.post0-py3-none-any.whl | Python 3 | none | any | Details for platypus_music-0.1.1.post0-py3-none-any.whl |
Total release size: 84.3 kB
Release files / platypus_music-0.1.1.post0.tar.gz
| Download URL | platypus_music-0.1.1.post0.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed0138584199f435b73c64c564ed2eb30bf37aff5de10786215afce8ad785de2
|
|
BLAKE2b-256 checksum How to use checksums |
032134c000ed6232b8475028ec055c1a35a3632864011a14ef290b1f99c1a757
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / platypus_music-0.1.1.post0-py3-none-any.whl
| Download URL | platypus_music-0.1.1.post0-py3-none-any.whl |
|---|---|
| Size | 45.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da028d0d1f683d138fea6e922a4548d09ca81698a60e0a88a1e9d8ab718bdf13
|
|
BLAKE2b-256 checksum How to use checksums |
33a66e098c93e2c9fe14f3ad060b44acd93d52a1eb2c13d3d0ec4167651e1e2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for platypus-music 0.1.1.post0
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.