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: pasteplayer.py [-h] [-p KEY VALUE] [URL/PATH [URL/PATH ...]]
simple queue player for mpv
positional arguments:
URL/PATH
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'
```
### 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)
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: pasteplayer.py [-h] [-p KEY VALUE] [URL/PATH [URL/PATH ...]]
simple queue player for mpv
positional arguments:
URL/PATH
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'
```
### 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.
Source Distribution
pasteplayer-1.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for pasteplayer-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aeab21ad9baa7dec6ac11c1661ad552d20da84d96b860c11716efe9d09f487a |
|
MD5 | 648d69f4e33495d710444d2708724482 |
|
BLAKE2b-256 | 604c5c12104f5cbcdf07b4f640794e5ffdddd9ad1b277ba5198fca7469ec82d2 |