hack83 is no longer needed with 9.3.2/11.0.
[pyTivo/wgw.git] / plugins / admin / help.txt
blob0f6814b3b44d4e51d0677d5f60cbac3e49c0f825
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 debug\r
70 Default Setting: False\r
71 Valid Entries: True/False\r
72 Required: No\r
73 Skill: Advanced\r
74 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
75 Example Settings: True/False\r
76 Available In: Server\r
78 precache\r
80 Default Setting: false\r
81 Valid Entries: True/False\r
82 Required: No\r
83 Skill: Moderate\r
84 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
85 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
86 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
87 It is recommended that you leave precaching turned off as it is no longer needed.\r
88 Example Settings: True/False\r
89 Available In: Shares\r
91 optres\r
93 Default Setting: False\r
94 Valid Entries: True/False\r
95 Required: No\r
96 Skill: Moderate\r
97 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
98 Example Settings: True/False\r
99 Available In: Server, Tivos\r
101 par\r
103 Recommended Setting: 1.0\r
104 pyTivo Defaults To: blank\r
105 Valid Entries: any valid par\r
106 Required: No\r
107 Skill: Very Advanced\r
108 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
109 par=1.18518519 (32:27, usually the correct setting for wide-screen anamorphically encoded DVD content)<br><br>+\\r
110 par=0.88888889 (8:9, usually the correct setting for anamorphically encoded DVDs from TV shows)\r
111 Example Settings: 1.0, 1.18518519, 0.88888889\r
112 Available In: Server\r
114 video_fps\r
116 Recommended Setting: blank\r
117 pyTivo Defaults To: 29.97 for S2 Tivo, same as source for S3/HD TiVo\r
118 Valid Entries: 29.97, 23.98, 25, 59.94\r
119 Required: No\r
120 Skill: Advanced\r
121 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
122 Example Settings: 29.97, 23.98, 25, 59.94\r
123 Available In: Server, Tivos\r
125 video_br\r
127 Default Setting: 4096K for SD TiVo's, 8192K for HD TiVo's\r
128 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
129 Required: No\r
130 Skill: Advanced\r
131 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.\r
132 Example Settings: 4096K, 8Mi, 12Mi, 16Mi\r
133 Available In: Server, Tivos\r
135 video_pct\r
137 Recommended Setting: blank\r
138 pyTivo Defaults to: 70 (percent of source bitrate)\r
139 Valid Entries: Any number (set this to 0 to disable this option)\r
140 Required: No\r
141 Skill: Advanced\r
142 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
143 Example Settings: 60, 70, 85, 100\r
144 Available In: Server\r
146 max_video_br\r
148 Recommended Setting: blank\r
149 pyTivo Defaults to: 30000k\r
150 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
151 Required: No\r
152 Skill: Advanced\r
153 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
154 Example Settings: 17408k, 30000k\r
155 Available In: Server\r
157 bufsize\r
159 Recommended Setting: blank\r
160 pyTivo Defaults To: 1024k for S2, 4096k for S3\r
161 Valid Entries: Any valid byte size\r
162 Required: No\r
163 Skill: Very Advanced\r
164 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 2048k or 4096k is preferred for HD tivos.  Leave this setting blank unless you are experiencing audio/video sync issues and wish to test a different value.\r
165 Example Settings: 1024k, 2048k, 4096k\r
166 Available In: Server, Tivos\r
168 width\r
170 Default Setting: 544 for S2, 1280 for S3\r
171 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
172 Required: No\r
173 Skill: Moderate\r
174 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
175 Example Settings: 1920, 1440, 1280, 720, 704, 544, 480, 352.\r
176 Available In: Server, Tivos\r
178 height\r
180 Default Setting: 480 for S2, 720 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 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
185 Example Settings: 1080, 720, 480\r
186 Available In: Server, Tivos\r
188 audio_br\r
190 Recommended Setting: blank\r
191 pyTivo Defaults To: same bitrate as source or 384k\r
192 Valid Entries: Any valid Bit rate up to 448k.\r
193 Required: No\r
194 Skill: Advanced\r
195 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
196 Example Settings: 192K, 384K, 448K.\r
197 Available In: Server, Tivos\r
199 max_audio_br\r
201 Recommended Setting: blank\r
202 pyTivo Defaults To: 448k\r
203 Valid Entries: Any valid Bit rate.\r
204 Required: No\r
205 Skill: Advanced\r
206 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
207 Example Settings: 384K, 448K.\r
208 Available In: Server, Tivos\r
210 audio_fr\r
212 Recommended Setting: blank\r
213 pyTivo Defaults To: same frequency as source\r
214 Valid Entries: 44100, 48000\r
215 Required: No\r
216 Skill: Advanced\r
217 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
218 Example Settings: 44100, 48000\r
219 Available In: Server, Tivos\r
221 audio_ch\r
223 Recommended Setting: blank\r
224 pyTivo Defaults To: same channels as source\r
225 Valid Entries: any number compatible with ffmpeg and the audio codec selected\r
226 Required: No\r
227 Skill: Advanced\r
228 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
229 Example Settings: 2, 6\r
230 Available In: Server, Tivos\r
232 audio_codec\r
234 Recommended Setting: blank\r
235 pyTivo Defaults To: ac3 or copy\r
236 Valid Entries: mp2, ac3\r
237 Required: No\r
238 Skill: Advanced\r
239 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
240 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
241 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
242 Example Settings: mp2, ac3\r
243 Available In: Server, Tivos\r
245 audio_lang\r
247 Recommended Setting: eng\r
248 pyTivo Defaults To: blank\r
249 Valid Entries: any language tag or audio stream number reported by ffmpeg\r
250 Required: No\r
251 Skill: Basic\r
252 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
253 You can also assign new language tags to your files by adding Override lines to your metadata txt files.  This will enable pytivo to detect your audio language setting in files that do not contain language tags.  The syntax is<br>+\\r
254 Override_mapAudio 0.1 colon eng (replace the word colon with a colon)<br>+\\r
255 Where 0.1 is the audio stream number reported by ffmpeg and eng is the new audio tag to assign to that stream.  Add a separate Override line for each audio stream that you want to replace with a new tag.<br><br>+\\r
256 Example Settings: eng, ger, spa, en, ge, 0.0, 0.1, 0.2, 0x80, 0x81 etc...\r
257 Available In: Server, Tivos\r
260 copy_ts\r
262 Recommended Setting: blank\r
263 pyTivo Defaults To: True\r
264 Valid Entries: blank, True, False\r
265 Required: No\r
266 Skill: Basic\r
267 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
268 Example Settings: blank, True, False\r
269 Available In: Server, Tivos\r
271 ffmpeg_pram\r
273 Default Setting: blank\r
274 Valid Entries: A valid ffmpeg command\r
275 Required: No\r
276 Skill: Very Advanced\r
277 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
278 Example Settings: -threads 2\r
279 Available In: Server, Tivos\r
281 ffmpeg_tmpl\r
283 Recommended Setting: blank\r
284 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 %(audio_lang)s %(ffmpeg_pram)s %(format)s\r
285 Valid Entries: A valid ffmpeg command\r
286 Required: No\r
287 Skill: Very Advanced\r
288 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
289 Example Settings: See Above and the forum.\r
290 Available In: Server, Tivos\r
292 type\r
294 Default Setting: None\r
295 Valid Entries: video, music, or any other valid plugin name.\r
296 Required: Yes\r
297 Skill: Basic\r
298 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
299 Example Settings: video, music\r
300 Available In: Shares\r
302 path\r
304 Default Setting: None\r
305 Valid Entries: Any operating system path\r
306 Required: Yes\r
307 Skill: Basic\r
308 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
309 Example Settings: Windows = C:\videos | Linux = /home/user/media\r
310 Available In: Shares\r
312 auto_subshares\r
314 Default Setting: false\r
315 Valid Entries: True/False\r
316 Required: No\r
317 Skill: Moderate\r
318 Description: Subfolders of the share paths you define will be seen by pyTivo and displayed as subfolders in the Now Playing List.\r
319 Example Settings: True/False\r
320 Available In: Shares\r
322 aspect169\r
324 Default Setting: True\r
325 Valid Entries: True/False\r
326 Required: No\r
327 Skill: Moderate\r
328 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
329 Example Settings: True/False\r
330 Available In: Tivos\r
332 shares\r
334 Default Setting: Blank, which is equivalent to allow all shares on this TiVo.\r
335 Valid Entries: The name of any share in your pyTivo.conf file. A comma separated list.\r
336 Required: No\r
337 Skill: Easy\r
338 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
339 Example Settings: Movies, Kids Stuff\r
340 Available In: Tivos\r