# 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'
-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)
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'
-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)
Release files for pasteplayer 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pasteplayer-1.3.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pasteplayer-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / pasteplayer-1.3.tar.gz
| Download URL | pasteplayer-1.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b3855cdc911f86cf7050f7497605cb209123ec23b457842c4abb4d6205b72fc
|
|
BLAKE2b-256 checksum How to use checksums |
a19e2dc4c12c7ca0336ddc20f66c446dd2426233577fe7f8ddfcdf074482c699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pasteplayer-1.3-py3-none-any.whl
| Download URL | pasteplayer-1.3-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27f92b1f460c48618cf1da324a9d6f46760b9d25f0e206fe914b8fc701b86a42
|
|
BLAKE2b-256 checksum How to use checksums |
9c796f51c91fa5c6d2b29187dcbe51f35e6daa7958986808b5ad882c32448c5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |