change percentage setting to whole number
[pyTivo/wgw.git] / plugins / admin / help.txt
blobbb662c7d2f905fe9e7ed78557f437c68c38aa33f
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 Default Setting: blank\r
114 Valid Entries: any valid par\r
115 Required: No\r
116 Skill: Very Advanced\r
117 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
118 par=1.18518519 (32:27, usually the correct setting for wide-screen anamorphically encoded DVD content)<br><br>+\\r
119 par=0.88888889 (8:9, usually the correct setting for anamorphically encoded DVDs from TV shows)\r
120 Example Settings: 1.0, 1.18518519, 0.88888889\r
121 Available In: Server\r
123 video_fps\r
125 Default Setting: 29.97 for S2 Tivo, blank for S3/HD TiVo\r
126 Valid Entries: 29.97, 23.98, 25, 59.94\r
127 Required: No\r
128 Skill: Advanced\r
129 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
130 Example Settings: 29.97, 23.98, 25, 59.94\r
131 Available In: Server, Tivos\r
133 video_br\r
135 Default Setting: 4096K for SD TiVo's, 8192K for HD TiVo's\r
136 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
137 Required: No\r
138 Skill: Advanced\r
139 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
140 Example Settings: 4096K, 8Mi, 12Mi\r
141 Available In: Server, Tivos\r
143 video_pct\r
145 Recommended Setting: blank\r
146 pyTivo Defaults to: 70 (percent of source bitrate)\r
147 Valid Entries: Any number (set this to 0 to disable this option)\r
148 Required: No\r
149 Skill: Advanced\r
150 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 0.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
151 Example Settings: 60, 70, 85, 100\r
152 Available In: Server\r
154 max_video_br\r
156 Recommended Setting: blank\r
157 pyTivo Defaults to: 30000k\r
158 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
159 Required: No\r
160 Skill: Advanced\r
161 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
162 Example Settings: 17408k, 30000k\r
163 Available In: Server\r
165 bufsize\r
167 Default Setting: 1024k\r
168 Valid Entries: Any valid byte size\r
169 Required: No\r
170 Skill: Very Advanced\r
171 Description: Allows you to set the buffer size used by ffmpeg. I don't know much about this setting, but from what I can tell it is rather touchy and should only be edited by advanced users.\r
172 Example Settings: 1024k\r
173 Available In: Server\r
175 width\r
177 Default Setting: 544\r
178 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
179 Required: No\r
180 Skill: Moderate\r
181 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
182 Example Settings: 1920, 1440, 1280, 720, 704, 544, 480, 352.\r
183 Available In: Server, Tivos\r
185 height\r
187 Default Setting: 480\r
188 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
189 Required: No\r
190 Skill: Moderate\r
191 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
192 Example Settings: 1080, 720, 480\r
193 Available In: Server, Tivos\r
195 audio_br\r
197 Default Setting: 384K\r
198 Valid Entries: Any valid Bit rate up to 448k.\r
199 Required: No\r
200 Skill: Advanced\r
201 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
202 Example Settings: 192K, 384K, 448K.\r
203 Available In: Server, Tivos\r
205 max_audio_br\r
207 Default Setting: 448K\r
208 Valid Entries: Any valid Bit rate.\r
209 Required: No\r
210 Skill: Advanced\r
211 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
212 Example Settings: 384K, 448K.\r
213 Available In: Server, Tivos\r
215 audio_fr\r
217 Default Setting: 48000\r
218 Valid Entries: 44100, 48000\r
219 Required: No\r
220 Skill: Advanced\r
221 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
222 Example Settings: 44100, 48000\r
223 Available In: Server, Tivos\r
225 audio_ch\r
227 Default Setting: blank (same as source)\r
228 Valid Entries: any number compatible with ffmpeg and the audio codec selected\r
229 Required: No\r
230 Skill: Advanced\r
231 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
232 Example Settings: 2, 6\r
233 Available In: Server, Tivos\r
235 audio_codec\r
237 Default Setting: ac3\r
238 Valid Entries: mp2, ac3\r
239 Required: No\r
240 Skill: Advanced\r
241 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
242 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
243 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
244 Example Settings: mp2, ac3\r
245 Available In: Server, Tivos\r
247 copy_ts\r
249 Default Setting: True\r
250 Valid Entries: blank, True, False\r
251 Required: No\r
252 Skill: Basic\r
253 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
254 Example Settings: blank, True, False\r
255 Available In: Server, Tivos\r
257 ffmpeg_pram\r
259 Default Setting: blank\r
260 Valid Entries: A valid ffmpeg command\r
261 Required: No\r
262 Skill: Very Advanced\r
263 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
264 Example Settings: -threads 2\r
265 Available In: Server, Tivos\r
267 ffmpeg_tmpl\r
269 Default Setting: "%(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
270 Valid Entries: A valid ffmpeg command\r
271 Required: No\r
272 Skill: Very Advanced\r
273 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
274 Example Settings: See Above and the forum.\r
275 Available In: Server, Tivos\r
277 type\r
279 Default Setting: None\r
280 Valid Entries: video, music, or any other valid plugin name.\r
281 Required: Yes\r
282 Skill: Basic\r
283 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
284 Example Settings: video, music\r
285 Available In: Shares\r
287 path\r
289 Default Setting: None\r
290 Valid Entries: Any operating system path\r
291 Required: Yes\r
292 Skill: Basic\r
293 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
294 Example Settings: Windows = C:\videos | Linux = /home/user/media\r
295 Available In: Shares\r
297 auto_subshares\r
299 Default Setting: false\r
300 Valid Entries: True/False\r
301 Required: No\r
302 Skill: Moderate\r
303 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
304 Example Settings: True/False\r
305 Available In: Shares\r
307 aspect169\r
309 Default Setting: True\r
310 Valid Entries: True/False\r
311 Required: No\r
312 Skill: Moderate\r
313 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
314 Example Settings: True/False\r
315 Available In: Tivos\r
317 shares\r
319 Default Setting: Blank, which is equivalent to allow all shares on this TiVo.\r
320 Valid Entries: The name of any share in your pyTivo.conf file. A comma separated list.\r
321 Required: No\r
322 Skill: Easy\r
323 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
324 Example Settings: Movies, Kids Stuff\r
325 Available In: Tivos\r