diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2010-08-25 20:13:45 +0300 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2010-08-25 20:13:45 +0300 |
commit | f817cb0f4c07788a2c114590fd317c94c9a3958c (patch) | |
tree | 7acfc743cb19218e48f25a158c842b457ba7bfd9 /README.vdrplugin | |
parent | 8ceffe4de296a21ad841a865315ca1d1370777c9 (diff) | |
download | vdr-plugin-webvideo-f817cb0f4c07788a2c114590fd317c94c9a3958c.tar.gz vdr-plugin-webvideo-f817cb0f4c07788a2c114590fd317c94c9a3958c.tar.bz2 |
call a script after downloading finishes
Diffstat (limited to 'README.vdrplugin')
-rw-r--r-- | README.vdrplugin | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/README.vdrplugin b/README.vdrplugin index 838a936..19c8b04 100644 --- a/README.vdrplugin +++ b/README.vdrplugin @@ -95,7 +95,8 @@ VDR plugin command line parameters path is the VDR video directory. -t dir, --templatedir=DIR Read video site templates from DIR (default /usr/local/share/webvi/templates) --c FILE, --conf=FILE Load settings from FILE +-c FILE, --conf=FILE Load settings from FILE +-p CMD, --postprocess=CMD Execute CMD after downloading Config file ----------- @@ -178,3 +179,15 @@ related videos that appear in Youtube navigate to the Youtube search, enter "VDR Linux" as search term and "Date added" as sorting criterion, execute the search, and create a timer on the search results page. + +Executing a script after downloading +------------------------------------ + +The option -p sets a script that is called for each downloaded file. +For example: vdr -P "webvideo -p /path/to/script.sh" + +The script will be called with a single argument: the name (including +the path) of the downloaded file. + +An example script for transcoding the downloaded files to Ogg format +is included in the source distribution in examples/transcode2ogg.sh. |