Update README.md
This commit is contained in:
parent
ff0f4f4ee1
commit
fc1ed6e96c
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -12,3 +12,22 @@ jingle plays.
|
||||||
|
|
||||||
Running the program with no args will default to playing a jingle every 5
|
Running the program with no args will default to playing a jingle every 5
|
||||||
minutes.
|
minutes.
|
||||||
|
|
||||||
|
If `[player_program]` is specified (with full path) like with
|
||||||
|
`/usr/bin/ffplay`, then the command executed will look like:
|
||||||
|
|
||||||
|
/usr/bin/ffplay <file_to_play>
|
||||||
|
|
||||||
|
If `[player_args...]` is specified like with `--flag` and `--another-flag`, then
|
||||||
|
the command executed will look like:
|
||||||
|
|
||||||
|
/usr/bin/ffplay --flag --another-flag <file_to_play>
|
||||||
|
|
||||||
|
It may be recommended to use a command like:
|
||||||
|
|
||||||
|
./break_interval 5 /my/music/file.mp3 /usr/bin/ffplay -nodisp
|
||||||
|
|
||||||
|
Which will execute (every 5 minutes):
|
||||||
|
|
||||||
|
/usr/bin/ffplay -nodisp /my/music/file.mp3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue