mimetype.guess_type() returns a tuple, and it might be (None, None).
[pyTivo/TheBayer.git] / pyTivo.conf.dist
blobc66fa7dc415a2589cbf19af55bed38422a85f694
1 # This is an example config file, showing all the options. You probably 
2 # won't need most of them. Your working config file will be named 
3 # "pyTivo.conf". '#' starts a comment.  It is recommended that
4 # that you use the Web Administration tool to modify pyTivo.conf after
5 # you get pyTivo up and running.  You can access the tool by pointing your
6 # browser to http://localhost:9032/
8 [Server]
9 port=9032
11 # Full path to ffmpeg including filename
12 # For windows: ffmpeg=c:\Program Files\pyTivo\bin\ffmpeg.exe
13 # For linux:   ffmpeg=/usr/bin/ffmpeg
14 #ffmpeg=c:\Program Files\pyTivo\bin\ffmpeg.exe
15 ffmpeg=/usr/bin/ffmpeg
17 # Setting this to True will log more ouput for debugging purposes.
18 #debug=False
20 # Max video bitrate, default 30000k
21 # sets ffmpeg -maxrate setting to minimize bitrate peak playback issues.
22 # mpegs with video bitrate above this setting will also be transcoded.
23 #MAX_VIDEO_BR=17408k
25 # Audio bit-rate, defaults to 192K for S2, 384K for S3/HD
26 #audio_br=320K
28 # Video bit-rate, defaults to 4096K for S2, 8192K for S3/HD
29 #video_br=12Mi
31 # Beacon broadcast address(es)
32 # The default is 255.255.255.255, but on some multihomed machines you 
33 # may need to specify the subnet broadcast address(es) of your Tivo 
34 # boxes. You can also specify "listen" to listen for direct connection 
35 # attempts on port 2190, for use with the "Manually add a server..." 
36 # function. (And if you set beacon to listen _only_, it turns off 
37 # broadcasts.)
38 #beacon=192.168.1.255 listen
40 # Output Pixel Width:
41 # Width, defaults to 544 for S2, 1920 for S3/HD
42 # Height, defaults to 480 for S2, 1080 for S3/HD
43 # Valid widths: [S3/HD = 1920, 1440, 1280], [S2/S3/HD = 720, 704, 544, 480, 352]
44 # Valid heights: [S3/HD = 1080, 720], [S2/S3/HD = 480]
45 #width=1920
46 #height=1080
47 #ffmpeg_tmpl=%(video_codec)s %(video_fps)s %(video_br)s %(max_video_br)s %(buff_size)s %(aspect_ratio)s %(audio_br)s %(audio_fr)s %(audio_ch)s %(audio_codec)s %(ffmpeg_pram)s %(format)s
49 # Togo settings:
50 # Set this up if you wish to have TiVo ToGo support.  This allows you to
51 # copy videos from your TiVo via a web page. 
53 #tivo_mak=<Your Media Access Key>
54 #togo_path=<path where movies will go or a section name>
56 # Per tivo options
57 # section named _tivo_TSN with the tsn in all caps
58 #[_tivo_00000DEADBEEF]
60 # If you want to use 16:9 or 4:3 on this tivo
61 #aspect169=true
63 #width=1440
64 #height=720
65 #audio_br=320K
66 #video_br=12Mi
67 #ffmpeg_tmpl=%(video_codec)s %(video_fps)s %(video_br)s %(max_video_br)s %(buff_size)s %(aspect_ratio)s %(audio_br)s %(audio_fr)s %(audio_ch)s %(audio_codec)s %(ffmpeg_pram)s %(format)s
69 #[_tivo_HD]
70 # section for default video options applicable to all HD TiVos
71 # see pyTivo Web Configuration for all available settings
73 #[_tivo_SD]
74 # section for default video options applicable to all SD TiVos
75 # see pyTivo Web Configuration for all available settings
77 [MyMovies]
78 # Type can be 'video', 'music', or 'photo'
79 type=video
81 # Path is the full path to your files (No trailing slash needed)
82 # For windows: path=c:\videos
83 # For linux:   path=/media
84 path=/home/armooo/Videos
86 # You can have more than one share
87 #[MyTelevision]
88 #type=video
89 #path=d:\television