| 1 | # -*- coding: iso-8859-1 -*- |
|---|
| 2 | # ----------------------------------------------------------------------- |
|---|
| 3 | # local_conf.py - System configuration |
|---|
| 4 | # ----------------------------------------------------------------------- |
|---|
| 5 | # $Id$ |
|---|
| 6 | # |
|---|
| 7 | # Notes: |
|---|
| 8 | # |
|---|
| 9 | # This file contains your freevo settings, overriding the settings in |
|---|
| 10 | # freevo_config.py. freevo_config.py, which is usually installed in |
|---|
| 11 | # /usr/share/freevo, contains all the core settings. To change the settings copy |
|---|
| 12 | # this file to ~/.freevo/local_conf.py or /etc/freevo/local_conf.py |
|---|
| 13 | # |
|---|
| 14 | # It does not contain all the possible settings that you can change, see |
|---|
| 15 | # freevo_config.py for all the possible settings. Also it does not contain |
|---|
| 16 | # settings for the plug-ins, plug-ins contain their configuration information and |
|---|
| 17 | # the can be listed with: |
|---|
| 18 | # | freevo plugins -l |
|---|
| 19 | # and the settings can se shown with |
|---|
| 20 | # | freevo plugins -i <name of plug-in> |
|---|
| 21 | # |
|---|
| 22 | # E.g.: when you want a alsa as mplayer audio out, just put in local_conf.py: |
|---|
| 23 | # | MPLAYER_AO_DEV = 'alsa9' |
|---|
| 24 | # |
|---|
| 25 | # The vertical line indicates code. |
|---|
| 26 | # |
|---|
| 27 | # This is no normal config file, it's Python code. Because of that, you |
|---|
| 28 | # need to follow some rules to avoid crashes. The examples should explain |
|---|
| 29 | # the settings, but make sure a line starting with a variable has NO SPACES OR |
|---|
| 30 | # TABS at the beginning. |
|---|
| 31 | # |
|---|
| 32 | # ----------------------------------------------------------------------- |
|---|
| 33 | # Freevo - A Home Theater PC framework |
|---|
| 34 | # Copyright (C) 2002 Krister Lagerstrom, et al. |
|---|
| 35 | # Please see the file freevo/Docs/CREDITS for a complete list of authors. |
|---|
| 36 | # |
|---|
| 37 | # This program is free software; you can redistribute it and/or modify |
|---|
| 38 | # it under the terms of the GNU General Public License as published by |
|---|
| 39 | # the Free Software Foundation; either version 2 of the License, or |
|---|
| 40 | # (at your option) any later version. |
|---|
| 41 | # |
|---|
| 42 | # This program is distributed in the hope that it will be useful, but |
|---|
| 43 | # WITHOUT ANY WARRANTY; without even the implied warranty of MER- |
|---|
| 44 | # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
|---|
| 45 | # Public License for more details. |
|---|
| 46 | # |
|---|
| 47 | # You should have received a copy of the GNU General Public License along |
|---|
| 48 | # with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 49 | # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 50 | # |
|---|
| 51 | # ----------------------------------------------------------------------- |
|---|
| 52 | |
|---|
| 53 | CONFIG_VERSION = 5.26 |
|---|
| 54 | |
|---|
| 55 | # ====================================================================== |
|---|
| 56 | # General freevo settings: |
|---|
| 57 | # ====================================================================== |
|---|
| 58 | |
|---|
| 59 | # LOCALE='iso-8859-15' |
|---|
| 60 | |
|---|
| 61 | # AUDIO_DEVICE = '/dev/dsp' # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/? |
|---|
| 62 | # AUDIO_INPUT_DEVICE = '/dev/dsp1' # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/? |
|---|
| 63 | # MIXER_MAJOR_CTRL = 'VOL' # Freevo takes control over one audio ctrl |
|---|
| 64 | # 'VOL', 'PCM' 'OGAIN' etc. |
|---|
| 65 | |
|---|
| 66 | # MIXER_MAJOR_MUTE_CTRL = 'PCM' # used in alsamixer.py There are systems where |
|---|
| 67 | # volume and mute use different controls |
|---|
| 68 | |
|---|
| 69 | # MIXER_DEVICE = '/dev/mixer' # mixer device |
|---|
| 70 | # MIXER_CONTROL_ALL = 1 # Should Freevo take complete control of audio |
|---|
| 71 | # MIXER_VOLUME_MAX = 90 # Set what you want maximum volume level to be. |
|---|
| 72 | # MIXER_VOLUME_DEFAULT = 40 # Set default volume level. |
|---|
| 73 | # MIXER_VOLUME_TV_IN = 60 # Set this to your preferred level 0-100. |
|---|
| 74 | # MIXER_VOLUME_VCR_IN = 90 # If you use different input from TV |
|---|
| 75 | # MIXER_VOLUME_RADIO_IN = 80 # Set this to your preferred level 0-100. |
|---|
| 76 | |
|---|
| 77 | # START_FULLSCREEN_X = 0 # Start in fullscreen mode if using x11 or xv. |
|---|
| 78 | |
|---|
| 79 | # SYS_SHUTDOWN_CONFIRM = 1 # ask before shutdown |
|---|
| 80 | |
|---|
| 81 | # |
|---|
| 82 | # Physical ROM drives, multiple ones can be specified |
|---|
| 83 | # by adding comma-seperated and quoted entries. |
|---|
| 84 | # |
|---|
| 85 | # Format [ ('mountdir1', 'devicename1', 'displayed name1'), |
|---|
| 86 | # ('mountdir2', 'devicename2', 'displayed name2'), ...] |
|---|
| 87 | # |
|---|
| 88 | # Set to None to autodetect drives in during startup from /etc/fstab, |
|---|
| 89 | # set to [] to disable rom drive support at all |
|---|
| 90 | # |
|---|
| 91 | # ROM_DRIVES = None |
|---|
| 92 | |
|---|
| 93 | # ROM_DRIVES_AUTOFS = False # Indicates that an automounter daemon is being used. |
|---|
| 94 | # Does not try to mount/umount the media. |
|---|
| 95 | |
|---|
| 96 | # |
|---|
| 97 | # Hide discs from the wrong menu (e.g. VCDs in audio menu) and empty discs. |
|---|
| 98 | # |
|---|
| 99 | # HIDE_UNUSABLE_DISCS = 1 |
|---|
| 100 | |
|---|
| 101 | # |
|---|
| 102 | # Attempt to set the speed of the ROM drive. A good value for keeping the |
|---|
| 103 | # drive silent while playing movies is 8. |
|---|
| 104 | # |
|---|
| 105 | # ROM_SPEED = 0 |
|---|
| 106 | |
|---|
| 107 | # |
|---|
| 108 | # Perform a whole system shutdown at SHUTDOWN! Useful for standalone boxes. |
|---|
| 109 | # |
|---|
| 110 | # SYS_SHUTDOWN_ENABLE = 0 |
|---|
| 111 | # |
|---|
| 112 | # Command to execute to shutdown the system |
|---|
| 113 | # |
|---|
| 114 | # SYS_SHUTDOWN_CMD = "sudo shutdown -h now" |
|---|
| 115 | # SYS_RESTART_CMD = "sudo shutdown -r now" |
|---|
| 116 | |
|---|
| 117 | # ====================================================================== |
|---|
| 118 | # AUTOSHUTDOWN CONFIGURATION |
|---|
| 119 | # ====================================================================== |
|---|
| 120 | |
|---|
| 121 | # replace the default shutdown plugin |
|---|
| 122 | # plugin.remove('shutdown') |
|---|
| 123 | # plugin.activate('autoshutdown', level=90) |
|---|
| 124 | |
|---|
| 125 | # activate the timer |
|---|
| 126 | # plugin.activate('autoshutdown.autoshutdowntimer') |
|---|
| 127 | |
|---|
| 128 | |
|---|
| 129 | # -- autoshutdown menu item configuration -- |
|---|
| 130 | |
|---|
| 131 | # SYS_SHUTDOWN_CONFIRM |
|---|
| 132 | # Set to True to popup dialog boxes for confirmation. |
|---|
| 133 | # this applies to menu items only. |
|---|
| 134 | # AUTOSHUTDOWN_CONFIRM = True |
|---|
| 135 | |
|---|
| 136 | |
|---|
| 137 | # -- autoshutdown timer configuration -- |
|---|
| 138 | |
|---|
| 139 | # TIMER_TIMEOUT |
|---|
| 140 | # Set the timeout in minutes after which the system |
|---|
| 141 | # is shutdown. The allowed idle time and the running |
|---|
| 142 | # processes (see below) are evaluated to determine if |
|---|
| 143 | # a shutdown is allowed. Menu navigation in freevo will |
|---|
| 144 | # reset the timer. |
|---|
| 145 | # AUTOSHUTDOWN_TIMER_TIMEOUT=30 |
|---|
| 146 | |
|---|
| 147 | |
|---|
| 148 | # -- autoshutdown behaviour configuration -- |
|---|
| 149 | |
|---|
| 150 | # PRETEND |
|---|
| 151 | # Set to True to disable the actual shutdown command. |
|---|
| 152 | # AUTOSHUTDOWN_PRETEND = False |
|---|
| 153 | |
|---|
| 154 | # PROCESS_LIST |
|---|
| 155 | # List the processes that will prevent an automatic |
|---|
| 156 | # shutdown. If there are important programs that |
|---|
| 157 | # should not be interrupted, then add them to this |
|---|
| 158 | # list. Set to None if a shutdown is always allowed. |
|---|
| 159 | # AUTOSHUTDOWN_PROCESS_LIST = [ |
|---|
| 160 | # 'emerge', |
|---|
| 161 | # 'tvgids', |
|---|
| 162 | # 'transcode', |
|---|
| 163 | # 'cdrecord', |
|---|
| 164 | # 'mplayer', |
|---|
| 165 | # 'top' |
|---|
| 166 | # ] |
|---|
| 167 | |
|---|
| 168 | # DEFAULT_WAKEUP_TIME |
|---|
| 169 | # Set the default time at which to wakeup if there |
|---|
| 170 | # are no recordings scheduled. The time is specified |
|---|
| 171 | # in localtime 24 hour format. Set to None to disable |
|---|
| 172 | # default wakeup time. |
|---|
| 173 | # AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = "13:00" |
|---|
| 174 | |
|---|
| 175 | # FORCE_DEFAULT_WAKEUP |
|---|
| 176 | # Set to True to always wakeup at the default wakeup |
|---|
| 177 | # time. Set to False to only wakeup at the default |
|---|
| 178 | # wakeup time when no recordings are scheduled. |
|---|
| 179 | # AUTOSHUTDOWN_FORCE_DEFAULT_WAKEUP = True |
|---|
| 180 | |
|---|
| 181 | # ALLOWED_IDLE_TIME |
|---|
| 182 | # The number of minutes that may be spent idle until |
|---|
| 183 | # the next scheduled recording or default wakeup. That |
|---|
| 184 | # is, if the gap between "now" and the next recording |
|---|
| 185 | # or default wakeup is less than the allowed idle time |
|---|
| 186 | # then a shutdown is not performed but the system is |
|---|
| 187 | # left running. If the period from now to the next |
|---|
| 188 | # recording or default wakeup is more than the allowed |
|---|
| 189 | # idle time, then the system is shut down and a wakeup |
|---|
| 190 | # is scheduled. Use this to minimize the number of |
|---|
| 191 | # shutdown/boot sequences when many short programs are |
|---|
| 192 | # recorded in a short period of time. Note that this |
|---|
| 193 | # variable is used by both the timer and the menu. |
|---|
| 194 | # AUTOSHUTDOWN_ALLOWED_IDLE_TIME = 45 |
|---|
| 195 | |
|---|
| 196 | # -- Choice of wakeup method |
|---|
| 197 | # |
|---|
| 198 | # The wakeup can be done via acpi-alarm or nvram-wakeup. |
|---|
| 199 | # AUTOSHUTDOWN_METHOD = 'acpi' |
|---|
| 200 | # AUTOSHUTDOWN_METHOD = 'nvram' |
|---|
| 201 | |
|---|
| 202 | # -- autoshutdown acpi-alarm configuration |
|---|
| 203 | |
|---|
| 204 | # This method uses the wakeup on alarm function that most BIOSs have. |
|---|
| 205 | # The wakeup time is set by a simple |
|---|
| 206 | # |
|---|
| 207 | # "echo 2004-08-02 20:15:00 >/proc/acpi/alarm" |
|---|
| 208 | # |
|---|
| 209 | # On most mainbords you will have to ENABLE "Wake on Timer", "Resume on Alarm", |
|---|
| 210 | # "RTC Alarm Resume" or similar things for the acpi wakeup method to work. |
|---|
| 211 | # If you want to use acpi, you need to create a small script: |
|---|
| 212 | # |
|---|
| 213 | # !/bin/sh |
|---|
| 214 | # echo "$1" >/proc/acpi/alarm |
|---|
| 215 | # |
|---|
| 216 | # You have to be root or use sudo for this to work. |
|---|
| 217 | # AUTOSHUTDOWN_WAKEUP_CMD = sudo /PATH/TO/set_acpi.sh |
|---|
| 218 | |
|---|
| 219 | |
|---|
| 220 | # -- autoshutdown nvram-wakeup configuration -- |
|---|
| 221 | |
|---|
| 222 | # The nvram-wakeup utility is used to write the |
|---|
| 223 | # wakeup alarm to the RTC in bios. Read the |
|---|
| 224 | # nvram-wakeup documentation about this topic, |
|---|
| 225 | # a working nvram-wakeup configuration is needed. |
|---|
| 226 | |
|---|
| 227 | # WAKEUP_CMD / NVRAM_OPT |
|---|
| 228 | # Path to nvram-wakeup and options. Options can |
|---|
| 229 | # be used to specify a config file. |
|---|
| 230 | # AUTOSHUTDOWN_WAKEUP_CMD = "/usr/bin/nvram-wakeup" |
|---|
| 231 | # AUTOSHUTDOWN_NVRAM_OPT = "--syslog" |
|---|
| 232 | |
|---|
| 233 | # WAKEUP_NEEDS_REBOOT |
|---|
| 234 | # Set to True if the bios needs a reboot to catch |
|---|
| 235 | # up with the rtc alarm that nvram-wakeup sets. The |
|---|
| 236 | # boot loader options should be set too. Read the |
|---|
| 237 | # nvram-wakeup documentation about this topic. |
|---|
| 238 | # AUTOSHUTDOWN_BIOS_NEEDS_REBOOT = True |
|---|
| 239 | |
|---|
| 240 | # -- if the bios needs a reboot -- |
|---|
| 241 | |
|---|
| 242 | # BOOT_LOADER |
|---|
| 243 | # Set to "GRUB" or "LILO" Only needed if bios needs |
|---|
| 244 | # a reboot to initialize the RTC wakeup call. |
|---|
| 245 | # AUTOSHUTDOWN_BOOT_LOADER = "GRUB" |
|---|
| 246 | |
|---|
| 247 | # REMOUNT_BOOT_CMD / REMOUNT_BOOT_OPT |
|---|
| 248 | # Grub needs to write to /boot/grub/grub.conf. Set |
|---|
| 249 | # the command and options to remount the /boot |
|---|
| 250 | # partition writeable. Set to None if this is not |
|---|
| 251 | # needed. |
|---|
| 252 | # AUTOSHUTDOWN_REMOUNT_BOOT_CMD = "/bin/mount" |
|---|
| 253 | # AUTOSHUTDOWN_REMOUNT_BOOT_OPT = "/boot -o remount,rw" |
|---|
| 254 | |
|---|
| 255 | # GRUB_CMD / GRUB_OPT |
|---|
| 256 | # Grub-set-default command and options that will |
|---|
| 257 | # reboot and poweroff the system. |
|---|
| 258 | # AUTOSHUTDOWN_GRUB_CMD = "/sbin/grub-set-default 0" |
|---|
| 259 | # AUTOSHUTDOWN_GRUB_OPT = "0" |
|---|
| 260 | |
|---|
| 261 | # LILO_CMD / LILO_OPT |
|---|
| 262 | # Lilo command with options that will reboot and |
|---|
| 263 | # poweroff the system. |
|---|
| 264 | # AUTOSHUTDOWN_LILO_CMD = "/sbin/lilo" |
|---|
| 265 | # AUTOSHUTDOWN_LILO_OPT = "-R PowerOff" |
|---|
| 266 | |
|---|
| 267 | # ====================================================================== |
|---|
| 268 | # Events |
|---|
| 269 | # ====================================================================== |
|---|
| 270 | # |
|---|
| 271 | # You can add more keybindings by adding them to the correct hash. |
|---|
| 272 | # e.g. If you want to send 'contrast -100' to mplayer by pressing the '1' key, |
|---|
| 273 | # just add the following line: |
|---|
| 274 | # |
|---|
| 275 | # EVENTS['video']['1'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast -100') |
|---|
| 276 | # |
|---|
| 277 | # See src/event.py for a list of all possible events. |
|---|
| 278 | |
|---|
| 279 | # |
|---|
| 280 | # Some events to jump to menus |
|---|
| 281 | # |
|---|
| 282 | # EVENTS['menu']['GUIDE'] = Event(MENU_GOTO_TVGUIDE) # Not working |
|---|
| 283 | # EVENTS['menu']['VIDEOS'] = Event(MENU_GOTO_VIDEOS) |
|---|
| 284 | # EVENTS['menu']['MUSIC'] = Event(MENU_GOTO_MUSIC) |
|---|
| 285 | # EVENTS['menu']['PICTURES'] = Event(MENU_GOTO_IMAGES) |
|---|
| 286 | # EVENTS['menu']['GAMES'] = Event(MENU_GOTO_GAMES) |
|---|
| 287 | # EVENTS['menu']['RADIO'] = Event(MENU_GOTO_RADIO) # Not working |
|---|
| 288 | # EVENTS['menu']['POWER'] = Event(MENU_GOTO_SHUTDOWN) |
|---|
| 289 | |
|---|
| 290 | # |
|---|
| 291 | # Use arrow keys for back and select (alternate way of navigating) |
|---|
| 292 | # |
|---|
| 293 | # MENU_ARROW_NAVIGATION = False |
|---|
| 294 | |
|---|
| 295 | # |
|---|
| 296 | # Process keyboard events from SDL. You want this unless you use only lirc |
|---|
| 297 | # or event devices below. |
|---|
| 298 | # |
|---|
| 299 | # SYS_USE_KEYBOARD = True |
|---|
| 300 | |
|---|
| 301 | # |
|---|
| 302 | # Process mouse events from SDL/Pygame. You want this to control Freevo |
|---|
| 303 | # with a mouse |
|---|
| 304 | # |
|---|
| 305 | # SYS_USE_MOUSE = False |
|---|
| 306 | |
|---|
| 307 | # |
|---|
| 308 | # Keymap to map keyboard keys to event strings. You can also add new keys |
|---|
| 309 | # here, e.g. KEYMAP[key.K_x] = 'SUBTITLE'. The K_-names are defined by pygame. |
|---|
| 310 | # |
|---|
| 311 | |
|---|
| 312 | # |
|---|
| 313 | # List of /dev/input/event# devices to monitor. You can specify either the |
|---|
| 314 | # device node (e.g. '/dev/input/event1') or the name of the device (e.g. |
|---|
| 315 | # 'ATI Remote Wonder II'). If you monitor your keyboard both here and with |
|---|
| 316 | # SYS_USE_KEYBOARD, then you will get duplicate events. |
|---|
| 317 | # |
|---|
| 318 | EVENT_DEVS = [] |
|---|
| 319 | |
|---|
| 320 | # Keymap to map input events to event strings. You can change current mappings |
|---|
| 321 | # and add new ones here, e.g. EVENTMAP['KEY_COFFEE'] = 'SUBTITLE'. Key names |
|---|
| 322 | # are defined by the Linux input layer (input.h). An axis is described by a |
|---|
| 323 | # pair, one for positive and one for negative movement, e.g. |
|---|
| 324 | # |
|---|
| 325 | # EVENTMAP['REL_Z'] = ('LEFT', 'RIGHT') |
|---|
| 326 | |
|---|
| 327 | # Use Internet resources to fetch information? |
|---|
| 328 | # For example, Freevo can use CDDB for album information, |
|---|
| 329 | # the IMDB movie database for movie info, and Amazon for cover searches. |
|---|
| 330 | # Set this to 0 if your computer isn't connected to a network. |
|---|
| 331 | # |
|---|
| 332 | # SYS_USE_NETWORK = True |
|---|
| 333 | |
|---|
| 334 | # |
|---|
| 335 | # Directory location to save files when the normal filesystem |
|---|
| 336 | # doesn't allow saving. This directory can save covers and fxd files |
|---|
| 337 | # for read only filesystems like ROM drives. Set this variable to your |
|---|
| 338 | # old MOVIE_DATA_DIR if you have one. It needs to be set to a directory |
|---|
| 339 | # Freevo can write to. |
|---|
| 340 | # |
|---|
| 341 | # OVERLAY_DIR = os.path.join(FREEVO_CACHEDIR, 'vfs') |
|---|
| 342 | |
|---|
| 343 | # |
|---|
| 344 | # Umask setting for all files. |
|---|
| 345 | # 022 means only the user has write access. If you share your Freevo |
|---|
| 346 | # installation with different users, set this to 002 |
|---|
| 347 | # |
|---|
| 348 | # UMASK = 022 |
|---|
| 349 | |
|---|
| 350 | # |
|---|
| 351 | # Suffix for playlist files |
|---|
| 352 | # |
|---|
| 353 | # PLAYLIST_SUFFIX = [ 'm3u' ] |
|---|
| 354 | |
|---|
| 355 | # |
|---|
| 356 | # Use md5 in mmpython to create unique disc ids. Enable this if you have |
|---|
| 357 | # problems with different discs having the same id. |
|---|
| 358 | # |
|---|
| 359 | # MMPYTHON_CREATE_MD5_ID = 0 |
|---|
| 360 | |
|---|
| 361 | # |
|---|
| 362 | # Keep metadata in memory |
|---|
| 363 | # Setting this variable will keep all cache files in memory. Startup will be |
|---|
| 364 | # slower, but for large directories, this will speed up the display. |
|---|
| 365 | # 0 = Only keep current dir in memory. Use this if you have too much data |
|---|
| 366 | # and not enough RAM |
|---|
| 367 | # 1 = Once loaded, keep cachefile for directory in memory |
|---|
| 368 | # 2 = Load all cachefiles on startup |
|---|
| 369 | # |
|---|
| 370 | # WARNING: you should not run 'freevo cache' when freevo is running. |
|---|
| 371 | # |
|---|
| 372 | # MEDIAINFO_USE_MEMORY = 1 |
|---|
| 373 | |
|---|
| 374 | # |
|---|
| 375 | # Cache images. This uses a lot of disc space but it's a huge speed |
|---|
| 376 | # enhancement. The images will be cached in OVERLAY_DIR |
|---|
| 377 | # |
|---|
| 378 | CACHE_IMAGES = 1 |
|---|
| 379 | |
|---|
| 380 | |
|---|
| 381 | # ====================================================================== |
|---|
| 382 | # Plugins: |
|---|
| 383 | # ====================================================================== |
|---|
| 384 | |
|---|
| 385 | # Remove undesired plugins by setting plugin.remove(code). |
|---|
| 386 | # You can also use the name to remove a plugin. But if you do that, |
|---|
| 387 | # all instances of this plugin will be removed. |
|---|
| 388 | # |
|---|
| 389 | # Examples: |
|---|
| 390 | # plugin.remove(plugin_tv) or |
|---|
| 391 | # plugin.remove('tv') will remove the tv module from the main menu |
|---|
| 392 | # plugin.remove(rom_plugins['image']) will remove the rom drives from the |
|---|
| 393 | # image main menu, |
|---|
| 394 | # plugin.remove('rom_drives.rom_items') will remove the rom drives from all |
|---|
| 395 | # menus |
|---|
| 396 | # |
|---|
| 397 | # See freevo_config.py for a list of loaded plugins |
|---|
| 398 | |
|---|
| 399 | # |
|---|
| 400 | # Use ivtv_record instead if you have an ivtv based card (PVR-250/350) |
|---|
| 401 | # and want freevo to do everthing for you. TV_SETTINGS must be set |
|---|
| 402 | # correctly. To use you need to set the following two lines: |
|---|
| 403 | # |
|---|
| 404 | # plugin.remove('tv.generic_record') |
|---|
| 405 | # plugin_record = plugin.activate('tv.ivtv_record') |
|---|
| 406 | |
|---|
| 407 | # |
|---|
| 408 | # Enable this for joystick support: |
|---|
| 409 | # plugin.activate('joy') |
|---|
| 410 | |
|---|
| 411 | |
|---|
| 412 | # ---------------------------------------------------------------------- |
|---|
| 413 | # Headlines |
|---|
| 414 | # |
|---|
| 415 | # You are free to use any rss feeds in the HEADLINES_LOCATIONS below |
|---|
| 416 | # These are just working examples for the Freevo feeds. |
|---|
| 417 | # To turn off Headlines add plugin.remove('headlines') |
|---|
| 418 | # ---------------------------------------------------------------------- |
|---|
| 419 | # plugin.activate('headlines', level=45) |
|---|
| 420 | # HEADLINES_LOCATIONS = [ |
|---|
| 421 | # ('Freevo news releases', 'http://sourceforge.net/export/rss2_projnews.php?group_id=46652'), |
|---|
| 422 | # ('Freevo file releases', 'http://sourceforge.net/export/rss2_projfiles.php?group_id=46652'), |
|---|
| 423 | # ('Freevo summary+stats', 'http://sourceforge.net/export/rss2_projsummary.php?group_id=46652'), |
|---|
| 424 | # ('Freevo donors', 'http://sourceforge.net/export/rss2_projdonors.php?group_id=46652'), |
|---|
| 425 | # ] |
|---|
| 426 | |
|---|
| 427 | # ---------------------------------------------------------------------- |
|---|
| 428 | # Speak using Festival |
|---|
| 429 | # ---------------------------------------------------------------------- |
|---|
| 430 | # Speak plugin to output menu items via festival |
|---|
| 431 | # plugin.activate('speak') |
|---|
| 432 | # SPEAK_WELCOME = '' |
|---|
| 433 | # SPEAK_SHUTDOWN = '' |
|---|
| 434 | |
|---|
| 435 | # ---------------------------------------------------------------------- |
|---|
| 436 | # CD Ripping |
|---|
| 437 | # ---------------------------------------------------------------------- |
|---|
| 438 | # CD_RIP_TMP_DIR = '/tmp/' |
|---|
| 439 | # CD_RIP_TMP_NAME = 'track_%(track)s_being_ripped' |
|---|
| 440 | # CD_RIP_PN_PREF = '%(artist)s/%(album)s/%(track)s - %(song)s' |
|---|
| 441 | # CD_RIP_CDPAR_OPTS = '-s' |
|---|
| 442 | # CD_RIP_LAME_OPTS = '--vbr-new -b 192 -h' |
|---|
| 443 | # CD_RIP_OGG_OPTS = '-m 128' |
|---|
| 444 | # CD_RIP_FLAC_OPTS = '-8' |
|---|
| 445 | # CD_RIP_CASE = None # Can be title, upper, lower |
|---|
| 446 | # CD_RIP_REPLACE_SPACE = None # Can be '_', '-', etc. |
|---|
| 447 | |
|---|
| 448 | # ---------------------------------------------------------------------- |
|---|
| 449 | # CD Burning |
|---|
| 450 | # ---------------------------------------------------------------------- |
|---|
| 451 | # CDBURN_AUDIO_DAO = 1 |
|---|
| 452 | # CDBURN_MKISOFS_PATH = '/usr/bin/mkisofs' |
|---|
| 453 | # CDBURN_CDRECORD_PATH = '/usr/bin/cdrecord' |
|---|
| 454 | # CDBURN_TEMP_DIR='/tmp/' |
|---|
| 455 | # CDBURN_DEV = '/dev/cdrom' |
|---|
| 456 | # CDBURN_SPEED = 32 |
|---|
| 457 | |
|---|
| 458 | # ---------------------------------------------------------------------- |
|---|
| 459 | # Re-encode |
|---|
| 460 | # This plug-in transcodes a video to a different format |
|---|
| 461 | # ---------------------------------------------------------------------- |
|---|
| 462 | # plugin.activate('video.reencode') |
|---|
| 463 | # REENCODE_CONTAINER = 'avi' |
|---|
| 464 | # REENCODE_RESOLUTION = 'Optimal' |
|---|
| 465 | # REENCODE_VIDEOCODEC = 'XviD' |
|---|
| 466 | # REENCODE_VIDEOBITRATE = 1000 |
|---|
| 467 | # REENCODE_AUDIOCODEC = 'MPEG 1 Layer 3 (mp3)' |
|---|
| 468 | # REENCODE_AUDIOBITRATE = 128 |
|---|
| 469 | # REENCODE_NUMPASSES = 1 |
|---|
| 470 | # REENCODE_VIDEOFILTER = None |
|---|
| 471 | |
|---|
| 472 | # ---------------------------------------------------------------------- |
|---|
| 473 | # Freevo Music Player Daemon |
|---|
| 474 | # http://www.musicpd.org/ |
|---|
| 475 | # ---------------------------------------------------------------------- |
|---|
| 476 | # plugin.activate('mpd') |
|---|
| 477 | |
|---|
| 478 | # ---------------------------------------------------------------------- |
|---|
| 479 | # Freevo Bluetooth Phone Settings |
|---|
| 480 | # ---------------------------------------------------------------------- |
|---|
| 481 | # This plugin uses The Python bindings for Bluez bluetooth stack. |
|---|
| 482 | # |
|---|
| 483 | # It can be downloaded from http://org.csail.mit.edu/pybluez/download.html |
|---|
| 484 | # or installed with the package manager of your operating system. |
|---|
| 485 | # |
|---|
| 486 | # To this plugin to work you need the j2me midlet installed in a compatible |
|---|
| 487 | # phone. |
|---|
| 488 | # |
|---|
| 489 | # plugin.activate('freevused') |
|---|
| 490 | |
|---|
| 491 | # if RFCOMM port is already binded wait this seconds to retry binding |
|---|
| 492 | # FVUSED_BIND_TIMEOUT = 30 |
|---|
| 493 | |
|---|
| 494 | # Translation of commands from j2me client to events of Freevo |
|---|
| 495 | # FVUSED_CMDS = { |
|---|
| 496 | # 'PREV': 'UP', # 1st row left |
|---|
| 497 | # 'STRT': 'SELECT', # 1nd row center |
|---|
| 498 | # 'NEXT': 'DOWN', # 1st row right |
|---|
| 499 | # 'RWND': 'LEFT', # 2nd row left |
|---|
| 500 | # 'PAUS': 'PAUSE', # 2nd row center |
|---|
| 501 | # 'FFWD': 'RIGHT', # 2nd row right |
|---|
| 502 | # 'VOL-': 'MIXER_VOLDOWN', # 3rd row left |
|---|
| 503 | # 'STOP': 'EXIT', # 3rd row center |
|---|
| 504 | # 'VOL+': 'MIXER_VOLUP', # 3rd row right |
|---|
| 505 | # 'VOLM': 'MIXER_VOLMUTE', # 4th row left |
|---|
| 506 | # 'SLCT': 'ENTER', # 4th row center |
|---|
| 507 | # 'MAIN': 'MENU' # 4th row right |
|---|
| 508 | # } |
|---|
| 509 | |
|---|
| 510 | # ---------------------------------------------------------------------- |
|---|
| 511 | # Freevo Button Bar Plug-in |
|---|
| 512 | # ---------------------------------------------------------------------- |
|---|
| 513 | # plugin.activate('buttonbar') |
|---|
| 514 | |
|---|
| 515 | # You'll also need to map the 'RED', 'GREEN', 'YELLOW' |
|---|
| 516 | # and 'BLUE' events to keys for example (don't use this |
|---|
| 517 | # it overrides some default keys) |
|---|
| 518 | # KEYMAP[key.K_F5] = 'RED' |
|---|
| 519 | # KEYMAP[key.K_F6] = 'GREEN' #Already mapped to record |
|---|
| 520 | # KEYMAP[key.K_F7] = 'YELLOW' |
|---|
| 521 | # KEYMAP[key.K_F8] = 'BLUE' |
|---|
| 522 | |
|---|
| 523 | # ---------------------------------------------------------------------- |
|---|
| 524 | # Freevo Screensaver Plug-in |
|---|
| 525 | # ---------------------------------------------------------------------- |
|---|
| 526 | # SCREENSAVER_DELAY = 120 # of seconds to wait to start saver. |
|---|
| 527 | # SCREENSAVER_CYCLE_TIME = 60 # of seconds to run a screensaver before starting another saver. |
|---|
| 528 | # plugin.activate('screensaver') |
|---|
| 529 | # plugin.activate('screensaver.balls') # Bouncing balls all over the screen |
|---|
| 530 | # plugin.activate('screensaver.bouncing_freevo') # The freevo logo bouncing around the screen |
|---|
| 531 | |
|---|
| 532 | |
|---|
| 533 | # ====================================================================== |
|---|
| 534 | # Freevo directory settings: |
|---|
| 535 | # ====================================================================== |
|---|
| 536 | |
|---|
| 537 | # You can change all this variables in the folder.fxd on a per folder |
|---|
| 538 | # basis |
|---|
| 539 | # |
|---|
| 540 | # Example: |
|---|
| 541 | # <freevo> |
|---|
| 542 | # <folder title="Title of the directory" img-cover="nice-cover.png"> |
|---|
| 543 | # <setvar name="directory_autoplay_single_item" val="0"/> |
|---|
| 544 | # <info> |
|---|
| 545 | # <content>A small description of the directory</content> |
|---|
| 546 | # </info> |
|---|
| 547 | # </folder> |
|---|
| 548 | # </freevo> |
|---|
| 549 | |
|---|
| 550 | # |
|---|
| 551 | # Should directories sorted by date instead of filename? |
|---|
| 552 | # 0 = No, always sort by filename. |
|---|
| 553 | # 1 = Yes, sort by date |
|---|
| 554 | # 2 = No, don't sory by date for normal directories, |
|---|
| 555 | # but sort by date for TV_RECORD_DIR. |
|---|
| 556 | # |
|---|
| 557 | # DIRECTORY_SORT_BY_DATE = 2 |
|---|
| 558 | |
|---|
| 559 | # |
|---|
| 560 | # Should directory items be sorted in reverse order? |
|---|
| 561 | # |
|---|
| 562 | # DIRECTORY_REVERSE_SORT = 0 |
|---|
| 563 | |
|---|
| 564 | # |
|---|
| 565 | # Should we use "smart" sorting? |
|---|
| 566 | # Smart sorting ignores the word "The" in item names. |
|---|
| 567 | # |
|---|
| 568 | # DIRECTORY_SMART_SORT = 0 |
|---|
| 569 | |
|---|
| 570 | # |
|---|
| 571 | # Should files in directories have smart names? |
|---|
| 572 | # This removes the first part of the names when identical |
|---|
| 573 | # |
|---|
| 574 | # DIRECTORY_SMART_NAMES = 1 |
|---|
| 575 | |
|---|
| 576 | # |
|---|
| 577 | # Should Freevo autoplay an item if only one item is in the directory? |
|---|
| 578 | # |
|---|
| 579 | # DIRECTORY_AUTOPLAY_SINGLE_ITEM = 1 |
|---|
| 580 | |
|---|
| 581 | # |
|---|
| 582 | # Force the skin to use a specific layout number. -1 == no force. The layout |
|---|
| 583 | # toggle with DISPLAY will be disabled |
|---|
| 584 | # |
|---|
| 585 | # DIRECTORY_FORCE_SKIN_LAYOUT = -1 |
|---|
| 586 | |
|---|
| 587 | # |
|---|
| 588 | # Format string for the audio item names. |
|---|
| 589 | # |
|---|
| 590 | # Possible strings: |
|---|
| 591 | # a=artist, n=tracknumber, t=title, y=year, f=filename |
|---|
| 592 | # |
|---|
| 593 | # Example: |
|---|
| 594 | # This will show the title and the track number: |
|---|
| 595 | # DIRECTORY_AUDIO_FORMAT_STRING = '%(n)s - %(t)s' |
|---|
| 596 | # |
|---|
| 597 | # DIRECTORY_AUDIO_FORMAT_STRING = '%(t)s' |
|---|
| 598 | |
|---|
| 599 | # |
|---|
| 600 | # Use media id tags to generate the name of the item. This should be |
|---|
| 601 | # enabled all the time. It should only be disabled for directories with |
|---|
| 602 | # broken tags. |
|---|
| 603 | # |
|---|
| 604 | # DIRECTORY_USE_MEDIAID_TAG_NAMES = 1 |
|---|
| 605 | |
|---|
| 606 | # |
|---|
| 607 | # The following settings determine which features are available for |
|---|
| 608 | # which media types. |
|---|
| 609 | # |
|---|
| 610 | # If you set this variable in a folder.fxd, the value is 1 (enabled) |
|---|
| 611 | # or 0 (disabled). |
|---|
| 612 | # |
|---|
| 613 | # Examples: |
|---|
| 614 | # To enable autoplay for audio and image files: |
|---|
| 615 | # DIRECTORY_AUTOPLAY_ITEMS = [ 'audio', 'image' ] |
|---|
| 616 | # To disable autoplay entirely: |
|---|
| 617 | # DIRECTORY_AUTOPLAY_ITEMS = [] |
|---|
| 618 | |
|---|
| 619 | # Make all items a playlist. So when one is finished, the next one will |
|---|
| 620 | # start. It's also possible to browse through the list with UP and DOWN |
|---|
| 621 | # |
|---|
| 622 | # DIRECTORY_CREATE_PLAYLIST = [ 'audio', 'image' ] |
|---|
| 623 | |
|---|
| 624 | # Add playlist files ('m3u') to the directory |
|---|
| 625 | # |
|---|
| 626 | # DIRECTORY_ADD_PLAYLIST_FILES = [ 'audio', 'image' ] |
|---|
| 627 | |
|---|
| 628 | # Add the item 'Random Playlist' to the directory |
|---|
| 629 | # |
|---|
| 630 | # DIRECTORY_ADD_RANDOM_PLAYLIST = [ 'audio' ] |
|---|
| 631 | |
|---|
| 632 | # Make 'Play' not 'Browse' the default action when only items and not |
|---|
| 633 | # subdirectories are in the directory |
|---|
| 634 | # |
|---|
| 635 | # DIRECTORY_AUTOPLAY_ITEMS = [ ] |
|---|
| 636 | |
|---|
| 637 | |
|---|
| 638 | # ====================================================================== |
|---|
| 639 | # Freevo movie settings: |
|---|
| 640 | # ====================================================================== |
|---|
| 641 | |
|---|
| 642 | # |
|---|
| 643 | # Where the movie files can be found. |
|---|
| 644 | # This is a list of items (e.g. directories, fxd files). The items themselves |
|---|
| 645 | # can also be a list of (title, file) |
|---|
| 646 | # |
|---|
| 647 | # VIDEO_ITEMS = [ |
|---|
| 648 | # ('action movies', '/freevo/movies/action'), |
|---|
| 649 | # ('funny stuff', '/freevo/movies/comedy'), |
|---|
| 650 | # ] |
|---|
| 651 | # |
|---|
| 652 | # Some people access movies on a different machine using an automounter. |
|---|
| 653 | # To avoid timeouts, you can specify the machine name in the directory |
|---|
| 654 | # to check if the machine is alive first |
|---|
| 655 | # Directory myserver:/files/server-stuff will show the item for the |
|---|
| 656 | # directory /files/server-stuff if the computer myserver is alive. |
|---|
| 657 | |
|---|
| 658 | # |
|---|
| 659 | # The list of filename suffixes that are used to match the files that |
|---|
| 660 | # are played wih MPlayer. |
|---|
| 661 | # |
|---|
| 662 | # VIDEO_MPLAYER_SUFFIX = [ |
|---|
| 663 | # 'avi', 'mpg', 'mpeg', 'wmv', 'bin', 'rm', 'divx', 'ogm', 'vob', 'asf', |
|---|
| 664 | # 'm2v', 'm2p', 'mp4', 'viv', 'nuv', 'mov', 'iso', 'nsv', 'mkv', 'ogg', |
|---|
| 665 | # 'ts', 'flv', |
|---|
| 666 | # ] |
|---|
| 667 | |
|---|
| 668 | # |
|---|
| 669 | # The list of filename suffixes that are used to match the files that |
|---|
| 670 | # are played wih Xine. |
|---|
| 671 | # |
|---|
| 672 | # VIDEO_XINE_SUFFIX = [ |
|---|
| 673 | # 'avi', 'mpg', 'mpeg', 'rm', 'divx', 'ogm', 'asf', 'm2v', 'm2p', 'mp4', |
|---|
| 674 | # 'mov', 'cue', 'ts', 'iso', 'vob', |
|---|
| 675 | # ] |
|---|
| 676 | |
|---|
| 677 | # |
|---|
| 678 | # Preferred video player |
|---|
| 679 | # |
|---|
| 680 | # VIDEO_PREFERED_PLAYER = 'mplayer' |
|---|
| 681 | |
|---|
| 682 | # |
|---|
| 683 | # Only scan OVERLAY_DIR and VIDEO_SHOW_DATA_DIR for fxd files containing |
|---|
| 684 | # information about a disc. If you only have the fxd files for discs in |
|---|
| 685 | # one of this directories (and subdirectories), set this to 1, it will |
|---|
| 686 | # speed up startup, 0 may be needed if you have fxd files with disc links |
|---|
| 687 | # in your normal movie tree. |
|---|
| 688 | # |
|---|
| 689 | # VIDEO_ONLY_SCAN_DATADIR = 1 |
|---|
| 690 | |
|---|
| 691 | # |
|---|
| 692 | # try to detect a movie with more than one file and join them as one |
|---|
| 693 | # item |
|---|
| 694 | # |
|---|
| 695 | # VIDEO_AUTOJOIN = 1 |
|---|
| 696 | # |
|---|
| 697 | # join files based on the regular expression |
|---|
| 698 | # seaches for 1, 01, 001, etc before a '.'; possibly too simple |
|---|
| 699 | # |
|---|
| 700 | # VIDEO_AUTOJOIN_REGEX='(0*1)\.' |
|---|
| 701 | |
|---|
| 702 | # |
|---|
| 703 | # try to find out if deinterlacing is needed or not |
|---|
| 704 | # |
|---|
| 705 | # VIDEO_DEINTERLACE = None |
|---|
| 706 | |
|---|
| 707 | # |
|---|
| 708 | # Instruct player to use XVMC for playback |
|---|
| 709 | # |
|---|
| 710 | # VIDEO_USE_XVMC = None |
|---|
| 711 | |
|---|
| 712 | # |
|---|
| 713 | # Pass field dominance parameter to MPlayer |
|---|
| 714 | # |
|---|
| 715 | # VIDEO_FIELD_DOMINANCE = None |
|---|
| 716 | |
|---|
| 717 | # PRE and POST playing commands. Set these to a runnable command if |
|---|
| 718 | # you wish to do something before and after playing a video, like |
|---|
| 719 | # dimming the lights |
|---|
| 720 | # VIDEO_PRE_PLAY = None |
|---|
| 721 | # VIDEO_POST_PLAY = None |
|---|
| 722 | |
|---|
| 723 | |
|---|
| 724 | # ====================================================================== |
|---|
| 725 | # Freevo audio settings: |
|---|
| 726 | # ====================================================================== |
|---|
| 727 | |
|---|
| 728 | # |
|---|
| 729 | # Where the Audio (mp3, ogg) files can be found. |
|---|
| 730 | # This is a list of items (e.g. directories, fxd files). The items themselves |
|---|
| 731 | # can also be a list of (title, file) |
|---|
| 732 | # |
|---|
| 733 | # To add webradio support, add fxd/webradio.fxd to this list |
|---|
| 734 | # |
|---|
| 735 | # AUDIO_ITEMS = [ |
|---|
| 736 | # ('Music Collection', '/freevo/audio/mp3'), |
|---|
| 737 | # 'fxd/webradio.fxd', |
|---|
| 738 | # ] |
|---|
| 739 | |
|---|
| 740 | # |
|---|
| 741 | # The list of filename suffixes that are used to match the files that |
|---|
| 742 | # are played as audio. |
|---|
| 743 | # |
|---|
| 744 | # AUDIO_SUFFIX = [ |
|---|
| 745 | # 'mp3', 'ogg', 'wav', 'm4a', 'wma', 'aac', 'flac', 'mka', 'ac3', |
|---|
| 746 | # ] |
|---|
| 747 | |
|---|
| 748 | # |
|---|
| 749 | # Regular expression used to recognize filenames which are likely to be |
|---|
| 750 | # covers for an album |
|---|
| 751 | # |
|---|
| 752 | # This will match front.jpg and cover-f.jpg, but not back.jpg nor cover-b.jpg: |
|---|
| 753 | # AUDIO_COVER_REGEXP = 'front|-f' |
|---|
| 754 | |
|---|
| 755 | # |
|---|
| 756 | # Format strings used to seach for audio cover images. |
|---|
| 757 | # Fist matching GIF, JPG or PNG image will be used as cover. |
|---|
| 758 | # |
|---|
| 759 | # Examples: |
|---|
| 760 | # AUDIO_COVER_FORMAT_STRINGS = [ 'cover-%(artist)s-%(album)s', 'mycover' ] |
|---|
| 761 | # AUDIO_COVER_FORMAT_STRINGS = [ '%(album)s', '../covers/%(album)s', '../covers/nocover' ] |
|---|
| 762 | # |
|---|
| 763 | |
|---|
| 764 | # |
|---|
| 765 | # Preferred audio player |
|---|
| 766 | # |
|---|
| 767 | # AUDIO_PREFERED_PLAYER = 'mplayer' |
|---|
| 768 | |
|---|
| 769 | # |
|---|
| 770 | # Show video files in the audio menu (for music-videos) |
|---|
| 771 | # |
|---|
| 772 | # AUDIO_SHOW_VIDEOFILES = False |
|---|
| 773 | |
|---|
| 774 | # ====================================================================== |
|---|
| 775 | # Freevo image viewer settings: |
|---|
| 776 | # ====================================================================== |
|---|
| 777 | |
|---|
| 778 | # |
|---|
| 779 | # Where image files can be found. |
|---|
| 780 | # This is a list of items (e.g. directories, fxd files). The items itself |
|---|
| 781 | # can also be a list of (title, file) |
|---|
| 782 | # |
|---|
| 783 | # IMAGE_ITEMS = [ |
|---|
| 784 | # ('My Photos', '/freevo/images'), |
|---|
| 785 | # ] |
|---|
| 786 | |
|---|
| 787 | # |
|---|
| 788 | # The list of filename suffixes that are used to match the files that |
|---|
| 789 | # are used for the image viewer. |
|---|
| 790 | # |
|---|
| 791 | # IMAGE_SUFFIX = [ 'jpg','gif','png','jpeg','bmp','tiff','psd' ] |
|---|
| 792 | |
|---|
| 793 | # |
|---|
| 794 | # The viewer now supports a new type of menu entry, a slideshow file. |
|---|
| 795 | # It also has the slideshow alarm signal handler for automated shows. |
|---|
| 796 | # It uses a new configuration option: |
|---|
| 797 | # |
|---|
| 798 | # IMAGE_SSHOW_SUFFIX = [ 'ssr' ] |
|---|
| 799 | |
|---|
| 800 | # The viewer can exclude certain types of images based on the regular expression list |
|---|
| 801 | # eg IMAGE_EXCLUDE = [('thm','tn_')] |
|---|
| 802 | |
|---|
| 803 | # IMAGE_EXCLUDE = None |
|---|
| 804 | |
|---|
| 805 | # |
|---|
| 806 | # Mode of the blending effect in the image viewer between two images |
|---|
| 807 | # Possible values are: |
|---|
| 808 | # |
|---|
| 809 | # None: no blending |
|---|
| 810 | # -1 random effect |
|---|
| 811 | # 0 alpha blending |
|---|
| 812 | # 1 wipe effect |
|---|
| 813 | |
|---|
| 814 | # IMAGEVIEWER_BLEND_MODE = -1 |
|---|
| 815 | |
|---|
| 816 | # |
|---|
| 817 | # Duration to wait in the slideshow: |
|---|
| 818 | # |
|---|
| 819 | # IMAGEVIEWER_DURATION = 3 |
|---|
| 820 | |
|---|
| 821 | # |
|---|
| 822 | # If set to False, the slideshow must be started |
|---|
| 823 | # manualy with the play button: |
|---|
| 824 | # |
|---|
| 825 | # IMAGEVIEWER_AUTOPLAY = True |
|---|
| 826 | |
|---|
| 827 | # |
|---|
| 828 | # When viewing images on a TV screen where the pixels are not square |
|---|
| 829 | # the images need to be scaled according to the aspect ratio of the TV |
|---|
| 830 | # Use this setting for 16x9 TVs |
|---|
| 831 | # IMAGEVIEWER_ASPECT = (float(1024) / float(720)) |
|---|
| 832 | # Use this setting for 4x3 TVs |
|---|
| 833 | # IMAGEVIEWER_ASPECT = (float(768) / float(720)) |
|---|
| 834 | # Use this setting for Monitors including HDTVs |
|---|
| 835 | # IMAGEVIEWER_ASPECT = 1.0 |
|---|
| 836 | # |
|---|
| 837 | # IMAGEVIEWER_ASPECT = 1.0 |
|---|
| 838 | |
|---|
| 839 | |
|---|
| 840 | |
|---|
| 841 | # ====================================================================== |
|---|
| 842 | # Freevo games settings: |
|---|
| 843 | # ====================================================================== |
|---|
| 844 | |
|---|
| 845 | # |
|---|
| 846 | # MAME is an emulator for old arcade video games. It supports almost |
|---|
| 847 | # 2000 different games! The actual emulator is not included in Freevo, |
|---|
| 848 | # you'll need to download and install it separately. The main MAME |
|---|
| 849 | # website is at http://www.mame.net, but the version that is used here |
|---|
| 850 | # is at http://x.mame.net since the regular MAME is for Windows. |
|---|
| 851 | # |
|---|
| 852 | # SNES stands for Super Nintendo Entertainment System. Freevo relies |
|---|
| 853 | # on other programs that are not included in Freevo to play these games. |
|---|
| 854 | # |
|---|
| 855 | # NEW GAMES SYSTEM : |
|---|
| 856 | # ================= |
|---|
| 857 | # The GAMES_ITEMS structure is now build as follows : |
|---|
| 858 | # <NAME>, <FOLDER>, (<TYPE>, <COMMAND_PATH>, <COMMAND_ARGS>, <IMAGE_PATH>, \ |
|---|
| 859 | # [<FILE_SUFFIX_FOR_GENERIC>]) |
|---|
| 860 | # where : |
|---|
| 861 | # - <TYPE> : Internal game types (MAME or SNES) or |
|---|
| 862 | # generic one (GENERIC) |
|---|
| 863 | # - <COMMAND_PATH> : Emulator command |
|---|
| 864 | # - <COMMAND_ARGS> : Arguments for the emulator |
|---|
| 865 | # - <IMAGE_PATH> : Optionnal path to the picture |
|---|
| 866 | # - <FILE_SUFFIX_FOR_GENERIC> : If the folder use the GENERIC |
|---|
| 867 | # type, then you must specify here |
|---|
| 868 | # the file suffix used by the emulator |
|---|
| 869 | # GAMES_ITEMS = [ |
|---|
| 870 | # ('MAME', '/home/media/games/xmame/roms', |
|---|
| 871 | # ('MAME', '/usr/local/bin/xmame.SDL', '-fullscreen -modenumber 6', |
|---|
| 872 | # '/home/media/games/xmame/shots', None)), |
|---|
| 873 | # ('SUPER NINTENDO', '/home/media/games/snes/roms', |
|---|
| 874 | # ('SNES', '/usr/local/bin/zsnes', '-m -r 3 -k 100 -cs -u', '', None )), |
|---|
| 875 | # ('Visual Boy Advance', '/home/media/games/vba/roms/', |
|---|
| 876 | # ('GENERIC', '/usr/local/vba/VisualBoyAdvance', ' ', '', [ 'gba' ] )), |
|---|
| 877 | # ('MEGADRIVE', '/home/media/games/megadrive/roms', |
|---|
| 878 | # ('GENESIS', '/usr/local/bin/generator-svgalib', '', '', '' )) |
|---|
| 879 | # ] |
|---|
| 880 | # |
|---|
| 881 | # GAMES_ITEMS = None |
|---|
| 882 | |
|---|
| 883 | # |
|---|
| 884 | # These settings are used for the MAME arcade emulator: |
|---|
| 885 | # |
|---|
| 886 | |
|---|
| 887 | # Priority of the game process |
|---|
| 888 | # 0 = Don't change the priority |
|---|
| 889 | # >0 - Lower priority |
|---|
| 890 | # <0 - Higher priority |
|---|
| 891 | # |
|---|
| 892 | # GAMES_NICE = -20 |
|---|
| 893 | |
|---|
| 894 | # |
|---|
| 895 | # MAME cache directory |
|---|
| 896 | # |
|---|
| 897 | # GAMES_MAME_CACHE = '%s/romlist-%s.pickled' % (FREEVO_CACHEDIR, os.getuid()) |
|---|
| 898 | |
|---|
| 899 | # ====================================================================== |
|---|
| 900 | # Freevo SKIN settings: |
|---|
| 901 | # ====================================================================== |
|---|
| 902 | |
|---|
| 903 | # |
|---|
| 904 | # XML file for the skin. If SKIN_XML_FILE is set, this skin will be |
|---|
| 905 | # used, otherwise the skin will rememeber the last choosen skin. |
|---|
| 906 | # |
|---|
| 907 | # SKIN_XML_FILE = 'blurr' |
|---|
| 908 | # |
|---|
| 909 | # |
|---|
| 910 | # Select a way when to switch to text view even if a image menu is there |
|---|
| 911 | # |
|---|
| 912 | # 1 = Force text view when all items have the same image and there are no |
|---|
| 913 | # directories |
|---|
| 914 | # 2 = Ignore the directories, always switch to text view when all images |
|---|
| 915 | # are the same |
|---|
| 916 | # |
|---|
| 917 | # SKIN_FORCE_TEXTVIEW_STYLE = 1 |
|---|
| 918 | |
|---|
| 919 | # |
|---|
| 920 | # Force text view for the media menu |
|---|
| 921 | # (The media menu is the first menu displayed for video, audio, images |
|---|
| 922 | # and games). |
|---|
| 923 | # |
|---|
| 924 | # SKIN_MEDIAMENU_FORCE_TEXTVIEW = 0 |
|---|
| 925 | |
|---|
| 926 | |
|---|
| 927 | # ====================================================================== |
|---|
| 928 | # Freevo OSD settings: |
|---|
| 929 | # ====================================================================== |
|---|
| 930 | |
|---|
| 931 | # |
|---|
| 932 | # System Path to search for fonts not included in the Freevo distribution |
|---|
| 933 | # |
|---|
| 934 | # OSD_EXTRA_FONT_PATH = [ '/usr/share/fonts/truetype' ] |
|---|
| 935 | |
|---|
| 936 | # |
|---|
| 937 | # Font aliases |
|---|
| 938 | # All names must be lowercase! All alternate fonts must be in './share/fonts/' |
|---|
| 939 | # |
|---|
| 940 | # OSD_FONT_ALIASES = { 'arial_bold.ttf' : 'VeraBd.ttf' } |
|---|
| 941 | |
|---|
| 942 | # For non-european character sets the OSD_FORCE_FONTNAME and |
|---|
| 943 | # OSD_FORCE_FONTSIZE can be set. The size is a scaling ratio, ie 1.2. |
|---|
| 944 | # Setting OSD_FORCE_FONTNAME='batang.ttf' and OSD_FORCE_FONTSIZE=1.0 |
|---|
| 945 | # allows Korean characters. |
|---|
| 946 | # OSD_FORCE_FONTNAME = None |
|---|
| 947 | # OSD_FORCE_FONTSIZE = None |
|---|
| 948 | # |
|---|
| 949 | # Number of seconds to wait until the busy icon is shown in the menu. |
|---|
| 950 | # Busy icon can also be shown right away when there is more than a certain |
|---|
| 951 | # number of files in a directory. |
|---|
| 952 | # |
|---|
| 953 | # Set this to None to disable this. |
|---|
| 954 | # (seconds, files) |
|---|
| 955 | # |
|---|
| 956 | # OSD_BUSYICON_TIMER = (0.7, 200) |
|---|
| 957 | |
|---|
| 958 | # |
|---|
| 959 | # Number of pixels to move the display to centre the OSD on the display |
|---|
| 960 | # |
|---|
| 961 | # OSD_OVERSCAN_LEFT = OSD_OVERSCAN_RIGHT = 0 |
|---|
| 962 | # OSD_OVERSCAN_TOP = OSD_OVERSCAN_BOTTOM = 0 |
|---|
| 963 | |
|---|
| 964 | # |
|---|
| 965 | # Setting the cursors when freevo is run in fullscreen mode |
|---|
| 966 | # |
|---|
| 967 | # OSD_X11_CURSORS = '/usr/lib/X11/cursors/black.cursor /usr/lib/X11/cursors/blank.cursor' |
|---|
| 968 | |
|---|
| 969 | # |
|---|
| 970 | # Execute a script on OSD startup. |
|---|
| 971 | # |
|---|
| 972 | # OSD_SDL_EXEC_AFTER_STARTUP = "" |
|---|
| 973 | |
|---|
| 974 | # |
|---|
| 975 | # Execute a script on OSD close. |
|---|
| 976 | # |
|---|
| 977 | # OSD_SDL_EXEC_AFTER_CLOSE = "" |
|---|
| 978 | |
|---|
| 979 | # |
|---|
| 980 | # Stop the osd before playing a movie with xine or mplayer. Some output |
|---|
| 981 | # devices need this. After playback, the osd will be restored |
|---|
| 982 | # |
|---|
| 983 | # OSD_STOP_WHEN_PLAYING = 0 |
|---|
| 984 | |
|---|
| 985 | # |
|---|
| 986 | # Dim text that doesn't fit instead of using ellipses. |
|---|
| 987 | # OSD_DIM_TEXT = 1 |
|---|
| 988 | |
|---|
| 989 | # |
|---|
| 990 | # OSD sound effects |
|---|
| 991 | # |
|---|
| 992 | # OSD_SOUNDS_ENABLED=False |
|---|
| 993 | |
|---|
| 994 | # OSD_SOUNDS= { |
|---|
| 995 | # 'menu.navigate': None, |
|---|
| 996 | # 'menu.back_one': None, |
|---|
| 997 | # 'menu.select' : None |
|---|
| 998 | # } |
|---|
| 999 | |
|---|
| 1000 | # |
|---|
| 1001 | # Padding between icons |
|---|
| 1002 | # |
|---|
| 1003 | # OSD_IDLEBAR_PADDING = 20 |
|---|
| 1004 | # OSD_IDLEBAR_FONT = 'small0' |
|---|
| 1005 | # OSD_IDLEBAR_CLOCK_FONT = 'clock' |
|---|
| 1006 | |
|---|
| 1007 | # ====================================================================== |
|---|
| 1008 | # Freevo remote control settings: |
|---|
| 1009 | # ====================================================================== |
|---|
| 1010 | |
|---|
| 1011 | # |
|---|
| 1012 | # Location of the lircrc file |
|---|
| 1013 | # |
|---|
| 1014 | # For remote control support, Freevo needs a lircrc file, like this: |
|---|
| 1015 | # |
|---|
| 1016 | # begin |
|---|
| 1017 | # prog = freevo |
|---|
| 1018 | # button = select |
|---|
| 1019 | # config = SELECT |
|---|
| 1020 | # end |
|---|
| 1021 | # |
|---|
| 1022 | # Check contrib/lirc for examples and helpers/freevo2lirc.pl for a converter |
|---|
| 1023 | # script. |
|---|
| 1024 | # |
|---|
| 1025 | # LIRCRC = '/etc/freevo/lircrc' |
|---|
| 1026 | |
|---|
| 1027 | # |
|---|
| 1028 | # Joystick support |
|---|
| 1029 | # 0 = Disable joystick support |
|---|
| 1030 | # 1 = Use js0, |
|---|
| 1031 | # 2 = Use js1, |
|---|
| 1032 | # ... etc |
|---|
| 1033 | # |
|---|
| 1034 | # JOY_DEV = 0 |
|---|
| 1035 | # JOY_SENS = 32000 |
|---|
| 1036 | # JOY_LOCKFILE = /path/to/joystick/lockfile |
|---|
| 1037 | |
|---|
| 1038 | # Freevo can support as many buttons as your controller has |
|---|
| 1039 | # as long as there is a corresponding entry in JOY_CMDS. |
|---|
| 1040 | # You will also need to plugin.activate('joy'). |
|---|
| 1041 | # FYI: new kernels use /dev/input/jsX, but joy.py will fall back on /dev/jsX |
|---|
| 1042 | # |
|---|
| 1043 | # JOY_CMDS = { |
|---|
| 1044 | # 'up' : 'UP', |
|---|
| 1045 | # 'down' : 'DOWN', |
|---|
| 1046 | # 'left' : 'LEFT', |
|---|
| 1047 | # 'right' : 'RIGHT', |
|---|
| 1048 | # 'button 1' : 'PLAY', |
|---|
| 1049 | # 'button 2' : 'PAUSE', |
|---|
| 1050 | # 'button 3' : 'STOP', |
|---|
| 1051 | # 'button 4' : 'ENTER', |
|---|
| 1052 | # } |
|---|
| 1053 | |
|---|
| 1054 | # Here are the PS3 joy stick mappings |
|---|
| 1055 | # JOY_CMDS = { |
|---|
| 1056 | # 'button 5' : 'UP', |
|---|
| 1057 | # 'button 7' : 'DOWN', |
|---|
| 1058 | # 'button 8' : 'LEFT', |
|---|
| 1059 | # 'button 6' : 'RIGHT', |
|---|
| 1060 | # 'up' : 'UP', |
|---|
| 1061 | # 'down' : 'DOWN', |
|---|
| 1062 | # 'left' : 'LEFT', |
|---|
| 1063 | # 'right' : 'RIGHT', |
|---|
| 1064 | # 'button 14' : 'SELECT', # <circle> |
|---|
| 1065 | # 'button 16' : 'EXIT', # <square> |
|---|
| 1066 | # 'button 15' : 'STOP', # <x> |
|---|
| 1067 | # 'button 1' : 'ENTER', # <select> |
|---|
| 1068 | # |
|---|
| 1069 | # 'button 11' : 'VOL+', # <L1> |
|---|
| 1070 | # 'button 9' : 'VOL-', # <L2> |
|---|
| 1071 | # 'button 2' : 'MUTE', # <L3> |
|---|
| 1072 | # |
|---|
| 1073 | # 'button 10' : 'MUTE', # <R2> |
|---|
| 1074 | # 'button 4' : 'PLAY', # <start> |
|---|
| 1075 | # 'button 13' : 'PLAY', # <start> |
|---|
| 1076 | # 'button 17' : 'MENU', # <ps> |
|---|
| 1077 | # } |
|---|
| 1078 | |
|---|
| 1079 | |
|---|
| 1080 | # ====================================================================== |
|---|
| 1081 | # TVtime settings: |
|---|
| 1082 | # ====================================================================== |
|---|
| 1083 | |
|---|
| 1084 | # |
|---|
| 1085 | # Location of the TV time program |
|---|
| 1086 | # Default: Use the value in freevo.conf |
|---|
| 1087 | # |
|---|
| 1088 | # TVTIME_CMD = CONF.tvtime |
|---|
| 1089 | |
|---|
| 1090 | |
|---|
| 1091 | # ====================================================================== |
|---|
| 1092 | # MPlayer settings: |
|---|
| 1093 | # ====================================================================== |
|---|
| 1094 | |
|---|
| 1095 | # MPLAYER_AO_DEV = 'oss:/dev/dsp' # e.g.: oss,sdl,alsa, see mplayer docs |
|---|
| 1096 | |
|---|
| 1097 | # MPLAYER_VO_DEV_OPTS = '' # e.g.: ':some_var=vcal' |
|---|
| 1098 | |
|---|
| 1099 | # MPLAYER_AUDIO_CACHE_KB = 256 |
|---|
| 1100 | # MPLAYER_AUDIO_CACHE_MIN_PERCENT = 25 |
|---|
| 1101 | # MPLAYER_AUDIO_NETWORK_OPTS = '-cache %d -cache-min %d' % (MPLAYER_AUDIO_CACHE_KB, MPLAYER_AUDIO_CACHE_MIN_PERCENT) |
|---|
| 1102 | |
|---|
| 1103 | # DVD_LANG_PREF = 'en,se,no' # Order of preferred languages on DVD. |
|---|
| 1104 | # DVD_SUBTITLE_PREF = '' # Order of preferred subtitles on DVD. |
|---|
| 1105 | |
|---|
| 1106 | # Priority of mplayer process. 0 is unchanged, <0 is higher prio, >0 lower prio. |
|---|
| 1107 | # prio <0 has no effect unless run as root. |
|---|
| 1108 | # MPLAYER_NICE = -20 |
|---|
| 1109 | |
|---|
| 1110 | # |
|---|
| 1111 | # Mplayer options to use the software scaler. If your CPU is fast enough, you |
|---|
| 1112 | # might try a software scaler. You can disable it later for some larger files |
|---|
| 1113 | # with the mplayer option '-nosws'. If you have -framedrop or -hardframedrop |
|---|
| 1114 | # as mplayer option, the software scaler will also not be used. |
|---|
| 1115 | # A good value for this variable is: |
|---|
| 1116 | # MPLAYER_SOFTWARE_SCALER = "-subfont-text-scale 5 -fs -sws 2 -vf scale=%s:-3,"\ |
|---|
| 1117 | # "expand=%s:%s " % ( CONF.width, CONF.width, CONF.height ) |
|---|
| 1118 | # older versions of mplayer may need |
|---|
| 1119 | # MPLAYER_SOFTWARE_SCALER = '-xy %s -sws 2 -vop scale:-1:-1:-1:100' % CONF.width |
|---|
| 1120 | # |
|---|
| 1121 | # MPLAYER_SOFTWARE_SCALER = '' |
|---|
| 1122 | |
|---|
| 1123 | # |
|---|
| 1124 | # Mplayer arguments for different media formats. (eg DVDs, CDs, AVI files, etc) |
|---|
| 1125 | # Uses a default value if nothing else matches. |
|---|
| 1126 | # |
|---|
| 1127 | # MPLAYER_ARGS['dvd'] = '-cache 8192' |
|---|
| 1128 | # MPLAYER_ARGS['vcd'] = '-cache 4096' |
|---|
| 1129 | # MPLAYER_ARGS['cd'] = '-cache 1024 -cdda speed=2' |
|---|
| 1130 | # MPLAYER_ARGS['tv'] = '-nocache' |
|---|
| 1131 | # MPLAYER_ARGS['ivtv'] = '-cache 8192' |
|---|
| 1132 | # MPLAYER_ARGS['avi'] = '-cache 5000 -idx' |
|---|
| 1133 | # MPLAYER_ARGS['flv'] = '-nocache -forceidx' |
|---|
| 1134 | # MPLAYER_ARGS['mp4'] = '-nocache -forceidx' |
|---|
| 1135 | # MPLAYER_ARGS['rm'] = '-cache 5000 -forceidx' |
|---|
| 1136 | # MPLAYER_ARGS['rmvb'] = '-cache 5000 -forceidx' |
|---|
| 1137 | # MPLAYER_ARGS['webcam'] = 'tv:// -tv driver=v4l:width=352:height=288:outfmt=yuy2:device=/dev/video2' |
|---|
| 1138 | # MPLAYER_ARGS['default'] = '-cache 5000' |
|---|
| 1139 | |
|---|
| 1140 | # |
|---|
| 1141 | # Number of seconds before seek value times out. This is used when |
|---|
| 1142 | # seeking a specified number of minutes into a movie. If you make |
|---|
| 1143 | # a mistake or change your mind, the seek value will timeout after |
|---|
| 1144 | # this many seconds. |
|---|
| 1145 | # |
|---|
| 1146 | # MPLAYER_SEEK_TIMEOUT = 8 |
|---|
| 1147 | |
|---|
| 1148 | # |
|---|
| 1149 | # Autocrop files when playing. This is useful for files in 4:3 with black |
|---|
| 1150 | # bars on a 16:9 tv |
|---|
| 1151 | # |
|---|
| 1152 | # MPLAYER_AUTOCROP = 0 |
|---|
| 1153 | |
|---|
| 1154 | # |
|---|
| 1155 | # Try to set correct 'delay' and 'mc' values for mplayer based on the delay |
|---|
| 1156 | # from mmpython. |
|---|
| 1157 | # |
|---|
| 1158 | # This should correct av sync problems with mplayer for some files, but |
|---|
| 1159 | # may also break things. (I don't know, that's why it's disabled by default). |
|---|
| 1160 | # WARNING: When seeking, the playback is out of sync for some seconds! |
|---|
| 1161 | # |
|---|
| 1162 | # MPLAYER_SET_AUDIO_DELAY = 0 |
|---|
| 1163 | |
|---|
| 1164 | # |
|---|
| 1165 | # Mplayer video filter for interlaced or progressive videos. If you have |
|---|
| 1166 | # a slow pc, do not use post processing |
|---|
| 1167 | # MPLAYER_VF_INTERLACED = '' |
|---|
| 1168 | # MPLAYER_VF_PROGRESSIVE = 'pp=fd' |
|---|
| 1169 | # For pal and dvb-t recordings, the following looks good |
|---|
| 1170 | # MPLAYER_VF_INTERLACED = 'pp=md/de,phase=U' |
|---|
| 1171 | # |
|---|
| 1172 | # MPLAYER_VF_INTERLACED = 'pp=de/fd' |
|---|
| 1173 | # MPLAYER_VF_PROGRESSIVE = 'pp=de' |
|---|
| 1174 | # |
|---|
| 1175 | # For the autodetect TOP/BOTTOM field first in mplayer |
|---|
| 1176 | # (if this feature present in mplayer) |
|---|
| 1177 | # MPLAYER_HAS_FIELD_DOMINANCE = 1 |
|---|
| 1178 | # |
|---|
| 1179 | # ====================================================================== |
|---|
| 1180 | # Xine settings: |
|---|
| 1181 | # ====================================================================== |
|---|
| 1182 | |
|---|
| 1183 | # You need xine-ui version greater 0.9.21 to use the all the features |
|---|
| 1184 | # of the xine plugin |
|---|
| 1185 | |
|---|
| 1186 | # XINE_VO_DEV = 'xv' |
|---|
| 1187 | # XINE_COMMAND = '%s --auto-play=fq --hide-gui --borderless --geometry %sx%s+0+0 --no-splash' % \ |
|---|
| 1188 | # (CONF.xine, CONF.width, CONF.height) |
|---|
| 1189 | # XINE_ARGS_DEF = "--no-lirc --post='pp:quality=10;expand'" |
|---|
| 1190 | |
|---|
| 1191 | # XINE_AO_DEV = 'oss' # alsa or oss |
|---|
| 1192 | |
|---|
| 1193 | # Set to False if xine doesn't have '--no-lirc' option |
|---|
| 1194 | # XINE_HAS_NO_LIRC = True |
|---|
| 1195 | |
|---|
| 1196 | # Set to True is xine supports get_time this enables the position to be saved |
|---|
| 1197 | # XINE_BOOKMARK = False |
|---|
| 1198 | |
|---|
| 1199 | |
|---|
| 1200 | # ====================================================================== |
|---|
| 1201 | # Freevo TV settings: |
|---|
| 1202 | # ====================================================================== |
|---|
| 1203 | |
|---|
| 1204 | # |
|---|
| 1205 | # This is where recorded video is written. |
|---|
| 1206 | # |
|---|
| 1207 | # XXX the path doesn't work from the www cgi scripts! |
|---|
| 1208 | # TV_RECORD_DIR = None |
|---|
| 1209 | |
|---|
| 1210 | # This will enable duplicate recording detection |
|---|
| 1211 | # TV_RECORD_DUPLICATE_DETECTION = True |
|---|
| 1212 | |
|---|
| 1213 | # This will enable only new episodes to be recorded |
|---|
| 1214 | # TV_RECORD_ONLY_NEW_DETECTION = True |
|---|
| 1215 | |
|---|
| 1216 | # If true, this will automatically re-encode shows after they finish recording |
|---|
| 1217 | # NOTE: You need to set up the REENCODE_* variables as for the reencode.py plugin - |
|---|
| 1218 | # these default values will be used to re-encode the recordings |
|---|
| 1219 | # TV_REENCODE = False |
|---|
| 1220 | |
|---|
| 1221 | # If true, this will remove the original recording after automatic re-encoding is done |
|---|
| 1222 | # TV_REENCODE_REMOVE_SOURCE = False |
|---|
| 1223 | |
|---|
| 1224 | |
|---|
| 1225 | # ================================================================================ |
|---|
| 1226 | # Watching TV |
|---|
| 1227 | # ================================================================================ |
|---|
| 1228 | # |
|---|
| 1229 | # XXX You must change this to fit your local conditions! |
|---|
| 1230 | # |
|---|
| 1231 | # NORM: ntsc, pal, secam |
|---|
| 1232 | # INPUT: television, composite1 |
|---|
| 1233 | # CHANLIST: One of the following: |
|---|
| 1234 | # |
|---|
| 1235 | # us-bcast, us-cable, us-cable-hrc, japan-bcast, japan-cable, europe-west, |
|---|
| 1236 | # europe-east, italy, newzealand, australia, ireland, france, china-bcast, |
|---|
| 1237 | # southafrica, argentina, canada-cable, russia |
|---|
| 1238 | # |
|---|
| 1239 | # TV_SETTINGS = 'NORM INPUT CHANLIST DEVICE' |
|---|
| 1240 | |
|---|
| 1241 | # |
|---|
| 1242 | # Video input device |
|---|
| 1243 | # |
|---|
| 1244 | # Usually /dev/video0, but might be /dev/video1 instead for multiple boards. |
|---|
| 1245 | # |
|---|
| 1246 | # FreeBSD uses the Brooktree TV-card driver, not V4L. |
|---|
| 1247 | # |
|---|
| 1248 | # TV_DRIVER = 'v4l' |
|---|
| 1249 | # TV_DEVICE = '/dev/video0' |
|---|
| 1250 | # TV_INPUT = 0 |
|---|
| 1251 | # |
|---|
| 1252 | # ================================================================================ |
|---|
| 1253 | # Listening to radio |
|---|
| 1254 | # ================================================================================ |
|---|
| 1255 | # |
|---|
| 1256 | # Radio device default is None, /dev/video24 for ivtv |
|---|
| 1257 | # RADIO_DEVICE = '/dev/radio' |
|---|
| 1258 | |
|---|
| 1259 | # Radio commands: |
|---|
| 1260 | # plugin.activate('audio.radioplayer') |
|---|
| 1261 | # plugin.activate('audio.radio') |
|---|
| 1262 | # |
|---|
| 1263 | # for fmtools |
|---|
| 1264 | # RADIO_CMD = 'fm' |
|---|
| 1265 | # RADIO_CMD_START = (RADIO_CMD + ' -d %s ' % RADIO_DEVICE + ' -q %s 65535') |
|---|
| 1266 | # RADIO_CMD_STOP = (RADIO_CMD + ' -d %s ' % RADIO_DEVICE + ' -q off') |
|---|
| 1267 | # |
|---|
| 1268 | # for ivtv-radio |
|---|
| 1269 | # RADIO_CMD = '/usr/bin/ivtv-radio -d /dev/radio0 -i /dev/video24' |
|---|
| 1270 | # RADIO_STATIONS = [ |
|---|
| 1271 | # ('DRS 1', '94.80'), |
|---|
| 1272 | # ('VIRUS', '104.30'), |
|---|
| 1273 | # (u'Radio ZÃŒrisee', '90.20'), |
|---|
| 1274 | # ] |
|---|
| 1275 | |
|---|
| 1276 | # |
|---|
| 1277 | # Additional options to pass to mplayer in TV mode. |
|---|
| 1278 | # |
|---|
| 1279 | # eg. To turn off deinterlacing: |
|---|
| 1280 | # TV_OPTS = '-vop pp=ci' |
|---|
| 1281 | # |
|---|
| 1282 | # TV_OPTS = '' |
|---|
| 1283 | |
|---|
| 1284 | # TV_SETTINGS = '%s television %s %s' % (CONF.tv, CONF.chanlist, TV_DEVICE) |
|---|
| 1285 | |
|---|
| 1286 | # |
|---|
| 1287 | # Size (in MB) of the timeshift buffer. (ie: how long you can pause tv for.) |
|---|
| 1288 | # This is set to a low default because the default buffer location is |
|---|
| 1289 | # under FREEVO_CACHEDIR and we don't want to blow /var or /tmp. |
|---|
| 1290 | # TIMESHIFT_BUFFER_SIZE = 128 |
|---|
| 1291 | |
|---|
| 1292 | # TIMESHIFT_ENCODE_CMD = 'mp1e -m3 -c%s -p%s -r14,100' % \ |
|---|
| 1293 | # (TV_SETTINGS.split()[3], AUDIO_INPUT_DEVICE) |
|---|
| 1294 | |
|---|
| 1295 | # TIMESHIFT_BUFFER = '%s/timeshift.mpeg' % FREEVO_CACHEDIR |
|---|
| 1296 | |
|---|
| 1297 | # TV_DATE_FORMAT = '%e-%b' # Day-Month: 11-Jun |
|---|
| 1298 | # TV_TIME_FORMAT = '%H:%M' # Hour-Minute 14:05 |
|---|
| 1299 | # TV_DATETIME_FORMAT = '%A %b %d %I:%M %p' # Thursday September 24 8:54 am |
|---|
| 1300 | |
|---|
| 1301 | # This is the filename format for files recorded using Freevo. |
|---|
| 1302 | # You can use any of the strftime variables in it, provided you |
|---|
| 1303 | # put two '%%' at the beginning. |
|---|
| 1304 | # |
|---|
| 1305 | # Some examples: |
|---|
| 1306 | # %%A - Full weekday name. |
|---|
| 1307 | # %%H - Hour (24-hour clock) as a decimal number [00,23]. |
|---|
| 1308 | # %%M - Minute as a decimal number [00,59]. |
|---|
| 1309 | # %%m - Month as a decimal number [01,12]. |
|---|
| 1310 | # %%d - Day of the month as a decimal number [01,31]. |
|---|
| 1311 | # %%p - Locale's equivalent of either AM or PM. |
|---|
| 1312 | # |
|---|
| 1313 | # More can be found at: http://www.python.org/doc/current/lib/module-time.html |
|---|
| 1314 | |
|---|
| 1315 | # TV_RECORD_FILE_MASK = '%%m-%%d %%H:%%M %(progname)s - %(title)s' |
|---|
| 1316 | |
|---|
| 1317 | # If using the persistent recordserver |
|---|
| 1318 | # TV_RECORD_SCHEDULE = FREEVO_STATICDIR + '/schedule.pickle' |
|---|
| 1319 | # TV_RECORD_FAVORITES = FREEVO_STATICDIR + '/favorites.pickle' |
|---|
| 1320 | # TV_RECORD_FAVORITES_LIST = FREEVO_STATICDIR + '/favorites.txt' |
|---|
| 1321 | |
|---|
| 1322 | |
|---|
| 1323 | # RECORDSERVER_IP = 'localhost' |
|---|
| 1324 | # RECORDSERVER_PORT = 18001 |
|---|
| 1325 | # RECORDSERVER_SECRET = 'secret1' |
|---|
| 1326 | |
|---|
| 1327 | # If the recordserver runs as root, set the uid to the given one |
|---|
| 1328 | # after startup. The gui must also match one of the users group ids |
|---|
| 1329 | # RECORDSERVER_UID = 0 |
|---|
| 1330 | # RECORDSERVER_UID = 0 |
|---|
| 1331 | |
|---|
| 1332 | # Remove old recordings if GB free is less than specified value |
|---|
| 1333 | # RECORDSERVER_CLEANUP_THRESHOLD = 0 |
|---|
| 1334 | |
|---|
| 1335 | # start every recording X minutes before scheduled, |
|---|
| 1336 | # and stop X minutes after scheduled - default to zero minutes. |
|---|
| 1337 | # This must be a value in seconds although at the moment only has |
|---|
| 1338 | # the percision of one minute. |
|---|
|
|---|