From 3640287b8670b6f1ac8afde590d2e2c86b5d9fd1 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 26 Nov 2011 04:57:31 +0000 Subject: [PATCH] * update docs --- website/script.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/website/script.html b/website/script.html index a657e46b..8836bb5c 100644 --- a/website/script.html +++ b/website/script.html @@ -88,8 +88,8 @@

Script Repository

Find scripts for common tasks here. You can just use these scripts straight - away or as a reference for building your own more advanced scripts. If you think your script could be really useful to others as well - then please share it in the forums. + away or as a reference for building your own more advanced scripts. If you wrote a really useful script + please share it with us.

Example Scripts

@@ -136,16 +136,17 @@

Fetch subtitles for media files

-
File[] getSubtitles(folder|file, query, lang, output, encoding)
-
Download subtitles for the given files. Lookup subtitles via hash or filename as fallback.
+
File[] getSubtitles(folder|file, query, lang, output, encoding, strict)
+
Download subtitles for the given files. Lookup subtitles via hash or match by filename.
Parameters:
folder - process media files in this folder
file - process these media files
-
query - series/movie name
+
query - lookup subtitles by series/movie name
lang - subtitle language
output - force output format (e.g. srt)
encoding - force output charset
+
strict - enable matching subtitles via filename