help file updates
[pyTivo/wgw.git] / plugins / admin / help.txt
blobfcc89bc2edecb7c1947d9d6ca8fbf677bffeffa8
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 all on\r
11 # ONE line. Each line will be read into the previously named section  \r
12 # until a line is reached which does not contain a colon or the EOF is \r
13 # reached. Lines ending in <br><br>+\ will be concated with the next lines \r
14 #\r
15 # SPECIAL SECTION: In order for the web plugin to know which settings\r
16 # are available. To do this the follow line should be present in\r
17 # every setting:\r
18 #\r
19 # Available In:\r
20 #\r
21 # This entry should be a comma seperated list of the sections which \r
22 # this setting should be shown in. For example:\r
23 #\r
24 # Available In: Server, TiVos, Shares\r
25 #\r
26 ######################################################################\r
28 port\r
30 Default Setting: None, must be entered. Distributed conf file uses 9032\r
31 Valid Entries: Valid port number\r
32 Required: Yes, without a port setting in the conf file pyTivo will not start.\r
33 Skill: Basic\r
34 Description: The port which pyTivo uses to serve your files. Can be changed if it conflicts with another program. It is reported on Ubuntu that this port is already used so you may need to change it to something like port=9254.\r
35 Example Settings: 9032\r
36 Available In: Server\r
38 guid\r
40 Default Setting: 123456\r
41 Valid Entries: Any 6 digit number\r
42 Required: Generally NO, will default to '123456' if left blank. If you use more than one pyTivo server on the same network a different random number is required here.\r
43 Skill: Advanced\r
44 Description: A unique identifier used in the beacon to identify this server. If you have 2 or more pyTivo servers on one network each server must use its own unique identifier.\r
45 Example Settings: Any 6 digit number.\r
46 Available In: Server\r
48 ffmpeg\r
50 Default Setting: There is none.\r
51 Valid Entries: Operating system path\r
52 Required: Yes!\r
53 Skill: Basic\r
54 Description: This is the full path to your ffmpeg binary. For windows users ffmpeg is distributed with pyTivo and is in the plugins/video folder\r
55 Example Settings: Linux = /usr/bin/ffmpeg | Windows = c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe\r
56 Available In: Server\r
58 beacon\r
60 Default Setting: 255.255.255.255\r
61 Valid Entries: A Subnet or Listen\r
62 Required: No, defaults to 255.255.255.255\r
63 Skill: Advanced\r
64 Description: The subnet which the beacon should broadcast on. Most people can leave this at the default setting. If set to listen will accept incoming TCP requests.\r
65 Example Settings: 255.255.255.255\r
66 Available In: Server\r
68 hack83\r
70 Default Setting: False\r
71 Valid Entries: True/False\r
72 Required: No\r
73 Skill: Moderate\r
74 Description: Available in the SubFoldersBranch. Allows TiVos with software 8.3 and above to display subfolders as users are accustomed too prior to the 8.3Software glitch. If you use this then you don't need to use auto_subshares. Warning: navigating folders too fast with this setting enabled may cause TiVo to reboot.\r
75 Example Settings: True/False\r
76 Available In: Server\r
78 debug\r
80 Default Setting: False\r
81 Valid Entries: True/False\r
82 Required: No\r
83 Skill: Advanced\r
84 Description: Will create a file named debug.txt in the base folder of pyTivo. This file will contain debug information helpful in diagnosing problems. Generally only necessary if you are having a problem and the information is requested by support staff.\r
85 Example Settings: True/False\r
86 Available In: Server\r
88 precache\r
90 Default Setting: false\r
91 Valid Entries: True/False\r
92 Required: No\r
93 Skill: Moderate\r
94 Description: In order to verify that the video files present on your computer were compatible with ffmpeg in older versions pyTivo would query ffmpeg for each file. While this information was cached it still caused a delay in the initial loading of a list of files. This precache setting forced pyTivo to inspect each video prior to starting the pyTivo server. However, this had two drawbacks. 1. It took time as much as two minutes before pyTivo was ready to accept requests. 2. It did not update the cache if new files were added while the pyTivo server was running.<br><br>+\\r
95 In the more recent releases, anything after Feb 16, 2008, pyTivo no longer needs to query ffmpeg when creating a file list. Instead pyTivo has a list of accepted video format extensions. If the file extension falls within this list it is displayed on the TiVo. This achieves the same speed increase as the precache method without the delay in loading the pyTivo server.<br><br>+\\r
96 There are still two drawbacks to this method. 1. The video file must have an extension that is in the list. There is a possibility that a new video file extension could come out before pyTivo is updated. 2. Incomplete or video files with errors will still appear in the TiVo listing if they have the correct extension, even though they are not valid files. Both of these concerns are minimal. 1. Very few new formats of video files come out very often. And all extensions are stored in the video.ext file which is easily edited. 2. When viewing the file details before transferring the pyTivo server queries ffmpeg to make sure it is valid. If the file is not valid it will show up as a copyrighted file and transferring it will be prevented by TiVo.<br><br>+\\r
97 It is recommended that you leave precaching turned off as it is no longer needed.\r
98 Example Settings: True/False\r
99 Available In: Shares\r
101 optres\r
103 Default Setting: False\r
104 Valid Entries: True/False\r
105 Required: No\r
106 Skill: Moderate\r
107 Description: Allows for the use of the Optimal Resolution in transcoding. By setting optes = true pyTivo will treat the height and width settings in the conf file as a maximum. If the video to be transcoded has smaller dimensions that are closer to other acceptable TiVo dimensions then pyTivo will use these dimensions. This allows for faster transcoding and small files when the initial video is a lower quality. pyTivo uses the same resolution as the source file on HD Tivos for optimal transcoding efficiency. It is not necessay to to set this option with HD TiVos unles you wish to force pyTivo to change the resolution to an "S2 compatible" resolution.\r
108 Example Settings: True/False\r
109 Available In: Server, Tivos\r
111 par\r
113 Recommended Setting: 1.0\r
114 pyTivo Defaults To: blank\r
115 Valid Entries: any valid par\r
116 Required: No\r
117 Skill: Very Advanced\r
118 Description: Set pixel aspect ratio. Applies to S3 Tivos only. OPTRES must be false to use PAR. For some videofiles (e.g., AVC files), ffmpeg cannot determine the pixel aspect ratio correctly and assumes 1:1 which leads to a distorted image on anamorphically encoded video files. This setting allows you to override this default. If you do not understand this setting, and you observe no distortions, you can ignore it. Set par=1.0 to tell pyTivo to automatically adjust the pixel aspect ratio whenever possible.<br><br>+\\r
119 par=1.18518519 (32:27, usually the correct setting for wide-screen anamorphically encoded DVD content)<br><br>+\\r
120 par=0.88888889 (8:9, usually the correct setting for anamorphically encoded DVDs from TV shows)\r
121 Example Settings: 1.0, 1.18518519, 0.88888889\r
122 Available In: Server\r
124 video_fps\r
126 Recommended Setting: blank\r
127 pyTivo Defaults To: 29.97 for S2 Tivo, same as source for S3/HD TiVo\r
128 Valid Entries: 29.97, 23.98, 25, 59.94\r
129 Required: No\r
130 Skill: Advanced\r
131 Description: Sets the frame rate used by ffmpeg. pyTivo uses 29.97 for S2's, and uses the same frame rate as the source on HD TiVos. The default setting should work fine for most transfers.\r
132 Example Settings: 29.97, 23.98, 25, 59.94\r
133 Available In: Server, Tivos\r
135 video_br\r
137 Default Setting: 4096K for SD TiVo's, 8192K for HD TiVo's\r
138 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
139 Required: No\r
140 Skill: Advanced\r
141 Description: This allows you to choose the default server video bit rate used in transcoding. FFmpeg does not strictly follow this bit rate, there is a certain level of tolerance that is allowed. Also a low quality file will always have a low bit rate. The default is likely fine for most users. Higher values may slow down transcoding and will increase the file size. Increased file sizes take up more room on the TiVo and take longer to transfer over the network.  See the bufsize setting if you increase this setting to 12Mi or above for transcoding to 1080 resolutions.\r
142 Example Settings: 4096K, 8Mi, 12Mi, 16Mi\r
143 Available In: Server, Tivos\r
145 video_pct\r
147 Recommended Setting: blank\r
148 pyTivo Defaults to: 70 (percent of source bitrate)\r
149 Valid Entries: Any number (set this to 0 to disable this option)\r
150 Required: No\r
151 Skill: Advanced\r
152 Description: This sets video_br to a percent of the source video bitrate.  pyTivo will multiply the source video bitrate by this percentage setting, compare it to the video_br setting and use whichever is greater as the video_br.  This allows for setting higher bitrates automatically when transcoding High Definition sources.  For example, if your source file has a bitrate of 22000k and video_pct is set to 70, pyTivo will use 15400k for video_br instead of the default 8192k setting.  With this setting enabled, the video_br setting essentially becomes the minimum video bitrate.  This setting only applies to S3 tivos.\r
153 Example Settings: 60, 70, 85, 100\r
154 Available In: Server\r
156 max_video_br\r
158 Recommended Setting: blank\r
159 pyTivo Defaults to: 30000k\r
160 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
161 Required: No\r
162 Skill: Advanced\r
163 Description: This allows you to choose the maximum bit rate and is more strict than the video_br setting above. However setting this can cause buffer overflows and can cause issues with ffmpeg. In addition to setting the ffmpeg maxrate option, this setting is used to determine if the video bitrate of the source video file is too high for the TiVo. mpeg's with a video bitrate above this setting will be transcoded rather than sent to the TiVo untouched.  Lower this setting below the bitrate of your source file if you wish to force high bitrate sources to be transcoded.  Recommended only for skilled users. Note: there is a report that ffmpeg throws an error with 17Mi but accepts 17408K just fine.\r
164 Example Settings: 17408k, 30000k\r
165 Available In: Server\r
167 bufsize\r
169 Recommended Setting: 4096k\r
170 pyTivo Defaults To: 1024k\r
171 Valid Entries: Any valid byte size\r
172 Required: No\r
173 Skill: Very Advanced\r
174 Description: Allows you to set the buffer size used by ffmpeg. Increasing this setting will allow higher bitrates during transcoding (see video_br setting), especially when transcoding to HD resolutions.  But it may result in pixelation or audio sync issues with some sources.  1024k is fine for the resolutions used by S2 tivos.  But you will probably want to increase this setting to 2048k or 4096k if you have an HD tivo.\r
175 Example Settings: 1024k, 2048k, 4096k\r
176 Available In: Server\r
178 width\r
180 Default Setting: 544 for S2, 1280 for S3\r
181 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
182 Required: No\r
183 Skill: Moderate\r
184 Description: Allows you to choose the output dimension of the transcoded videos. SD units are limited to 544 and below. Likely HD users will want to choose a higher value. Higher values may slow down transcoding and will increase the file size. Increased file sizes take up more room on the TiVo and take longer to transfer over the network.\r
185 Example Settings: 1920, 1440, 1280, 720, 704, 544, 480, 352.\r
186 Available In: Server, Tivos\r
188 height\r
190 Default Setting: 480 for S2, 720 for S3\r
191 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
192 Required: No\r
193 Skill: Moderate\r
194 Description: Allows you to choose the output dimension of the transcoded videos. SD units are limited to 480 and below. Likely HD users will want to choose a higher value. Higher values may slow down transcoding and will increase the file size. Increased file sizes take up more room on the TiVo and take longer to transfer over the network.\r
195 Example Settings: 1080, 720, 480\r
196 Available In: Server, Tivos\r
198 audio_br\r
200 Recommended Setting: blank\r
201 pyTivo Defaults To: same bitrate as source or 384k\r
202 Valid Entries: Any valid Bit rate up to 448k.\r
203 Required: No\r
204 Skill: Advanced\r
205 Description: This allows you to choose the default audio bit rate used for transcoding. The default is likely fine for most users. 384k is the minimum recommended for ac3 audio. For S2 Tivos, you may want to lower this setting to 192k and set audio_ch=2 to slightly reduce the file size. See audio_codec for more info.\r
206 Example Settings: 192K, 384K, 448K.\r
207 Available In: Server, Tivos\r
209 max_audio_br\r
211 Recommended Setting: blank\r
212 pyTivo Defaults To: 448k\r
213 Valid Entries: Any valid Bit rate.\r
214 Required: No\r
215 Skill: Advanced\r
216 Description: This sets the maximum audio bit rate that can be sent to the TiVo. Files having a higher bit rate will be transcoded to ensure TiVo compatibilty.\r
217 Example Settings: 384K, 448K.\r
218 Available In: Server, Tivos\r
220 audio_fr\r
222 Recommended Setting: blank\r
223 pyTivo Defaults To: same frequency as source\r
224 Valid Entries: 44100, 48000\r
225 Required: No\r
226 Skill: Advanced\r
227 Description: Sets the audio sampling frequency. Defaults to frequency of the source file for better audio sync if it is 44100 or 48000. Otherwise 48000 is used.\r
228 Example Settings: 44100, 48000\r
229 Available In: Server, Tivos\r
231 audio_ch\r
233 Recommended Setting: blank\r
234 pyTivo Defaults To: same channels as source\r
235 Valid Entries: any number compatible with ffmpeg and the audio codec selected\r
236 Required: No\r
237 Skill: Advanced\r
238 Description: Sets the number of audio channels used by ffmpeg. ffmpeg will retain the same number of channels as the source file by default. The default setting should work fine for most transfers unless the default audio_codec is changed. Change this setting to 2 if you do not want to retain 5.1 audio. A bug in ffmpeg will sometimes move the center audio channel to the left or right speaker. Setting this option to 2, on an as needed basis, or permanently, will correct this at the loss of 5.1 audio. But this should only be necessary on rare occasions where the source file is an mkv or xvid with ac3 5.1 audio bitrate above 448k.\r
239 Example Settings: 2, 6\r
240 Available In: Server, Tivos\r
242 audio_codec\r
244 Recommended Setting: blank\r
245 pyTivo Defaults To: ac3 or copy\r
246 Valid Entries: mp2, ac3\r
247 Required: No\r
248 Skill: Advanced\r
249 Description: Sets the audio codec used by ffmpeg during transcoding. pyTivo defaults to ac3 in order to retain 5.1 audio should the source contain it. pyTivo also checks the audio codec and bitrate of the source and uses '-acodec copy' if it is compatible. Otherwise the Default Setting is used. Specifying an audio codec will disable these features and pyTivo will re-encode all audio using the codec specified.<br><br>+\\r
250 Allowing pyTivo to select '-acodec copy' whenever possible will generally produce the best results. This is meant to eliminate garbled audio during transcoding when the source contains audio glitches that cause ffmpeg to lose synchronization. This will also prevent the center audio channel from being moved to the right front speaker by ffmpeg when transferring mkv's and xvid's with audio bitrate of 448k or less.<br><br>+\\r
251 You may want to change this setting to mp2 if you only have an S2, or have specified a per tivo section for an S2, and do not wish to retain 5.1 audio for possible transfer to an S3 Tivo or back to the PC should the need arise. This will slightly reduce the amount of disk space used and allow for more recordings on an S2 Tivo. In this case, you will want to specify audio_codec=mp2, audio_ch=2, and audio_br=192k. These are the settings normally used by the S2 for recordings.\r
252 Example Settings: mp2, ac3\r
253 Available In: Server, Tivos\r
255 audio_lang\r
257 Recommended Setting: eng\r
258 pyTivo Defaults To: blank\r
259 Valid Entries: any language tag or audio stream number reported by ffmpeg\r
260 Required: No\r
261 Skill: Basic\r
262 Description: Sets the preferred language track used by pyTivo.  ffmpeg/pytivo defaults to the first audio stream.  Specifying this parameter, tells pyTivo to use the first audio stream that matches this entry if more than one audio stream exists.  If your video source does not have language tags, you may specify the audio stream number reported by ffmpeg (ie. 0.1, 0.2 ect.). Stream references like 0x80, 0x81, etc. may also be specified.  pyTivo will transcode the file if necessary to obtain the preferred language track.<br><br>+\\r
263 Example Settings: eng, ger, spa, en, ge, 0.0, 0.1, 0.2, 0x80, 0x81 etc...\r
264 Available In: Server, Tivos\r
267 copy_ts\r
269 Recommended Setting: blank\r
270 pyTivo Defaults To: True\r
271 Valid Entries: blank, True, False\r
272 Required: No\r
273 Skill: Basic\r
274 Description: Adds the copy timestamps setting (-copyts) to the ffmpeg command.  This setting helps correct audio synchronization problems that commonly occur during transcoding.  You can leave this field blank unless you wish to disable it. pyTivo defaults to True except when pyTivo uses acodec copy, in which case copyts is not needed, and a conflict could also occur if the source file has really corrupt sections.<br><br>+\\r
275 Example Settings: blank, True, False\r
276 Available In: Server, Tivos\r
278 ffmpeg_pram\r
280 Default Setting: blank\r
281 Valid Entries: A valid ffmpeg command\r
282 Required: No\r
283 Skill: Very Advanced\r
284 Description: This allows you to append additional raw ffmpeg commands to the ffmpeg template. For example, you would enter '-threads 2' here if you have multiple processors and want ffmpeg to use both processors to speed up transcoding.\r
285 Example Settings: -threads 2\r
286 Available In: Server, Tivos\r
288 ffmpeg_tmpl\r
290 Recommended Setting: blank\r
291 pyTivo Defaults To: %(video_codec)s %(video_fps)s %(video_br)s %(max_video_br)s %(buff_size)s %(aspect_ratio)s -comment pyTivo.py %(audio_br)s %(audio_fr)s %(audio_ch)s %(audio_codec)s %(ffmpeg_pram)s %(format)s\r
292 Valid Entries: A valid ffmpeg command\r
293 Required: No\r
294 Skill: Very Advanced\r
295 Description: This is a template used by pyTivo to control the parameters passed to ffmpeg. It should not be necessary to modify this template unless there is a particular parameter you do not wish ffmpeg to use and it cannot be overridden by specifying that parameter in the pyTivo.conf file.\r
296 Example Settings: See Above and the forum.\r
297 Available In: Server, Tivos\r
299 type\r
301 Default Setting: None\r
302 Valid Entries: video, music, or any other valid plugin name.\r
303 Required: Yes\r
304 Skill: Basic\r
305 Description: Sets the type of share that this will be. This must be set to something otherwise pyTivo will not start. NOTE plugins names are generally lowercase.\r
306 Example Settings: video, music\r
307 Available In: Shares\r
309 path\r
311 Default Setting: None\r
312 Valid Entries: Any operating system path\r
313 Required: Yes\r
314 Skill: Basic\r
315 Description: Sets the base path to your media content. While pyTivo will start with an invalid path your shares will not work at all.\r
316 Example Settings: Windows = C:\videos | Linux = /home/user/media\r
317 Available In: Shares\r
319 auto_subshares\r
321 Default Setting: false\r
322 Valid Entries: True/False\r
323 Required: No\r
324 Skill: Moderate\r
325 Description: Subfolders of the share paths you define will be seen by pyTivo and displayed as subfolders in the Now Playing List. This is an alternative to the hack83 setting which enables the SubFoldersBranch\r
326 Example Settings: True/False\r
327 Available In: Shares\r
329 aspect169\r
331 Default Setting: True\r
332 Valid Entries: True/False\r
333 Required: No\r
334 Skill: Moderate\r
335 Description: Most TiVos, even S2, can handle 16:9 videos perfectly. Some S2s are known not to handle 16:9 and will default to false in this setting. If you are experiencing major distortion you can try setting this to false. Likely most users will not have to mess with this.\r
336 Example Settings: True/False\r
337 Available In: Tivos\r
339 shares\r
341 Default Setting: Blank, which is equivalent to allow all shares on this TiVo.\r
342 Valid Entries: The name of any share in your pyTivo.conf file. A comma separated list.\r
343 Required: No\r
344 Skill: Easy\r
345 Description: Only the shares listed in this setting will be visible on this TiVo. Will ignore invalid shares. If no valid shares are listed or the setting does not exist, all shares will be visible on this TiVo.\r
346 Example Settings: Movies, Kids Stuff\r
347 Available In: Tivos\r