Browse Source

updated Readme

master
Stefan Naumann 4 years ago
parent
commit
74f20318b8
  1. 10
      README.md
  2. 2
      src/piplayer.py

10
README.md

@ -30,13 +30,17 @@ This will need root-privileges. By default it will copy the files to ```/opt/pip
You should be able to call it via a CPython3-interpreter (as far as I know the pypy-interpreter does not support pyFLTK):
```
python piplayer.py [parameters] filename
Usage: src/piplayer.py [parameters] file {files}
```
The following parameters are allowed:
- ```--live``` indicates that the filename is actually a link which can be used by livestreamer, to stream a livestream.
- ```-q [qual]``` or ```--quality [qual]``` indicates the quality for the livestream for livestreamer (try best, worst, 480p, etc).
* ```--live``` - indicate that a livestream is played (i.e. Twitch), will be played using livestreamer
* ```-q [qual]``` or ```--quality [qual]``` - indicate a quality for the stream (e.g. best, worst 480p, 720p. Will be handed to livestreamer directly)
Filenames: ```<url1> [-t <title1>]```
* ```-t <title>``` or ```--title <title>``` - specify a title for the last given URL
## Technical mumbo-jumbo

2
src/piplayer.py

@ -213,7 +213,7 @@ Options:\n\
will be played using livestreamer\n\
* -q [qual] - indicate a quality for the stream (e.g. best, worst\n\
--quality [qual] 480p, 720p. Will be handed to livestreamer directly)\n\n\
Filenames: <url1> [-t <title1>] [<url2> [-t <title2>]] ...\n\
Filenames: <url1> [-t <title1>]\n\
* -t - specify a title for the last given URL\n\
--title ");
sys.exit(0);