19 gc->setLabel(ArchiveSettings::tr(
"MythArchive Temp Directory"));
22 gc->setHelpText(ArchiveSettings::tr(
"Location where MythArchive should "
23 "create its temporary work files. "
24 "LOTS of free space required here."));
25 gc->SetTypeFilter(QDir::AllDirs | QDir::Hidden);
34 gc->setLabel(ArchiveSettings::tr(
"MythArchive Share Directory"));
37 gc->setHelpText(ArchiveSettings::tr(
"Location where MythArchive stores its "
38 "scripts, intro movies and theme "
40 gc->SetTypeFilter(QDir::AllDirs | QDir::Hidden);
49 gc->setLabel(ArchiveSettings::tr(
"Video format"));
51 gc->addSelection(
"PAL");
52 gc->addSelection(
"NTSC");
54 gc->setHelpText(ArchiveSettings::tr(
"Video format for DVD recordings, PAL "
63 gc->setLabel(ArchiveSettings::tr(
"File Selector Filter"));
64 gc->setValue(
"*.mpg *.mov *.avi *.mpeg *.nuv");
66 gc->setHelpText(ArchiveSettings::tr(
"The file name filter to use in the "
75 gc->setLabel(ArchiveSettings::tr(
"Location of DVD"));
76 gc->setValue(
"/dev/dvd");
78 gc->setHelpText(ArchiveSettings::tr(
"Which DVD drive to use when burning "
80 gc->SetTypeFilter(QDir::AllDirs | QDir::Files | QDir::System | QDir::Hidden);
88 gc->setLabel(ArchiveSettings::tr(
"DVD Drive Write Speed"));
91 gc->setHelpText(ArchiveSettings::tr(
"This is the write speed to use when "
92 "burning a DVD. Set to 0 to allow "
93 "growisofs to choose the fastest "
102 gc->setLabel(ArchiveSettings::tr(
"Command to play DVD"));
103 gc->setValue(
"Internal");
105 gc->setHelpText(ArchiveSettings::tr(
"Command to run when test playing a "
106 "created DVD. 'Internal' will use the "
107 "internal MythTV player. %f will be "
108 "replaced with the path to the created "
109 "DVD structure eg. 'xine -pfhq "
110 "--no-splash dvd:/%f'."));
118 gc->setLabel(ArchiveSettings::tr(
"Copy remote files"));
121 gc->setHelpText(ArchiveSettings::tr(
"If set files on remote filesystems "
122 "will be copied over to the local "
123 "filesystem before processing. Speeds "
124 "processing and reduces bandwidth on "
133 gc->setLabel(ArchiveSettings::tr(
"Always Use Mythtranscode"));
136 gc->setHelpText(ArchiveSettings::tr(
"If set mpeg2 files will always be "
137 "passed though mythtranscode to clean "
138 "up any errors. May help to fix some "
139 "audio problems. Ignored if 'Use "
140 "ProjectX' is set."));
148 gc->setLabel(ArchiveSettings::tr(
"Use ProjectX"));
151 gc->setHelpText(ArchiveSettings::tr(
"If set ProjectX will be used to cut "
152 "commercials and split mpeg2 files "
153 "instead of mythtranscode and "
162 gc->setLabel(ArchiveSettings::tr(
"Use FIFOs"));
165 gc->setHelpText(ArchiveSettings::tr(
"The script will use FIFOs to pass the "
166 "output of mplex into dvdauthor rather "
167 "than creating intermediate files. "
168 "Saves time and disk space during "
169 "multiplex operations but not "
170 "supported on Windows platform"));
178 gc->setLabel(ArchiveSettings::tr(
"Add Subtitles"));
181 gc->setHelpText(ArchiveSettings::tr(
"If available this option will add "
182 "subtitles to the final DVD. Requires "
183 "'Use ProjectX' to be on."));
191 gc->setLabel(ArchiveSettings::tr(
"Main Menu Aspect Ratio"));
193 gc->addSelection(ArchiveSettings::tr(
"4:3",
"Aspect ratio"),
"4:3");
194 gc->addSelection(ArchiveSettings::tr(
"16:9",
"Aspect ratio"),
"16:9");
198 gc->setHelpText(ArchiveSettings::tr(
"Aspect ratio to use when creating the "
207 gc->setLabel(ArchiveSettings::tr(
"Chapter Menu Aspect Ratio"));
209 gc->addSelection(ArchiveSettings::tr(
"4:3",
"Aspect ratio"),
"4:3");
210 gc->addSelection(ArchiveSettings::tr(
"16:9",
"Aspect ratio"),
"16:9");
211 gc->addSelection(ArchiveSettings::tr(
"Video"),
"Video");
216 gc->setHelpText(ArchiveSettings::tr(
"Aspect ratio to use when creating the "
217 "chapter menu. '%1' means use the "
218 "same aspect ratio as the associated "
220 .arg(ArchiveSettings::tr(
"Video")));
227 gc->setLabel(ArchiveSettings::tr(
"Date format"));
230 QString sampleStr = ArchiveSettings::tr(
"Samples are shown using today's "
233 if (sampdate.month() == sampdate.day())
235 sampdate = sampdate.addDays(1);
236 sampleStr = ArchiveSettings::tr(
"Samples are shown using tomorrow's "
240 gc->addSelection(sampdate.toString(
"ddd MMM d"),
"%a %b %d");
241 gc->addSelection(sampdate.toString(
"ddd MMMM d"),
"%a %B %d");
242 gc->addSelection(sampdate.toString(
"MMM d"),
"%b %d");
243 gc->addSelection(sampdate.toString(
"MM/dd"),
"%m/%d");
244 gc->addSelection(sampdate.toString(
"MM.dd"),
"%m.%d");
245 gc->addSelection(sampdate.toString(
"ddd d MMM"),
"%a %d %b");
246 gc->addSelection(sampdate.toString(
"M/d/yyyy"),
"%m/%d/%Y");
247 gc->addSelection(sampdate.toString(
"dd.MM.yyyy"),
"%d.%m.%Y");
248 gc->addSelection(sampdate.toString(
"yyyy-MM-dd"),
"%Y-%m-%d");
249 gc->addSelection(sampdate.toString(
"ddd MMM d yyyy"),
"%a %b %d %Y");
250 gc->addSelection(sampdate.toString(
"ddd yyyy-MM-dd"),
"%a %Y-%m-%d");
251 gc->addSelection(sampdate.toString(
"ddd dd MMM yyyy"),
"%a %d %b %Y");
254 gc->setHelpText(ArchiveSettings::tr(
"Your preferred date format to use on "
263 gc->setLabel(ArchiveSettings::tr(
"Time format"));
265 QTime samptime = QTime::currentTime();
267 gc->addSelection(samptime.toString(
"hh:mm AP"),
"%I:%M %p");
268 gc->addSelection(samptime.toString(
"hh:mm"),
"%H:%M");
270 gc->setHelpText(ArchiveSettings::tr(
"Your preferred time format to display "
271 "on DVD menus. You must choose a "
272 "format with \"AM\" or \"PM\" in it, "
273 "otherwise your time display will be "
274 "24-hour or \"military\" time."));
281 gc->setLabel(ArchiveSettings::tr(
"Default Encoder Profile"));
283 gc->addSelection(ArchiveSettings::tr(
"HQ",
"Encoder profile"),
"HQ");
284 gc->addSelection(ArchiveSettings::tr(
"SP",
"Encoder profile"),
"SP");
285 gc->addSelection(ArchiveSettings::tr(
"LP",
"Encoder profile"),
"LP");
286 gc->addSelection(ArchiveSettings::tr(
"EP",
"Encoder profile"),
"EP");
290 gc->setHelpText(ArchiveSettings::tr(
"Default encoding profile to use if a "
291 "file needs re-encoding."));
299 gc->setLabel(ArchiveSettings::tr(
"mplex Command"));
301 gc->setValue(
"mplex");
303 gc->setHelpText(ArchiveSettings::tr(
"Command to run mplex"));
312 gc->setLabel(ArchiveSettings::tr(
"dvdauthor command"));
314 gc->setValue(
"dvdauthor");
316 gc->setHelpText(ArchiveSettings::tr(
"Command to run dvdauthor."));
325 gc->setLabel(ArchiveSettings::tr(
"mkisofs command"));
327 gc->setValue(
"mkisofs");
329 gc->setHelpText(ArchiveSettings::tr(
"Command to run mkisofs. (Used to "
330 "create ISO images)"));
338 gc->setLabel(ArchiveSettings::tr(
"growisofs command"));
340 gc->setValue(
"growisofs");
342 gc->setHelpText(ArchiveSettings::tr(
"Command to run growisofs. (Used to "
351 gc->setLabel(ArchiveSettings::tr(
"M2VRequantiser command"));
353 gc->setValue(
"M2VRequantiser");
355 gc->setHelpText(ArchiveSettings::tr(
"Command to run M2VRequantiser. "
356 "Optional - leave blank if you don't "
357 "have M2VRequantiser installed."));
365 gc->setLabel(ArchiveSettings::tr(
"jpeg2yuv command"));
367 gc->setValue(
"jpeg2yuv");
369 gc->setHelpText(ArchiveSettings::tr(
"Command to run jpeg2yuv. Part of "
370 "mjpegtools package"));
378 gc->setLabel(ArchiveSettings::tr(
"spumux command"));
380 gc->setValue(
"spumux");
382 gc->setHelpText(ArchiveSettings::tr(
"Command to run spumux. Part of "
383 "dvdauthor package"));
391 gc->setLabel(ArchiveSettings::tr(
"mpeg2enc command"));
393 gc->setValue(
"mpeg2enc");
395 gc->setHelpText(ArchiveSettings::tr(
"Command to run mpeg2enc. Part of "
396 "mjpegtools package"));
404 gc->setLabel(ArchiveSettings::tr(
"projectx command"));
406 gc->setValue(
"projectx");
408 gc->setHelpText(ArchiveSettings::tr(
"Command to run ProjectX. Will be used "
409 "to cut commercials and split mpegs "
410 "files instead of mythtranscode and "
417 setLabel(ArchiveSettings::tr(
"MythArchive Settings"));
433 DVDSettings->setLabel(ArchiveSettings::tr(
"DVD Menu Settings"));
441 externalCmdSettings->setLabel(ArchiveSettings::tr(
"MythArchive External Commands"));