update readme
This commit is contained in:
parent
ec4f5d2ac2
commit
9c23bc322a
@ -48,6 +48,7 @@ Check the [releases](https://github.com/ffplayout/ffplayout/releases/latest) for
|
||||
- image source (will loop until out duration is reached)
|
||||
- extra audio source (experimental) (has priority over audio from video source)
|
||||
- [custom filter](/docs/custom_filters.md) globally in config, or in playlist for specific clips
|
||||
- import playlist from text or m3u file, with CLI or frontend
|
||||
|
||||
For preview stream, read: [/docs/preview_stream.md](/docs/preview_stream.md)
|
||||
|
||||
|
11
docs/api.md
11
docs/api.md
@ -324,3 +324,14 @@ curl -X POST http://127.0.0.1:8787/api/file/1/remove/ -H 'Content-Type: applicat
|
||||
curl -X POST http://127.0.0.1:8787/api/file/1/upload/ -H 'Authorization: <TOKEN>'
|
||||
-F "file=@file.mp4"
|
||||
```
|
||||
|
||||
**Import playlist**
|
||||
|
||||
Import text/m3u file and convert it to a playlist
|
||||
lines with leading "#" will be ignore
|
||||
|
||||
```BASH
|
||||
curl -X POST http://127.0.0.1:8787/api/file/1/import/ -H 'Authorization: <TOKEN>'
|
||||
-F "file=@list.m3u"
|
||||
```
|
||||
|
||||
|
@ -8,11 +8,14 @@ ffplayout also allows the passing of parameters:
|
||||
|
||||
```
|
||||
OPTIONS:
|
||||
-c, --config <CONFIG> File path to ffplayout.conf
|
||||
-c, --config <CONFIG> File path to ffplayout.yml
|
||||
-d, --date <DATE> Target date (YYYY-MM-DD) for text/m3u to playlist import
|
||||
-f, --folder <FOLDER> Play folder content
|
||||
-g, --generate <YYYY-MM-DD>... Generate playlist for date or date-range, like: 2022-01-01 - 2022-01-10:
|
||||
--fake-time <FAKE_TIME> fake date time, for debugging
|
||||
-g, --generate <YYYY-MM-DD>... Generate playlist for dates, like: 2022-01-01 - 2022-01-10
|
||||
-h, --help Print help information
|
||||
-i, --infinit Loop playlist infinitely
|
||||
--import <IMPORT> Import a given text/m3u file and create a playlist from it
|
||||
-l, --log <LOG> File path for logging
|
||||
-m, --play-mode <PLAY_MODE> Playing mode: folder, playlist
|
||||
-o, --output <OUTPUT> Set output mode: desktop, hls, stream
|
||||
|
Loading…
Reference in New Issue
Block a user