Controls for Scripting

You can use the garlic-player in scripts for automation and remote control, or manually control playback during runtime via convenient hotkeys. The media player provides various command line options for scripting and keyboard shortcuts for interactive control during playback. This makes it highly flexible for both automated and manual operation.

Command line options

garlic.sh [options] SMIL_INDEX

Options:
-h, --help Displays this help.
-v, --version displays version information.
-m, --windows-mode fullscreen, bigscreen or windowed
-z, --windows-size e.g. 980x540
-s, --screen-select selected screen number

Arguments: SMIL_INDEX Path to SMIL index


App commands (Hotkeys)

  • Toggle full-screen with Ctrl-F
  • Toggle big-screen with Ctrl-B
  • Quit app with Ctrl-Q
  • Open configuration dialog with Ctrl-S