Advertisement
Guest User

config.xml

a guest
May 15th, 2012
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.20 KB | None | 0 0
  1. </XBMCDatabase>
  2.    
  3.     <!--IPChange
  4.         For example, if you are browsing UPNP sources on the same box they are hosted on, the address
  5.         may resolve as "127.0.0.1" instead of the LAN IP. If you attempt to the play file on any
  6.         other computer, it will not work. We can fix this by replacing it with the correct IP.
  7.     -->
  8.     <IPChange enabled="true">
  9.         <change from="127.0.0.1" to="192.168.1.133" />
  10.         <change from="localhost" to="192.168.1.133" />
  11.     </IPChange>
  12.  
  13.     <!--Library scan wait minutes
  14.         Once this program is done finding videos, it triggers a video library update in XBMC.
  15.         It will then wait this many minutes for new videos to be added to the library. If new videos are found,
  16.         it waits this many minutes again until no new videos are found.  
  17.         If you have a very large library, this may need to be increased. -->
  18.         <LibraryScanWaitMinutes>2.0</LibraryScanWaitMinutes>
  19.        
  20.     <!--ManualArchiving
  21.         If enabled, videos that are not successfully added to XBMC's library (after the configured amount of hours, will me manually archived using .nfo files)
  22.         See here for details on manual archiving in XBMC: http://wiki.xbmc.org/index.php?title=Import_-_Export_Library#Video_nfo_Files -->
  23.     <ManualArchiving enabled="false">
  24.         <HoursThreshold>24.0</HoursThreshold><!--The video must have been archived at least this many hours ago before it will be manually archived -->    
  25.     </ManualArchiving>
  26.    
  27.     <!--When videos that were previously found are no longer found, they will be deleted from the dropbox as configured by these parameters -->
  28.     <VideoCleanUp>
  29.         <HoursThreshold>8.0</HoursThreshold><!--The video must be missing for at least this many hours before it's deleted. -->
  30.         <ConsecutiveThreshold>5</ConsecutiveThreshold><!--The video must be missing for this many consecutive times before it's deleted (each time this program runs is consider 1 time). -->
  31.     </VideoCleanUp>
  32.    
  33.     <!-- Pre-Scrape Music Videos
  34.         If enabled, music vidoes will be scraped using the Yahoo Music API and a .nfo will be created for the video. Thumbs will also be scraped.
  35.         If pre-scrape is enabled, it is recommened to use the MTV Music Video scraper in XBMC,
  36.         this allows for fall-back to that scraper if the Yahoo scraped can't find the music video. --> 
  37.     <PreScrapeMusicVids enabled="false" />
  38.    
  39.     <!-- XBMC Restart before scan.
  40.     If enabled is true, XBMC will be restarted before this program scans for content. This fixes caching issues XBMC can have, expecially with UPNP sources like PlayOn.
  41.         If you set this to true, you should modify the res/XBMCRestart.cmd file in this program's directory to fit your needs. -->
  42.     <XBMCRestart enabled="false" />
  43.    
  44.     <!--
  45.     <SearchFilters>            
  46.         This is where you define what sources in XBMC should be added to the library.
  47.         <source> - The source to search. The element name can be whatever you want. If the name matches a source in XBMC, you do no need to specify the path attribute.
  48.             path - This is the actual path that XBMC uses for this source. If you are unsure what the path is, check your sources.xml is your userdata folder. Not needed if source name matches the XBMC source name.         
  49.             <subfolder> - Each source can have multiple subfolder elements. These are directories that should be scanned and added to the library.
  50.                 *Note: all of the attributes below can be used at the subfolder level or the source level. If specified at both levels, the subfolder takes precedence.
  51.                         If specified at the source level, the attribute will be inherited by all subfolders.
  52.                         Also, subfolders can be nested inside of other subfolders, and all attributes will be inherited. The name attribute will be appended as you would expect.
  53.                 name - required attribute; The name of the subfolder. (do not include the source name, just the subfolder). Use '/' to seperate folders in the name.
  54.                 type - optional attribute; default=auto determine; This is the type of content in the directory. Only set this if all content in the directory is the same type.
  55.                         If the content type is all known to be TV Shows, use 'episodes';
  56.                         If the content type is all known to be movies Movies/Films, use 'movies'
  57.                         If the content type is all known to be movies Music Videos, use 'music_videos'
  58.                         NOTE: this does not filter the content in the directory; it tells this program what kind of content to expect!
  59.                 recursive - optional attribute; default=false; If true, the directory and all subfolders will be scanned for content. Otherwise only the top directory will be scanned.
  60.                 regex_name - optional, If true, the name attribute wil be evaluated as a regular expression. The regex must match the full actual name of the subfolder. Partial regex matches will be discarded!                              
  61.                 force_tvdb - optional, default=false; For episodes only. If true, the season/episode numbers retrieved from the source will be ignored and the show will be looked up on TheTVDB.com. (useful if the source incorrectly/absolutely numbers episodes for some series)
  62.                 max_series - optional attribute; default=unlimited; If TV Shows are in this subfolder, this is the maxinum number of TV series to archive. Useful for Hulu/Popular Shows filtering the top X series you want in your library.
  63.                 max_videos - optional attribute; default=unlimited; This is the maxinum number of episodes/movies/music videos to retrieve from the subfolder.
  64.                 movie_set - optional attribute; default=none; Specifies the name of the movie set to add the movie to; (Ignored for TV Episodes/Music Videos). More info: http://wiki.xbmc.org/index.php?title=Movie_Sets
  65.                 prefix - optional attribute; default=none; This will be prepended to the title of TV Episodes/Music Vidoes (Ignored for movies) in the directory. Can be useful if you want to identify which episodes are from which source.
  66.                 suffix - optional attribute; default=none; This will be appended  to the title of TV Episodes/Music Vidoes (Ignored for movies) in the directory. Can be useful if you want to identify which episodes are from which source.
  67.                 multi_part - optional arrtibute; default=false; Set this to true if the subfolder might contain any multi-part vidoes              
  68.                 <exclude> - optional; If a video's path matches ANY of these, it will be skipped.
  69.                 <filter>  - optional; Only videos that match ALL filters will be included (unless it matched an exclude)
  70.                     <contains> - Matches if the video path contains this literal text (case-insensitive)
  71.                     <regexp> - Matches if any part of the video path matches this Regular Expression (case-insensitive) - see here for info on regex: http://java.sun.com/developer/technicalArticles/releases/1.4regex/
  72.                
  73.             Note: The exclude/filters filter on the video path. A typical video path looks something like "Hulu/Popular/Popular Episodes/s01e01 - MyTVShow - Pilot"
  74.             Note: Be careful what you recursively search for. For example, a recursive search of PlayOn's Netflix/Browse Genres returns about 75,000 videos!
  75.             Note: The '/' character is used exclusively to seperate folders. It cannot otherwise be used in the name attribute (there is currently no way to escape it)        
  76.            
  77.     -->
  78.  
  79.     <SearchFilters>
  80.         <!--
  81.         See here for sample search filter configurations: https://docs.google.com/document/d/1CDbdU1GOJlIblwGH8vaJT5c_99lK5H-gRMe3CFpZpUs/edit?hl=en#bookmark=id.g4i0iqa50b0b
  82.         -->
  83.        
  84.         <!--Add your own search filters here!!! -->
  85.        
  86.         <!--For this to work, you must have a source named "Neflix" added to XBMC, which maps to Playon's Netflix subdirectory -->
  87.         <Netflix prefix="[Netflix] " custom_parser="PlayOn"  recursive="true">
  88.    
  89.         <!-- Get all TV and Movies from your instant queue. Movies will be put in a movie set.
  90.         TV Episodes will have a prefix added to their title -->
  91.         <subfolder name="Instant Queue/Queue Top 50" movie_set=" Netflix Instant Queue" />
  92.    
  93.        
  94.     </Netflix>
  95.  
  96.     </SearchFilters>
  97.    
  98.     <!--
  99.     These will be used to exclude content from all subfolders.
  100.     <regexp> - a regular expression to match
  101.     <contains> - a literal string to match on
  102.         both are case-insensitive
  103.     -->
  104.     <GlobalExcludes>
  105.         <contains>/No videos available</contains>
  106.         <regexp>/clip[s]?(/|$)</regexp><!--Prevent TV clip(s) from being archived (only want full episodes)-->     
  107.        
  108.         <!--shows that i dont want in my library-->                    
  109.         <contains>Dragon Ball Z</contains>
  110.        
  111.     </GlobalExcludes>
  112.    
  113. </root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement