- [main]
- # file : /etc/videocache.conf
- # This option controls the global behavior of videocache plugin.
- # If it is 0, videocache will stop caching or serving anything.
- # This option's value can be either 0 or 1.
- enable_video_cache = 1
- # The hostname or IP address of the system on which caching is being done. This is
- # used for serving the videos from the cache. Please don't use http:// or slashes (/).
- # Just specify the domain name or IP address.
- # Example : localhost.localdomain
- # or proxy.example.com
- # or 192.168.36.204
- # or <Proxy_Server_IP_OR_Domain>
- cache_host = 192.168.1.204
- # Proxy for http content.
- # Warning : _USE_THIS_ONLY_IF_ Videocache Server should go via anohter proxy.
- # Example : http_proxy = http://<Proxy_Server_IP_OR_Domain>:<Proxy_port>/
- # or http://proxy.example.com:3128/
- proxy = http://192.168.1.204:3128
- # If the above proxy requires authentication, please specify the username.
- proxy_username =
- # If the above proxy requires authentication, please specify the password.
- proxy_password =
- # No of times a video should be requested before we start caching it.
- hit_threshold = 1
- # Base directories for caching the videos.
- # You can specify multiple caching directories here separated by '|' .
- #
- # EXAMPLE: To keep /videocache1 and /videocache2 as your cache directories,
- # set base_dir to base_dir = /videocache/ | /videocache2
- #
- # Please try to avoid special characters in directory names like spaces, $ etc.
- base_dir = /var/spool/videocache/
- # This option sets the minimum available free space in Mega Bytes that is left in a
- # partition containing a cache directory before videocache treats that partition as FULL.
- #
- # EXAMPLE: If disk_avail_threshold = 200, videocache will stop caching videos in a cache
- # directory if the free space available in a partition containing that cache directory is
- # less than 200 Mega Bytes.
- disk_avail_threshold = 1000
- # Directory to store partially downloaded videos. Directory name is relative to base_dir.
- temp_dir = tmp
- # The maximum number of parallel downloads allowed. If all connections are consumed,
- # videos will be queued for download.
- max_parallel_downloads = 3
- # Enables the videocache cleaner script which will remove videos
- # from cache which have not been used since long.
- # The value of this option can be 0 or 1.
- enable_videocache_cleaner = 1
- # The maximum life of a video in cache without being used. If the video was not accessed
- # for more than 'video_lifetime' days, it'll be removed from the cache. The unit of
- # video_lifetime is days.
- # For Example : video_lifetime = 3 will remove videos which were not used since last 3 or more days.
- video_lifetime = 60
- # Directory where videocache logs will be stored.
- logdir = /var/log/videocache/
- # Maximum size of logfile specified above. The size is in mega bytes.
- # Note : Please don't use max_logfile_size = 10MB. Don't append MB.
- max_logfile_size = 10
- # The logfiles are automatically rotated once they have exceeded the max_logfile_size.
- # max_logfile_backups is the number of backup files you want to keep.
- # e.g. max_logfile_backups = 2 will keep videocache.log and videocache.log.1 and
- # videocache.log.2 as logfiles.
- max_logfile_backups = 10
- # XMLRPCServer is used for memory sharing across different instances of
- # videocache. Leave these settings as it is if you don't have a fair
- # idea of XMLRPCServer. This will be same as cache_host in almost all the cases.
- rpc_host = 192.168.1.204
- # Please make sure this port is not currently in use. If it is in use by some
- # other program, change this to some port above 1024 which is not in use by
- # any other program.
- rpc_port = 9100
- # This option enables the caching of youtube videos.
- # This option's value can be either 0 or 1.
- enable_youtube_cache = 1
- # Directory to cache youtube videos. Directory name is relative to base_dir.
- # e.g. if you specify youtube_cache_dir = youtube, actual path for caching
- # youtube videos would be /var/spool/videocache/youtube/ .
- youtube_cache_dir = youtube
- # Metacafe.com Options
- enable_metacafe_cache = 1
- metacafe_cache_dir = metacafe
- # Dailymotion.com Options
- enable_dailymotion_cache = 1
- dailymotion_cache_dir = dailymotion
- # Google.com Options
- enable_google_cache = 1
- google_cache_dir = google
- # Redute.com Options
- enable_redtube_cache = 1
- redtube_cache_dir = redtube
- # Xtube.com Options
- enable_xtube_cache = 1
- xtube_cache_dir = xtube
- # Vimeo.com Options
- enable_vimeo_cache = 1
- vimeo_cache_dir = vimeo
- # Wrzuta.pl Options
- enable_wrzuta_cache = 1
- wrzuta_cache_dir = wrzuta
- # Youporn.com Options
- enable_youporn_cache = 1
- youporn_cache_dir = youporn
- # Soapbox.msn.com Options
- enable_soapbox_cache = 1
- soapbox_cache_dir = soapbox
- # Tube8.com Options
- enable_tube8_cache = 1
- tube8_cache_dir = tube8
- # Tvuol.uol.com.br Options
- enable_tvuol_cache = 1
- tvuol_cache_dir = tvuol
- # Blip.tv Options
- enable_bliptv_cache = 1
- bliptv_cache_dir = bliptv
- # Break.com Options
- enable_break_cache = 1
- break_cache_dir = break
