Workaround for the TiVo losing track of the grouped/ungrouped flag for
[pyTivo/wmcbrine/lucasnz.git] / plugins / settings / help.txt
blobf9722a09ef43106156c61012b0e854eac749f70c
1 ###################### pyTivo Web Admin Help #########################\r
2 #\r
3 # Description: This file contains the information displayed in the\r
4 # settings help section of the web admin. Most users will never need\r
5 # to edit or view this file.\r
6 #\r
7 # Format: Blank lines and lines beginning with '#' are ignored.\r
8 # The name of a section should appear on its own line and should NOT\r
9 # contain a colon.  Subsequent lines should contain the portion to be\r
10 # bolded, followed by a colon, followed by the descriptive text.\r
11 # Each line will be read into the previously named section until a\r
12 # blank line or the EOF is reached. Lines containing colons that\r
13 # don't mark a new subhead must be escaped by placing '>' in the\r
14 # first position.\r
15 #\r
16 # In order for the web config plugin to know which settings are \r
17 # available in which sections, the following line should be present in \r
18 # each setting:\r
19 #\r
20 # Available In:\r
21 #\r
22 # This entry should be a comma seperated list of the sections which\r
23 # this setting should be shown in. For example:\r
24 #\r
25 # Available In: Server, Tivos, HD_tivos, SD_tivos, Shares\r
26 #\r
27 ######################################################################\r
29 Instructions\r
31 To Edit a Share: Select the share in the left hand menu.\r
32 To Delete a Share: Select the share in the left hand menu and click \r
33 delete.\r
34 To Add a Share/Tivo/Section: Click the "Add Section" button.  Then \r
35 provide the name of the share or TiVo. You must save your changes before \r
36 you can edit settings in the new share.\r
37 To Add a Setting: Select your share first.  If the setting is a known \r
38 setting simply add the value to the appropriate setting. If the setting \r
39 is not listed you can add a "User Defined Setting".  Simple click add \r
40 setting and provide the name and value of this new setting.\r
41 To Delete a Setting: Delete the value of the setting so that it is \r
42 blank.  If this is a known share the name will remain after a save. If \r
43 the setting is a user defined setting the name will be deleted after the \r
44 save.\r
45 Save Settings: Clicking Save Settings will write your changes to the \r
46 pyTivo.conf file. These settings may not have an effect on your pyTivo \r
47 server until it is Soft Reset or restarted.\r
48 Soft Reset: Soft Reset allows most new settings to take effect without \r
49 restarting pyTivo.  The Soft Reset will cause a re-read of the\r
50 pyTivo.conf file so your changes must be saved to the file before the\r
51 reset.\r
53 Add_a_New_Section\r
55 Add the name of a new section: If you want to add a TiVo section, \r
56 remember it must start with "_tivo_". You must save your settings before \r
57 the new section will be editable.\r
59 port\r
61 Default Setting: 9032\r
62 Valid Entries: 1-65535\r
63 Required: No\r
64 Description: The port which pyTivo uses to serve your files. Can be\r
65 changed if it conflicts with another program.\r
66 Example Settings: 9032\r
67 Available In: Server\r
69 ffmpeg\r
71 Default Setting: None\r
72 Valid Entries: Operating system path\r
73 Required: No\r
74 Description: This is the full path to your ffmpeg binary. If not set, \r
75 pyTivo checks for it in a "bin" subdirectory, and then in the PATH. If \r
76 no ffmpeg is found, pyTivo will operate in a limited mode, serving only \r
77 MPEG and TiVo files in video shares, and only MP3 files in music shares, \r
78 with no seek capability.\r
79 Example Settings: Linux = /usr/bin/ffmpeg |\r
80 >Windows = C:\pyTivo\bin\ffmpeg.exe\r
81 Available In: Server\r
83 tivodecode\r
85 Default Setting: None\r
86 Valid Entries: Operating system path\r
87 Required: No\r
88 Description: This is the full path to your tivodecode binary. If not \r
89 set, pyTivo checks for it in a "bin" subdirectory, and then in the PATH.\r
90 tivodecode is only needed for certain functions (currently pushing .TiVo \r
91 files or transcoding HD .TiVo files to SD).\r
92 Example Settings: Linux = /usr/bin/tivodecode |\r
93 >Windows = C:\pyTivo\bin\tivodecode.exe\r
94 Available In: Server\r
96 tdcat\r
98 Default Setting: None\r
99 Valid Entries: Operating system path\r
100 Required: No\r
101 Description: This is the full path to your tdcat binary. If not set, \r
102 pyTivo checks for it in a "bin" subdirectory, and then in the PATH. \r
103 tdcat is only needed to view the data from a .TiVo file in the details \r
104 screen. It comes with tivodecode.\r
105 Example Settings: Linux = /usr/bin/tdcat |\r
106 >Windows = C:\pyTivo\bin\tdcat.exe\r
107 Available In: Server\r
109 beacon\r
111 Default Setting: 255.255.255.255\r
112 Valid Entries: Beacon IP address(es) or "listen".  Can contain multiple\r
113 IPs separated by spaces.\r
114 Required: No\r
115 Description: The addresses on which the beacon should broadcast.  Most\r
116 people can leave this at the default. If set to "listen", will accept\r
117 incoming TCP beacons. If you're having issues with your shares not\r
118 appearing on TiVo, try using the broadcast address of your LAN. For\r
119 example, if your gateway (router) used address 192.168.1.1, your\r
120 broadcast address would be 192.168.1.255.  Alternatively, you can\r
121 specify the exact addresses of your TiVos, e.g. 192.168.1.150\r
122 192.168.1.151.\r
123 Example Settings: 192.168.1.255\r
124 Available In: Server\r
126 debug\r
128 Mode: checkbox\r
129 Default Setting: False\r
130 Valid Entries: True/False\r
131 Required: No\r
132 Description: Will generate more output for debugging purposes.\r
133 Example Settings: True/False\r
134 Available In: Server\r
136 type\r
138 Mode: select\r
139 Default Setting: None\r
140 Valid Entries: video, music, photo, or any other valid plugin name.\r
141 Required: Yes\r
142 Description: Sets the type of share that this will be. This must be set\r
143 to something otherwise pyTivo will not start. NOTE plugins names are\r
144 generally lowercase.\r
145 Example Settings: video, music, photo\r
146 Available In: Shares\r
148 path\r
150 Default Setting: None\r
151 Valid Entries: Any operating system path\r
152 Required: Yes\r
153 Description: Sets the base path to your media content. While pyTivo will\r
154 start with an invalid path your shares will not work at all.\r
155 Example Settings: Windows = C:\videos | Linux = /home/user/media\r
156 Available In: Shares\r
158 force_alpha\r
160 Mode: checkbox\r
161 Default Setting: False\r
162 Valid Entries: True/False\r
163 Required: No\r
164 Description: Only meaningful in shares of type "video". When false, \r
165 pyTivo will display videos in the order requested by the TiVo, as \r
166 described at the bottom of the screen. When true, pyTivo will ignore the \r
167 sort options and revert to its "classic" behavior, using an alphabetical \r
168 sort always, with folders listed first. Note that the TiVo doesn't \r
169 request alpha sorts for folders below the top level, so if you want them \r
170 alpha-sorted, you need this option.\r
171 Example Settings: True/False\r
172 Available In: Shares\r
174 force_ffmpeg\r
176 Mode: checkbox\r
177 Default Setting: False\r
178 Valid Entries: True/False\r
179 Required: No\r
180 Description: Only meaningful in shares of type "music". When false, \r
181 pyTivo will pass through TiVo-compatible MP3 files as-is (unless you \r
182 seek within them). When true, even these files will be processed by \r
183 FFmpeg, in order to strip out album artwork that the TiVo would \r
184 otherwise try to play as sound, producing a squeal. This is done with \r
185 the "copy" codec, so it's low-overhead.\r
186 Example Settings: True/False\r
187 Available In: Shares\r
189 allow_recurse\r
191 Mode: select\r
192 Options: Auto/On/Off\r
193 Default Setting: Auto\r
194 Valid Entries: On/Off/Auto\r
195 Required: No\r
196 Description: Only meaningful in shares of type "video". The TiVo uses \r
197 the "Recurse" option in a query to provide a flattened, ungrouped \r
198 listing. Recent versions of the TiVo software sometimes forget the \r
199 grouping flag, and unexpectedly request an ungrouped list. So, the \r
200 default now is to ignore the "Recurse" flag on those platforms. This \r
201 option lets you enable it anyway ("Yes"), or force it to be ignored even \r
202 on TiVos that aren't recognized as having the bug ("No").\r
203 Example Settings: On/Off/Auto\r
204 Available In: Shares\r
206 optres\r
208 Mode: checkbox\r
209 Default Setting: False\r
210 Valid Entries: True/False\r
211 Required: No\r
212 Description: Allows for the use of the Optimal Resolution in\r
213 transcoding. By setting optres = true pyTivo will treat the height and\r
214 width settings in the conf file as a maximum. If the video to be\r
215 transcoded has smaller dimensions that are closer to other acceptable\r
216 TiVo dimensions then pyTivo will use these dimensions. This allows for\r
217 faster transcoding and small files when the initial video is a lower\r
218 quality. pyTivo uses the same resolution as the source file on HD Tivos\r
219 for optimal transcoding efficiency. It is not necessary to to set this\r
220 option with HD TiVos unless you wish to force pyTivo to change the\r
221 resolution to an "S2 compatible" resolution.\r
222 Example Settings: True/False\r
223 Available In: Tivos, HD_tivos, SD_tivos\r
225 video_fps\r
227 Default Setting: 29.97 for S2 Tivo, same as source for S3/HD TiVo\r
228 Valid Entries: 29.97, 23.98, 25, 59.94\r
229 Required: No\r
230 Description: Sets the frame rate used by ffmpeg. pyTivo uses 29.97 for\r
231 S2's, and uses the same frame rate as the source on HD TiVos. The\r
232 default setting should work fine for most transfers.\r
233 Example Settings: 29.97, 23.98, 25, 59.94\r
234 Available In: Tivos, HD_tivos, SD_tivos\r
236 video_br\r
238 Default Setting: 4096K for SD TiVo's, 16384K for HD TiVo's\r
239 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
240 Required: No\r
241 Description: This allows you to choose the default server video bit rate\r
242 used in transcoding. FFmpeg does not strictly follow this bit rate,\r
243 there is a certain level of tolerance that is allowed. Also a low\r
244 quality file will always have a low bit rate. The default is likely fine\r
245 for most users. Higher values may slow down transcoding and will\r
246 increase the file size. Increased file sizes take up more room on the\r
247 TiVo and take longer to transfer over the network. (Higher settings are\r
248 >recommended for screen sizes above 47" such as: video_br=20Mi, width=1920,\r
249 height=1080)\r
250 Example Settings: 4096K, 8Mi, 12Mi, 16Mi, 20Mi\r
251 Available In: Tivos, HD_tivos, SD_tivos\r
253 max_video_br\r
255 Default Setting: 30000k\r
256 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
257 Required: No\r
258 Description: This allows you to choose the maximum bit rate and is more\r
259 strict than the video_br setting above. However setting this can cause\r
260 buffer overflows and can cause issues with ffmpeg. In addition to\r
261 setting the ffmpeg maxrate option, this setting is used to determine if\r
262 the video bitrate of the source video file is too high for the TiVo.\r
263 Otherwise compatible mpeg's with a video bitrate above this setting will\r
264 be transcoded rather than sent to the TiVo untouched.  Lower this\r
265 setting below the bitrate of your source file if you wish to force high\r
266 bitrate sources to be transcoded.  Recommended only for skilled users.\r
267 Note: there is a report that ffmpeg throws an error with 17Mi but\r
268 accepts 17408K just fine.\r
269 Example Settings: 17408k, 30000k\r
270 Available In: Tivos, HD_tivos, SD_tivos\r
272 bufsize\r
274 Default Setting: 1024k for S2, 4096k for S3\r
275 Valid Entries: Any valid byte size\r
276 Required: No\r
277 Description: Allows you to set the buffer size used by ffmpeg.\r
278 Increasing this setting will allow higher bitrates during transcoding\r
279 (see video_br setting), especially when transcoding to HD resolutions.\r
280 But it may result in pixelation or audio sync issues with some sources.\r
281 1024k is fine for the resolutions used by S2 tivos.  But 2048k or 4096k\r
282 is preferred for HD tivos.  Leave this setting blank unless you are\r
283 experiencing audio/video sync issues and wish to test a different value.\r
284 Example Settings: 1024k, 2048k, 4096k\r
285 Available In: Tivos, HD_tivos, SD_tivos\r
287 width\r
289 Default Setting: 544 for S2, 1920 for S3+\r
290 Valid Entries: Any valid pixel dimension. Setting will be rounded to\r
291 nearest acceptable TiVo dimension.\r
292 Required: No\r
293 Description: Allows you to choose the output dimension of the transcoded\r
294 videos. SD units are limited to 720 and below. Likely HD users will want\r
295 to choose a higher value. Higher values may slow down transcoding and\r
296 will increase the file size. Increased file sizes take up more room on\r
297 the TiVo and take longer to transfer over the network.\r
298 Example Settings: 1920, 1440, 1280, 720, 704, 544, 480, 352.\r
299 Available In: Tivos, HD_tivos, SD_tivos\r
301 height\r
303 Default Setting: 480 for S2, 1080 for S3+\r
304 Valid Entries: Any valid pixel dimension. Setting will be rounded to\r
305 nearest acceptable TiVo dimension\r
306 Required: No\r
307 Description: Allows you to choose the output dimension of the transcoded\r
308 videos. SD units are limited to 480 and below. Likely HD users will want\r
309 to choose a higher value. Higher values may slow down transcoding and\r
310 will increase the file size. Increased file sizes take up more room on\r
311 the TiVo and take longer to transfer over the network.\r
312 Example Settings: 1080, 720, 480\r
313 Available In: Tivos, HD_tivos, SD_tivos\r
315 audio_br\r
317 Default Setting: same bitrate as source or 448k\r
318 Valid Entries: Any valid bitrate up to 448k\r
319 Required: No\r
320 Description: This allows you to choose the default audio bit rate used\r
321 for transcoding. The default is likely fine for most users. 384k is the\r
322 minimum recommended for ac3 audio.\r
323 Example Settings: 192K, 384K, 448K.\r
324 Available In: Tivos, HD_tivos, SD_tivos\r
326 max_audio_br\r
328 Default Setting: 448k\r
329 Valid Entries: Any valid bitrate\r
330 Required: No\r
331 Description: This sets the maximum audio bit rate that can be sent to\r
332 the TiVo. Files having a higher bit rate will be transcoded to ensure\r
333 TiVo compatibility.\r
334 Example Settings: 384K, 448K\r
335 Available In: Tivos, HD_tivos, SD_tivos\r
337 audio_fr\r
339 Default Setting: same frequency as source\r
340 Valid Entries: 44100, 48000\r
341 Required: No\r
342 Description: Sets the audio sampling frequency. Defaults to frequency of\r
343 the source file for better audio sync if it is 44100 or 48000. Otherwise\r
344 48000 is used.\r
345 Example Settings: 44100, 48000\r
346 Available In: Tivos, HD_tivos, SD_tivos\r
348 audio_ch\r
350 Default Setting: same channels as source\r
351 Valid Entries: any number compatible with ffmpeg and the audio codec selected\r
352 Required: No\r
353 Description: Sets the number of audio channels used by ffmpeg. ffmpeg\r
354 will retain the same number of channels as the source file by default.\r
355 Change this setting to 2 if you do not want to retain 5.1 audio. A bug\r
356 in ffmpeg will sometimes move the center audio channel to the left or\r
357 right speaker. Setting this option to 2, on an as needed basis, or\r
358 permanently, will correct this at the loss of 5.1 audio. But this should\r
359 only be necessary on rare occasions where the source file is an mkv or\r
360 xvid with ac3 5.1 audio bitrate above 448k.\r
361 Example Settings: 2, 6\r
362 Available In: Tivos, HD_tivos, SD_tivos\r
364 audio_lang\r
366 Recommended Setting: 5.1, DTS, en  (entire string including commas)\r
367 pyTivo Defaults To: first audio stream\r
368 Valid Entries: any language tag or audio stream number reported by ffmpeg\r
369 Required: No\r
370 Description: Sets the preferred language track used by pyTivo.\r
371 ffmpeg/pytivo defaults to the first audio stream.  Specifying this\r
372 parameter, tells pyTivo to use the first audio stream that matches this\r
373 entry if more than one audio stream exists.  If your video source does\r
374 not have language tags, you may specify the audio stream number reported\r
375 by ffmpeg (ie. 0.1, 0.2 ect.). Stream references like 0x80, 0x81, etc.\r
376 may also be specified.  pyTivo will transcode the file if necessary to\r
377 obtain the preferred language track.<br><br>\r
378 You can also assign new language tags to your files by adding Override\r
379 lines to your metadata txt files.  This will enable pytivo to detect\r
380 your audio language setting in files that do not contain language tags.\r
381 The syntax is<br>\r
382 Override_mapAudio: 0.1 eng<br>\r
383 Where 0.1 is the audio stream number reported by ffmpeg and eng is the \r
384 new audio tag to assign to that stream.  You can specify multiple \r
385 streams with one Override line --<br>\r
386 Override_mapAudio: 0:1 eng 0:2 "long tag" 0:3 foo<br>\r
387 Example Settings: eng, ger, spa, en, ge, 0.0, 0.1, 0.2, 0x80, 0x81 etc...\r
388 Available In: Tivos, HD_tivos, SD_tivos\r
390 copy_ts\r
392 Default Setting: True\r
393 Valid Entries: True/False\r
394 Required: No\r
395 Description: Adds the copy timestamps setting (-copyts) to the ffmpeg\r
396 command.  This setting helps correct audio synchronization problems that\r
397 commonly occur during transcoding.  You can leave this field blank\r
398 unless you wish to disable it. pyTivo defaults to True except when\r
399 pyTivo uses acodec copy, in which case copyts is not needed, and a\r
400 conflict could also occur if the source file has really corrupt\r
401 sections.\r
402 Example Settings: True/False\r
403 Available In: Tivos, HD_tivos, SD_tivos\r
405 ffmpeg_pram\r
407 Default Setting: None\r
408 Valid Entries: A valid ffmpeg command\r
409 Required: No\r
410 Description: This allows you to append additional raw ffmpeg commands to\r
411 the ffmpeg template. For example, you would enter '-threads 2' here if\r
412 you have multiple processors and want ffmpeg to use both processors to\r
413 speed up transcoding.\r
414 Example Settings: -threads 2\r
415 Available In: Server, Tivos, HD_tivos, SD_tivos\r
417 ffmpeg_tmpl\r
419 Default Setting: %(video_codec)s %(video_fps)s %(video_br)s\r
420 %(max_video_br)s %(buff_size)s %(aspect_ratio)s\r
421 %(audio_br)s %(audio_fr)s %(audio_ch)s %(audio_codec)s %(audio_lang)s\r
422 %(ffmpeg_pram)s %(format)s\r
423 Valid Entries: A valid ffmpeg command\r
424 Required: No\r
425 Description: This is a template used by pyTivo to control the parameters\r
426 passed to ffmpeg. It should not be necessary to modify this template\r
427 unless there is a particular parameter you do not wish ffmpeg to use and\r
428 it cannot be overridden by specifying that parameter in the pyTivo.conf\r
429 file.\r
430 Example Settings: See Above and the forum.\r
431 Available In: Server, Tivos, HD_tivos, SD_tivos\r
433 aspect169\r
435 Default Setting: True\r
436 Valid Entries: True/False\r
437 Required: No\r
438 Description: Most TiVos, even S2, can handle 16:9 videos perfectly. Some\r
439 >S2s are known not to handle 16:9 and will default to false in this\r
440 setting. If you are experiencing major distortion you can try setting\r
441 this to false. Likely most users will not have to mess with this.\r
442 Example Settings: True/False\r
443 Available In: Tivos\r
445 shares\r
447 Default Setting: None (allow all shares on this TiVo).\r
448 Valid Entries: The names of any shares in your pyTivo.conf file, in a\r
449 comma-separated list.\r
450 Required: No\r
451 Description: Only the shares listed in this setting will be visible on \r
452 this TiVo. Will ignore invalid shares. If no valid shares are listed, no \r
453 shares will be visible on this TiVo. If the "shares" line is not \r
454 present, all shares are visible.\r
455 Example Settings: Movies, Kids Stuff\r
456 Available In: Tivos\r
458 ffmpeg_wait\r
460 Default Setting: 0 (no limit)\r
461 Valid Entries: any integer\r
462 Required: No\r
463 Description: Limits the amount of time FFmpeg can run (when used to \r
464 check file info, not for transcoding), in seconds.\r
465 Example Settings: 10, 15, 20.\r
466 Available In: Server\r
468 tivo_username\r
470 Default Setting: None\r
471 Valid Entries: tivo.com username\r
472 Required: No\r
473 Description: Your username (email address) at tivo.com. This is required \r
474 for the "Push" feature. If you don't plan to use Push, you don't need to \r
475 set this.\r
476 Example Settings: user@example.com\r
477 Available In: Server, Tivos\r
479 tivo_password\r
481 Default Setting: None\r
482 Valid Entries: tivo.com password\r
483 Required: No\r
484 Description: Your password at tivo.com. This is required for the "Push" \r
485 feature. If you don't plan to use Push, you don't need to set this.\r
486 Example Settings: password\r
487 Available In: Server, Tivos\r
489 tivo_mind\r
491 Default Setting: mind.tivo.com:8181\r
492 Valid Entries: address:port\r
493 Required: No\r
494 Description: The TiVo "mind" server and port to use. This is the server \r
495 that pyTivo connects to in order to make Push requests. For most users \r
496 in the U.S., the default is the correct value. Australian users will \r
497 need to use "symind", while users in a beta program need "stagingmind".\r
498 Example Settings: symind.tivo.com:8181\r
499 Available In: Server\r
501 tivo_mak\r
503 Default Setting: None\r
504 Valid Entries: Your Media Access Key\r
505 Required: No\r
506 Description: Your Media Access Key -- find it on your TiVo under \r
507 Messages and Settings, Account and System information, Media Access Key. \r
508 This is required for the "ToGo" feature, and for anything that uses \r
509 tivodecode (pushing .TiVo files, transcoding HD .TiVo files to SD \r
510 TiVos). If you don't plan to use these features, you don't need to set \r
511 this.\r
512 Example Settings: 012345678\r
513 Available In: Server, Tivos\r
515 togo_path\r
517 Default Setting: None\r
518 Valid Entries: System path or share name\r
519 Required: No\r
520 Description: The path used to save programs downloaded via the ToGo \r
521 menu. It can be either a direct path, or the name of a share, in which \r
522 case pyTivo will use the path specified for the share. If you don't plan \r
523 to use the ToGo feature, you need not set this.\r
524 Example Settings: My Videos, /home/user/Videos\r
525 Available In: Server\r
527 zeroconf\r
529 Mode: select\r
530 Options: Auto/On/Off\r
531 Default Setting: Auto\r
532 Valid Entries: On/Off/Auto\r
533 Required: No\r
534 Description: Controls whether or not new-style, zeroconf-based beacons \r
535 are used. The default is to use them, unless there's a "_tivo_" section \r
536 with "shares" defined. The zeroconf beacons bypass the usual mechanism \r
537 whereby only the allowed shares are announced to specific TiVos; the \r
538 contents of the shares will still not appear on unauthorized TiVos, but \r
539 the names will.\r
540 Example Settings: On/Off/Auto\r
541 Available In: Server\r
543 nosettings\r
545 Mode: checkbox\r
546 Default Setting: False\r
547 Valid Entries: True/False\r
548 Required: No\r
549 Description: Disable the "Settings" item in the infopage (i.e. the very \r
550 thing you're using now). Note that you can't turn this off the way you \r
551 turned it on, since the settings page will not be available! You'll have \r
552 to remove it from pyTivo.conf with a text editor.\r
553 Example Settings: True/False\r
554 Available In: Server\r