Skip to main content

A thin mpv wrapper for on-the-fly playlist editing

Project description

# Pasteplayer

Pasteplayer is a (very) thin python wrapper around mpv to allow easy on-the-fly playlist editing (like pasting youtube URLs)

It's also available on pypi! Simply run `pip install pasteplayer`; after that, run the `pasteplayer` command from anywhere.

## Usage

Upon startup, you will be asked for a valid URL or file name.

All usual mpv keyboard shortcuts still work, e.g.:

* `space` to play/pause
* `>` to skip to the next title in the playlist
* `<` to go to the previous title
* `m` to mute
* …

Additionaly, you can press `a` to add a new item to the playlist or `c` for more playlist editing commands:

* `r NUMBER` to remove item at position NUMBER
* `m FROM TO` to move an item

### Command line arguments
usage: [-h] [-p KEY VALUE] [URL/PATH [URL/PATH ...]]

simple queue player for mpv

positional arguments:

optional arguments:
-h, --help show this help message and exit
-p KEY VALUE, --property KEY VALUE
set mpv property KEY to VALUE. See all available
properties with 'mpv --list-properties'
-v, --video Enable video. Shorthand for '-p video auto'

### Potentially useful properties

* `video`: `auto`/`no` to enable/disable video
* `mute`: `yes`/`no` to mute audio (without disabling it)
* `fullscreen`: `yes`/`no`
* `osc`: `yes`/`no` to enable/disable on-screen-controller (the one that appears when you move the mouse)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pasteplayer, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size pasteplayer-1.3-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pasteplayer-1.3.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page