From 0bb295066586d8ab5a46ae9d2d7ee64de9c9aa30 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 18 Mar 2019 21:31:10 +0100 Subject: [PATCH] add argparse description --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index c762a359..ea3c45fa 100644 --- a/README.md +++ b/README.md @@ -104,3 +104,15 @@ Installation - set variables in config file to your needs - use **get_playlist_from_subfolders.sh /path/to/*.mp4s** as a starting point for your playlists (path in script needs to change) - activate service and start it: **sudo systemctl enable ffplayout && sudo systemctl start ffplayout** + +Start with arguments +----- +ffplayout also allows the passing of parameters: +- `-l, --log` for user-defined log file +- `-f, --file` for playlist file + +The entire command could look like this: + +``` +python3 ffplayout.py -l ~/ffplayout.log -f ~/playlist.json +```