SHARE
TWEET

VideoCache.conf

a guest Jun 30th, 2010 245 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [main]
  2. # file : /etc/videocache.conf
  3.  
  4. # This option controls the global behavior of videocache plugin.
  5. # If it is 0, videocache will stop caching or serving anything.
  6. # This option's value can be either 0 or 1.
  7. enable_video_cache = 1
  8.  
  9. # The hostname or IP address of the system on which caching is being done. This is
  10. # used for serving the videos from the cache. Please don't use http:// or slashes (/).
  11. # Just specify the domain name or IP address.
  12. # Example : localhost.localdomain
  13. # or proxy.example.com
  14. # or 192.168.36.204
  15. # or <Proxy_Server_IP_OR_Domain>
  16. cache_host = 192.168.1.204
  17.  
  18. # Proxy for http content.
  19. # Warning : _USE_THIS_ONLY_IF_ Videocache Server should go via anohter proxy.
  20. # Example : http_proxy = http://<Proxy_Server_IP_OR_Domain>:<Proxy_port>/
  21. # or http://proxy.example.com:3128/
  22. proxy = http://192.168.1.204:3128
  23.  
  24. # If the above proxy requires authentication, please specify the username.
  25. proxy_username =
  26.  
  27. # If the above proxy requires authentication, please specify the password.
  28. proxy_password =
  29.  
  30. # No of times a video should be requested before we start caching it.
  31. hit_threshold = 1
  32.  
  33. # Base directories for caching the videos.
  34. # You can specify multiple caching directories here separated by '|' .
  35. #
  36. # EXAMPLE: To keep /videocache1 and /videocache2 as your cache directories,
  37. # set base_dir to base_dir = /videocache/ | /videocache2
  38. #
  39. # Please try to avoid special characters in directory names like spaces, $ etc.
  40. base_dir = /var/spool/videocache/
  41.  
  42. # This option sets the minimum available free space in Mega Bytes that is left in a
  43. # partition containing a cache directory before videocache treats that partition as FULL.
  44. #
  45. # EXAMPLE: If disk_avail_threshold = 200, videocache will stop caching videos in a cache
  46. # directory if the free space available in a partition containing that cache directory is
  47. # less than 200 Mega Bytes.
  48. disk_avail_threshold = 1000
  49.  
  50. # Directory to store partially downloaded videos. Directory name is relative to base_dir.
  51. temp_dir = tmp
  52.  
  53. # The maximum number of parallel downloads allowed. If all connections are consumed,
  54. # videos will be queued for download.
  55. max_parallel_downloads = 3
  56.  
  57. # Enables the videocache cleaner script which will remove videos
  58. # from cache which have not been used since long.
  59. # The value of this option can be 0 or 1.
  60. enable_videocache_cleaner = 1
  61.  
  62. # The maximum life of a video in cache without being used. If the video was not accessed
  63. # for more than 'video_lifetime' days, it'll be removed from the cache. The unit of
  64. # video_lifetime is days.
  65. # For Example : video_lifetime = 3 will remove videos which were not used since last 3 or more days.
  66. video_lifetime = 60
  67.  
  68. # Directory where videocache logs will be stored.
  69. logdir = /var/log/videocache/
  70.  
  71. # Maximum size of logfile specified above. The size is in mega bytes.
  72. # Note : Please don't use max_logfile_size = 10MB. Don't append MB.
  73. max_logfile_size = 10
  74.  
  75. # The logfiles are automatically rotated once they have exceeded the max_logfile_size.
  76. # max_logfile_backups is the number of backup files you want to keep.
  77. # e.g. max_logfile_backups = 2 will keep videocache.log and videocache.log.1 and
  78. # videocache.log.2 as logfiles.
  79. max_logfile_backups = 10
  80.  
  81. # XMLRPCServer is used for memory sharing across different instances of
  82. # videocache. Leave these settings as it is if you don't have a fair
  83. # idea of XMLRPCServer. This will be same as cache_host in almost all the cases.
  84. rpc_host = 192.168.1.204
  85.  
  86. # Please make sure this port is not currently in use. If it is in use by some
  87. # other program, change this to some port above 1024 which is not in use by
  88. # any other program.
  89. rpc_port = 9100
  90.  
  91. # This option enables the caching of youtube videos.
  92. # This option's value can be either 0 or 1.
  93. enable_youtube_cache = 1
  94.  
  95. # Directory to cache youtube videos. Directory name is relative to base_dir.
  96. # e.g. if you specify youtube_cache_dir = youtube, actual path for caching
  97. # youtube videos would be /var/spool/videocache/youtube/ .
  98. youtube_cache_dir = youtube
  99.  
  100. # Metacafe.com Options
  101. enable_metacafe_cache = 1
  102. metacafe_cache_dir = metacafe
  103.  
  104. # Dailymotion.com Options
  105. enable_dailymotion_cache = 1
  106. dailymotion_cache_dir = dailymotion
  107.  
  108. # Google.com Options
  109. enable_google_cache = 1
  110. google_cache_dir = google
  111.  
  112. # Redute.com Options
  113. enable_redtube_cache = 1
  114. redtube_cache_dir = redtube
  115.  
  116. # Xtube.com Options
  117. enable_xtube_cache = 1
  118. xtube_cache_dir = xtube
  119.  
  120. # Vimeo.com Options
  121. enable_vimeo_cache = 1
  122. vimeo_cache_dir = vimeo
  123.  
  124. # Wrzuta.pl Options
  125. enable_wrzuta_cache = 1
  126. wrzuta_cache_dir = wrzuta
  127.  
  128. # Youporn.com Options
  129. enable_youporn_cache = 1
  130. youporn_cache_dir = youporn
  131.  
  132. # Soapbox.msn.com Options
  133. enable_soapbox_cache = 1
  134. soapbox_cache_dir = soapbox
  135.  
  136. # Tube8.com Options
  137. enable_tube8_cache = 1
  138. tube8_cache_dir = tube8
  139.  
  140. # Tvuol.uol.com.br Options
  141. enable_tvuol_cache = 1
  142. tvuol_cache_dir = tvuol
  143.  
  144. # Blip.tv Options
  145. enable_bliptv_cache = 1
  146. bliptv_cache_dir = bliptv
  147.  
  148. # Break.com Options
  149. enable_break_cache = 1
  150. break_cache_dir = break
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top