Merge branch 'master' of git://repo.or.cz/pyTivo/krkeegan
[pyTivo/krkeegan.git] / plugins / admin / help.txt
blob02698af42246f090f4e552ff888586ec139a2092
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 max_video_br\r
145 Default Setting: 17408k\r
146 Valid Entries: Any valid Bit rate. 1024K = 1Mi\r
147 Required: No\r
148 Skill: Advanced\r
149 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. Otherwise compatible mpeg's with a video bitrate above this setting will be transcoded rather than sent to the TiVo untouched. Raising this setting much higher than the default will likly result in pixelation during playback. Recommended only for skilled users. Note: there is a report that ffmpeg throws an error with 17Mi but accepts 17408K just fine.\r
150 Example Settings: 17408k\r
151 Available In: Server\r
153 bufsize\r
155 Default Setting: 1024k\r
156 Valid Entries: Any valid byte size\r
157 Required: No\r
158 Skill: Very Advanced\r
159 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
160 Example Settings: 1024k\r
161 Available In: Server\r
163 width\r
165 Default Setting: 544\r
166 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
167 Required: No\r
168 Skill: Moderate\r
169 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
170 Example Settings: 1920, 1440, 1280, 720, 704, 544, 480, 352.\r
171 Available In: Server, Tivos\r
173 height\r
175 Default Setting: 480\r
176 Valid Entries: Any valid pixel dimension. Setting will be rounded to nearest acceptable TiVo dimension\r
177 Required: No\r
178 Skill: Moderate\r
179 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
180 Example Settings: 1080, 720, 480\r
181 Available In: Server, Tivos\r
183 audio_br\r
185 Default Setting: 384K\r
186 Valid Entries: Any valid Bit rate up to 448k.\r
187 Required: No\r
188 Skill: Advanced\r
189 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
190 Example Settings: 192K, 384K, 448K.\r
191 Available In: Server, Tivos\r
193 max_audio_br\r
195 Default Setting: 448K\r
196 Valid Entries: Any valid Bit rate.\r
197 Required: No\r
198 Skill: Advanced\r
199 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
200 Example Settings: 384K, 448K.\r
201 Available In: Server, Tivos\r
203 audio_fr\r
205 Default Setting: 48000\r
206 Valid Entries: 44100, 48000\r
207 Required: No\r
208 Skill: Advanced\r
209 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
210 Example Settings: 44100, 48000\r
211 Available In: Server, Tivos\r
213 audio_ch\r
215 Default Setting: blank (same as source)\r
216 Valid Entries: any number compatible with ffmpeg and the audio codec selected\r
217 Required: No\r
218 Skill: Advanced\r
219 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
220 Example Settings: 2, 6\r
221 Available In: Server, Tivos\r
223 audio_codec\r
225 Default Setting: ac3\r
226 Valid Entries: mp2, ac3\r
227 Required: No\r
228 Skill: Advanced\r
229 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
230 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
231 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
232 Example Settings: mp2, ac3\r
233 Available In: Server, Tivos\r
235 copy_ts\r
237 Default Setting: True\r
238 Valid Entries: blank, True, False\r
239 Required: No\r
240 Skill: Basic\r
241 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.<br><br>+\\r
242 Example Settings: blank, True, False\r
243 Available In: Server, Tivos\r
245 ffmpeg_pram\r
247 Default Setting: blank\r
248 Valid Entries: A valid ffmpeg command\r
249 Required: No\r
250 Skill: Very Advanced\r
251 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
252 Example Settings: -threads 2\r
253 Available In: Server, Tivos\r
255 ffmpeg_tmpl\r
257 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 %(copy_ts)s %(ffmpeg_pram)s %(format)s\r
258 Valid Entries: A valid ffmpeg command\r
259 Required: No\r
260 Skill: Very Advanced\r
261 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
262 Example Settings: See Above and the forum.\r
263 Available In: Server, Tivos\r
265 type\r
267 Default Setting: None\r
268 Valid Entries: video, music, or any other valid plugin name.\r
269 Required: Yes\r
270 Skill: Basic\r
271 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
272 Example Settings: video, music\r
273 Available In: Shares\r
275 path\r
277 Default Setting: None\r
278 Valid Entries: Any operating system path\r
279 Required: Yes\r
280 Skill: Basic\r
281 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
282 Example Settings: Windows = C:\videos | Linux = /home/user/media\r
283 Available In: Shares\r
285 auto_subshares\r
287 Default Setting: false\r
288 Valid Entries: True/False\r
289 Required: No\r
290 Skill: Moderate\r
291 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
292 Example Settings: True/False\r
293 Available In: Shares\r
295 aspect169\r
297 Default Setting: True\r
298 Valid Entries: True/False\r
299 Required: No\r
300 Skill: Moderate\r
301 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
302 Example Settings: True/False\r
303 Available In: Tivos\r
305 shares\r
307 Default Setting: Blank, which is equivalent to allow all shares on this TiVo.\r
308 Valid Entries: The name of any share in your pyTivo.conf file. A comma separated list.\r
309 Required: No\r
310 Skill: Easy\r
311 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
312 Example Settings: Movies, Kids Stuff\r
313 Available In: Tivos\r