ffplayout/ffplayout-engine
jb-alvarado 8eb5c2ba02 switch jsonrpc-http-server to tiny_http, update clap to next major version
The jsonrpc-http-server don't get any updates anymore and some libs are already unmaintained. Migration to the new jsonrpsee makes not so much sense, because its features are not needed. For our needs tiny_http is absolut enough.
2023-06-19 16:57:25 +02:00
..
2022-10-02 22:05:01 +02:00

ffplayout-engine

Start with Arguments

ffplayout also allows the passing of parameters:

OPTIONS:
    -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
        --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
    -p, --playlist <PLAYLIST>         Path from playlist
    -s, --start <START>               Start time in 'hh:mm:ss', 'now' for start with first
    -t, --length <LENGTH>             Set length in 'hh:mm:ss', 'none' for no length check
    -v, --volume <VOLUME>             Set audio volume
    -V, --version                     Print version information

You can run the command like:

./ffplayout -l none -p ~/playlist.json -o desktop