diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/markad.cpp | 1 | ||||
-rw-r--r-- | plugin/po/de_DE.po | 12 | ||||
-rw-r--r-- | plugin/po/it_IT.po | 11 | ||||
-rw-r--r-- | plugin/setup.cpp | 11 | ||||
-rw-r--r-- | plugin/setup.h | 2 | ||||
-rw-r--r-- | plugin/status.cpp | 3 |
6 files changed, 26 insertions, 14 deletions
diff --git a/plugin/markad.cpp b/plugin/markad.cpp index b94ca82..daf1193 100644 --- a/plugin/markad.cpp +++ b/plugin/markad.cpp @@ -187,6 +187,7 @@ bool cPluginMarkAd::SetupParse(const char *Name, const char *Value) else if (!strcasecmp(Name,"HideMainMenuEntry")) setup.HideMainMenuEntry=atoi(Value)?true:false; else if (!strcasecmp(Name,"SecondPass")) setup.SecondPass=atoi(Value); else if (!strcasecmp(Name,"IOPrioClass")) setup.IOPrioClass=atoi(Value); + else if (!strcasecmp(Name,"AC3Always")) setup.AC3Always=atoi(Value); else return false; return true; } diff --git a/plugin/po/de_DE.po b/plugin/po/de_DE.po index 06027b3..1441bc6 100644 --- a/plugin/po/de_DE.po +++ b/plugin/po/de_DE.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: vdr\n" "Report-Msgid-Bugs-To: <see README>\n" -"POT-Creation-Date: 2010-10-08 21:30+0200\n" +"POT-Creation-Date: 2010-10-10 15:33+0200\n" "PO-Revision-Date: 2009-08-27 14:18+0200\n" "Last-Translator: Jochen Dolze <vdr@dolze.de>\n" "Language-Team: <vdr@linuxtv.org>\n" @@ -75,8 +75,8 @@ msgstr " während einer Wiedergabe" msgid "hdd access priority" msgstr "HDD-Zugriffspriorität" -msgid "repair index, if broken" -msgstr "Kaputte Indexdatei reparieren" +msgid "examine AC3 always" +msgstr "AC3 immer untersuchen" msgid "ignore timer margins" msgstr "Timer Vor-/Nachlauf ignorieren" @@ -84,6 +84,9 @@ msgstr "Timer Vor-/Nachlauf ignorieren" msgid "detect overlaps" msgstr "erkenne Überlappungen" +msgid "repair index, if broken" +msgstr "kaputte Indexdatei reparieren" + msgid "OSD message" msgstr "OSD Meldung" @@ -93,9 +96,8 @@ msgstr "alte Marken sichern" msgid "verbose logging" msgstr "ausführliches Logging" -msgid "Hide Mainmenu entry" +msgid "hide mainmenu entry" msgstr "Hauptmenüeintrag verstecken" msgid "Mark advertisements" msgstr "Markiere Werbung" - diff --git a/plugin/po/it_IT.po b/plugin/po/it_IT.po index 1579e51..8f60382 100644 --- a/plugin/po/it_IT.po +++ b/plugin/po/it_IT.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: vdr\n" "Report-Msgid-Bugs-To: <see README>\n" -"POT-Creation-Date: 2010-10-08 21:30+0200\n" +"POT-Creation-Date: 2010-10-10 15:33+0200\n" "PO-Revision-Date: 2010-08-09 20:05+0100\n" "Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n" "Language-Team: <vdr@linuxtv.org>\n" @@ -78,8 +78,8 @@ msgstr " durante la riproduzione" msgid "hdd access priority" msgstr "" -msgid "repair index, if broken" -msgstr "Ripara indice, se errato" +msgid "examine AC3 always" +msgstr "" msgid "ignore timer margins" msgstr "Ignora margini timer" @@ -87,6 +87,9 @@ msgstr "Ignora margini timer" msgid "detect overlaps" msgstr "" +msgid "repair index, if broken" +msgstr "Ripara indice, se errato" + msgid "OSD message" msgstr "Messaggio OSD" @@ -96,7 +99,7 @@ msgstr "Salva marcatori" msgid "verbose logging" msgstr "Log dettagliato" -msgid "Hide Mainmenu entry" +msgid "hide mainmenu entry" msgstr "" msgid "Mark advertisements" diff --git a/plugin/setup.cpp b/plugin/setup.cpp index 544d724..28af746 100644 --- a/plugin/setup.cpp +++ b/plugin/setup.cpp @@ -22,6 +22,7 @@ cSetupMarkAd::cSetupMarkAd(struct setup *Setup) nomargins=setup->NoMargins; hidemainmenuentry=setup->HideMainMenuEntry; secondpass=setup->SecondPass; + ac3always=setup->AC3Always; processTexts[0]=tr("after"); processTexts[1]=tr("during"); @@ -44,15 +45,15 @@ void cSetupMarkAd::write(void) } Add(new cMenuEditStraItem(tr("hdd access priority"),&ioprioclass,3,ioprioTexts)); - - Add(new cMenuEditBoolItem(tr("repair index, if broken"),&genindex)); + Add(new cMenuEditBoolItem(tr("examine AC3 always"),&ac3always)); Add(new cMenuEditBoolItem(tr("ignore timer margins"),&nomargins)); Add(new cMenuEditBoolItem(tr("detect overlaps"),&secondpass)); - + Add(new cOsdItem("",osUnknown,false)); + Add(new cMenuEditBoolItem(tr("repair index, if broken"),&genindex)); Add(new cMenuEditBoolItem(tr("OSD message"),&osdmsg)); Add(new cMenuEditBoolItem(tr("backup marks"),&backupmarks)); Add(new cMenuEditBoolItem(tr("verbose logging"),&verbose)); - Add(new cMenuEditBoolItem(tr("Hide Mainmenu entry"),&hidemainmenuentry)); + Add(new cMenuEditBoolItem(tr("hide mainmenu entry"),&hidemainmenuentry)); Display(); } @@ -93,6 +94,7 @@ void cSetupMarkAd::Store(void) SetupStore("Verbose",verbose); SetupStore("HideMainMenuEntry",hidemainmenuentry); SetupStore("IOPrioClass",ioprioclass); + SetupStore("AC3Always",ac3always); setup->ProcessDuring=(bool) processduring; setup->whileRecording=(bool) whilerecording; @@ -105,4 +107,5 @@ void cSetupMarkAd::Store(void) setup->NoMargins=(bool) nomargins; setup->HideMainMenuEntry=(bool) hidemainmenuentry; setup->IOPrioClass=ioprioclass; + setup->AC3Always=ac3always; } diff --git a/plugin/setup.h b/plugin/setup.h index 4cd5274..736ef8a 100644 --- a/plugin/setup.h +++ b/plugin/setup.h @@ -21,6 +21,7 @@ struct setup bool GenIndex; bool NoMargins; bool SecondPass; + bool AC3Always; bool HideMainMenuEntry; }; @@ -41,6 +42,7 @@ private: int nomargins; int secondpass; int hidemainmenuentry; + int ac3always; void write(void); protected: virtual void Store(void); diff --git a/plugin/status.cpp b/plugin/status.cpp index 9708598..3521bfa 100644 --- a/plugin/status.cpp +++ b/plugin/status.cpp @@ -71,13 +71,14 @@ bool cStatusMarkAd::Start(const char *FileName, const char *Name, const bool Dir { if ((Direct) && (Get(FileName)!=-1)) return false; - cString cmd = cString::sprintf("\"%s\"/markad %s%s%s%s%s%s -r %i -l \"%s\" %s \"%s\"",bindir, + cString cmd = cString::sprintf("\"%s\"/markad %s%s%s%s%s%s%s -r %i -l \"%s\" %s \"%s\"",bindir, setup->Verbose ? " -v " : "", setup->BackupMarks ? " -B " : "", setup->GenIndex ? " -G " : "", setup->OSDMessage ? " -O " : "", setup->NoMargins ? " -i 4 " : "", setup->SecondPass ? "" : " --pass1only ", + setup->AC3Always ? " -a " : "", setup->IOPrioClass+1, logodir,Direct ? "-O after" : "--online=2 before", FileName); dsyslog("markad: executing %s",*cmd); |