diff options
| author | ville <ville@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-10-08 20:54:52 +0000 |
|---|---|---|
| committer | ville <ville@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-10-08 20:54:52 +0000 |
| commit | 8ade7793b19e1c97938f3fcb3e87127de5abaa13 (patch) | |
| tree | b12c3c7037b6c89c6035a6aa4744110b835fc2ba | |
| parent | 0c43c32ac29cfc6ef31465604e2d9fec52982bf5 (diff) | |
| download | vdr-plugin-muggle-8ade7793b19e1c97938f3fcb3e87127de5abaa13.tar.gz vdr-plugin-muggle-8ade7793b19e1c97938f3fcb3e87127de5abaa13.tar.bz2 | |
Load ImageCacheDir, ImageShowDuration and UseStillPicture.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@873 e10066b5-e1e2-0310-b819-94efdf66514b
| -rw-r--r-- | muggle.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -17,6 +17,7 @@ #include "mg_tools.h" #include "i18n.h" +#include <tools.h> #include <getopt.h> #include <config.h> @@ -127,6 +128,12 @@ bool mgMuggle::SetupParse (const char *Name, const char *Value) the_setup.Only48kHz = atoi (Value); else if (!strcasecmp (Name, "DeleteStaleReferences")) the_setup.DeleteStaleReferences = atoi (Value); + else if (!strcasecmp (Name, "ImageShowDuration")) + the_setup.ImageShowDuration = atoi (Value); + else if (!strcasecmp (Name, "ImageCacheDir")) + strn0cpy (the_setup.ImageCacheDir, Value, MAX_PATH); + else if (!strcasecmp (Name, "UseStillPicture")) + the_setup.UseDeviceStillPicture = atoi (Value); else return false; |
