20 gc->setLabel(ArchiveSettings::tr(
"MythArchive Temp Directory"));
23 gc->setHelpText(ArchiveSettings::tr(
"Location where MythArchive should "
24 "create its temporary work files. "
25 "LOTS of free space required here."));
26 gc->SetTypeFilter(QDir::AllDirs | QDir::Hidden);
35 gc->setLabel(ArchiveSettings::tr(
"MythArchive Share Directory"));
38 gc->setHelpText(ArchiveSettings::tr(
"Location where MythArchive stores its "
39 "scripts, intro movies and theme "
41 gc->SetTypeFilter(QDir::AllDirs | QDir::Hidden);
50 gc->setLabel(ArchiveSettings::tr(
"Video format"));
52 gc->addSelection(
"PAL");
53 gc->addSelection(
"NTSC");
55 gc->setHelpText(ArchiveSettings::tr(
"Video format for DVD recordings, PAL "
64 gc->setLabel(ArchiveSettings::tr(
"File Selector Filter"));
65 gc->setValue(
"*.mpg *.mov *.avi *.mpeg *.nuv");
67 gc->setHelpText(ArchiveSettings::tr(
"The file name filter to use in the "
76 gc->setLabel(ArchiveSettings::tr(
"Location of DVD"));
77 gc->setValue(
"/dev/dvd");
79 gc->setHelpText(ArchiveSettings::tr(
"Which DVD drive to use when burning "
81 gc->SetTypeFilter(QDir::AllDirs | QDir::Files | QDir::System | QDir::Hidden);
89 gc->setLabel(ArchiveSettings::tr(
"DVD Drive Write Speed"));
92 gc->setHelpText(ArchiveSettings::tr(
"This is the write speed to use when "
93 "burning a DVD. Set to 0 to allow "
94 "growisofs to choose the fastest "
103 gc->setLabel(ArchiveSettings::tr(
"Command to play DVD"));
104 gc->setValue(
"Internal");
106 gc->setHelpText(ArchiveSettings::tr(
"Command to run when test playing a "
107 "created DVD. 'Internal' will use the "
108 "internal MythTV player. %f will be "
109 "replaced with the path to the created "
110 "DVD structure eg. 'xine -pfhq "
111 "--no-splash dvd:/%f'."));
119 gc->setLabel(ArchiveSettings::tr(
"Copy remote files"));
122 gc->setHelpText(ArchiveSettings::tr(
"If set files on remote filesystems "
123 "will be copied over to the local "
124 "filesystem before processing. Speeds "
125 "processing and reduces bandwidth on "
134 gc->setLabel(ArchiveSettings::tr(
"Always Use Mythtranscode"));
137 gc->setHelpText(ArchiveSettings::tr(
"If set mpeg2 files will always be "
138 "passed though mythtranscode to clean "
139 "up any errors. May help to fix some "
140 "audio problems. Ignored if 'Use "
141 "ProjectX' is set."));
149 gc->setLabel(ArchiveSettings::tr(
"Use ProjectX"));
152 gc->setHelpText(ArchiveSettings::tr(
"If set ProjectX will be used to cut "
153 "commercials and split mpeg2 files "
154 "instead of mythtranscode and "
163 gc->setLabel(ArchiveSettings::tr(
"Use FIFOs"));
166 gc->setHelpText(ArchiveSettings::tr(
"The script will use FIFOs to pass the "
167 "output of mplex into dvdauthor rather "
168 "than creating intermediate files. "
169 "Saves time and disk space during "
170 "multiplex operations but not "
171 "supported on Windows platform"));
179 gc->setLabel(ArchiveSettings::tr(
"Add Subtitles"));
182 gc->setHelpText(ArchiveSettings::tr(
"If available this option will add "
183 "subtitles to the final DVD. Requires "
184 "'Use ProjectX' to be on."));
192 gc->setLabel(ArchiveSettings::tr(
"Main Menu Aspect Ratio"));
194 gc->addSelection(ArchiveSettings::tr(
"4:3",
"Aspect ratio"),
"4:3");
195 gc->addSelection(ArchiveSettings::tr(
"16:9",
"Aspect ratio"),
"16:9");
199 gc->setHelpText(ArchiveSettings::tr(
"Aspect ratio to use when creating the "
208 gc->setLabel(ArchiveSettings::tr(
"Chapter Menu Aspect Ratio"));
210 gc->addSelection(ArchiveSettings::tr(
"4:3",
"Aspect ratio"),
"4:3");
211 gc->addSelection(ArchiveSettings::tr(
"16:9",
"Aspect ratio"),
"16:9");
212 gc->addSelection(ArchiveSettings::tr(
"Video"),
"Video");
217 gc->setHelpText(ArchiveSettings::tr(
"Aspect ratio to use when creating the "
218 "chapter menu. '%1' means use the "
219 "same aspect ratio as the associated "
221 .arg(ArchiveSettings::tr(
"Video")));
228 gc->setLabel(ArchiveSettings::tr(
"Date format"));
231 QString sampleStr = ArchiveSettings::tr(
"Samples are shown using today's "
234 if (sampdate.month() == sampdate.day())
236 sampdate = sampdate.addDays(1);
237 sampleStr = ArchiveSettings::tr(
"Samples are shown using tomorrow's "
241 gc->addSelection(sampdate.toString(
"ddd MMM d"),
"%a %b %d");
242 gc->addSelection(sampdate.toString(
"ddd MMMM d"),
"%a %B %d");
243 gc->addSelection(sampdate.toString(
"MMM d"),
"%b %d");
244 gc->addSelection(sampdate.toString(
"MM/dd"),
"%m/%d");
245 gc->addSelection(sampdate.toString(
"MM.dd"),
"%m.%d");
246 gc->addSelection(sampdate.toString(
"ddd d MMM"),
"%a %d %b");
247 gc->addSelection(sampdate.toString(
"M/d/yyyy"),
"%m/%d/%Y");
248 gc->addSelection(sampdate.toString(
"dd.MM.yyyy"),
"%d.%m.%Y");
249 gc->addSelection(sampdate.toString(
"yyyy-MM-dd"),
"%Y-%m-%d");
250 gc->addSelection(sampdate.toString(
"ddd MMM d yyyy"),
"%a %b %d %Y");
251 gc->addSelection(sampdate.toString(
"ddd yyyy-MM-dd"),
"%a %Y-%m-%d");
252 gc->addSelection(sampdate.toString(
"ddd dd MMM yyyy"),
"%a %d %b %Y");
255 gc->setHelpText(ArchiveSettings::tr(
"Your preferred date format to use on "
264 gc->setLabel(ArchiveSettings::tr(
"Time format"));
266 QTime samptime = QTime::currentTime();
268 gc->addSelection(samptime.toString(
"hh:mm AP"),
"%I:%M %p");
269 gc->addSelection(samptime.toString(
"hh:mm"),
"%H:%M");
271 gc->setHelpText(ArchiveSettings::tr(
"Your preferred time format to display "
272 "on DVD menus. You must choose a "
273 "format with \"AM\" or \"PM\" in it, "
274 "otherwise your time display will be "
275 "24-hour or \"military\" time."));
282 gc->setLabel(ArchiveSettings::tr(
"Default Encoder Profile"));
284 gc->addSelection(ArchiveSettings::tr(
"HQ",
"Encoder profile"),
"HQ");
285 gc->addSelection(ArchiveSettings::tr(
"SP",
"Encoder profile"),
"SP");
286 gc->addSelection(ArchiveSettings::tr(
"LP",
"Encoder profile"),
"LP");
287 gc->addSelection(ArchiveSettings::tr(
"EP",
"Encoder profile"),
"EP");
291 gc->setHelpText(ArchiveSettings::tr(
"Default encoding profile to use if a "
292 "file needs re-encoding."));
300 gc->setLabel(ArchiveSettings::tr(
"mplex Command"));
302 gc->setValue(
"mplex");
304 gc->setHelpText(ArchiveSettings::tr(
"Command to run mplex"));
313 gc->setLabel(ArchiveSettings::tr(
"dvdauthor command"));
315 gc->setValue(
"dvdauthor");
317 gc->setHelpText(ArchiveSettings::tr(
"Command to run dvdauthor."));
326 gc->setLabel(ArchiveSettings::tr(
"mkisofs command"));
328 gc->setValue(
"mkisofs");
330 gc->setHelpText(ArchiveSettings::tr(
"Command to run mkisofs. (Used to "
331 "create ISO images)"));
339 gc->setLabel(ArchiveSettings::tr(
"growisofs command"));
341 gc->setValue(
"growisofs");
343 gc->setHelpText(ArchiveSettings::tr(
"Command to run growisofs. (Used to "
352 gc->setLabel(ArchiveSettings::tr(
"M2VRequantiser command"));
354 gc->setValue(
"M2VRequantiser");
356 gc->setHelpText(ArchiveSettings::tr(
"Command to run M2VRequantiser. "
357 "Optional - leave blank if you don't "
358 "have M2VRequantiser installed."));
366 gc->setLabel(ArchiveSettings::tr(
"jpeg2yuv command"));
368 gc->setValue(
"jpeg2yuv");
370 gc->setHelpText(ArchiveSettings::tr(
"Command to run jpeg2yuv. Part of "
371 "mjpegtools package"));
379 gc->setLabel(ArchiveSettings::tr(
"spumux command"));
381 gc->setValue(
"spumux");
383 gc->setHelpText(ArchiveSettings::tr(
"Command to run spumux. Part of "
384 "dvdauthor package"));
392 gc->setLabel(ArchiveSettings::tr(
"mpeg2enc command"));
394 gc->setValue(
"mpeg2enc");
396 gc->setHelpText(ArchiveSettings::tr(
"Command to run mpeg2enc. Part of "
397 "mjpegtools package"));
405 gc->setLabel(ArchiveSettings::tr(
"projectx command"));
407 gc->setValue(
"projectx");
409 gc->setHelpText(ArchiveSettings::tr(
"Command to run ProjectX. Will be used "
410 "to cut commercials and split mpegs "
411 "files instead of mythtranscode and "
418 setLabel(ArchiveSettings::tr(
"MythArchive Settings"));
434 DVDSettings->setLabel(ArchiveSettings::tr(
"DVD Menu Settings"));
442 externalCmdSettings->setLabel(ArchiveSettings::tr(
"MythArchive External Commands"));