Advertisement
Guest User

kokwei's Config.xml

a guest
Aug 4th, 2014
836
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.59 KB | None | 0 0
  1. <!--
  2. XBMC.MyLibrary
  3. Author: BradVido88, angrycamel 
  4.     THIS IS BETA SOFTWARE - IF YOU HAVE PROBLEMS, PLEASE POST TO THE SUPPORT THREAD WIHT A LINK TO YOUR LOG
  5.         Support thread is located here: http://forum.xbmc.org/showthread.php?t=98210
  6.  
  7. -->
  8.  
  9. <root>     
  10.    
  11.     <!--
  12.     JSONRPC - JSON-RPC API connectivity is required for this program to work.
  13.         XBMCWebServer - The URL of XBMC. You can include the username, password and port in the url if needed.
  14.                         The XBMC Webserver must be enabled in XBMC settings.
  15.                        
  16.         AnnouncementPort - The TCP port that XBMC uses for JSON-RPC announcements. Default is 9090.
  17.                     IMPORTANT:  This requires going to System, Services, Remote Control and
  18.                                 checking "Allow Programs on this/others systems to control XBMC"                           
  19.     -->
  20.     <JSONRPC>
  21.         <XBMCWebServer>http://xbmc:xbmc@localhost</XBMCWebServer><!--Either name or ip, address of XBMC instance that has PlayOn added as a source. Do not include :port here. -->
  22.                        
  23.         <!-- Default is 9090 -->
  24.         <AnnouncementPort>9090</AnnouncementPort>      
  25.     </JSONRPC>
  26.    
  27.    
  28.     <!--
  29.     Dropbox - This is the folder where all the Video's .strm files will be stored.
  30.         Inside this folder, subfolders will be created named "TV Shows", "Movies", and "Music Videos"      
  31.        
  32.         IMPORTANT: The dropbox must be a new folder used exclusively for this script.
  33.                    Do not use an existing video source's folder!
  34.         IMPORTANT: It is highly recommended to use a smb share as your dropbox!
  35.        
  36.         streaming - The "Main" dropbox where videos are put by default
  37.             On your computer, create a new folder, enter it's location here.
  38.             Then create 3 subfolders under it, named "TV Shows", "Movies", and "Music Videos".
  39.             Go into XBMC and add each of the 3 subfolders under the Videos, Files, Add Source, setting the content for each folder
  40.             Note: Use the same exact path in XBMC as you have here. Don't use a local path here and a UNC (smb://) path in XBMC.       
  41.            
  42.         LinuxSamba - If specified, this will be prepended to the local path you specified in <streaming>.
  43.                         Useful if you use linux xbmc and your sources are on a smb share. Example: smb://COMPUTER_NAME
  44.     -->
  45.    
  46.     <Dropbox>
  47.         <streaming>"D:/\xbmc/dropbox/Movies"</streaming>       
  48.         <LinuxSambaPrefix></LinuxSambaPrefix>
  49.     </Dropbox>
  50.            
  51.    
  52.     <!--IPChange
  53.         For example, if you are browsing UPNP sources on the same box they are hosted on, the address
  54.         may resolve as "127.0.0.1" instead of the LAN IP. If you attempt to the play file on any
  55.         other computer, it will not work. We can fix this by replacing it with the correct IP.
  56.     -->
  57.     <IPChange enabled="false">
  58.         <change from="127.0.0.1" to="192.168.100.106" />
  59.         <change from="localhost" to="192.168.100.106" />
  60.     </IPChange>
  61.        
  62.     <!--ManualArchiving
  63.         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)
  64.         See here for details on manual archiving in XBMC: http://wiki.xbmc.org/index.php?title=Import_-_Export_Library#Video_nfo_Files -->
  65.     <ManualArchiving enabled="true">
  66.         <HoursThreshold>24.0</HoursThreshold><!--The video must have been archived at least this many hours ago before it will be manually archived -->    
  67.     </ManualArchiving>
  68.    
  69.     <!--When videos that were previously found are no longer found, they will be deleted from the dropbox as configured by these parameters -->
  70.     <VideoCleanUp>
  71.         <HoursThreshold>8.0</HoursThreshold><!--The video must be missing for at least this many hours before it's deleted. -->
  72.         <ConsecutiveThreshold>3</ConsecutiveThreshold><!--The video must be missing for this many consecutive times before it's deleted (each time this program runs is consider 1 time). -->
  73.     </VideoCleanUp>
  74.    
  75.     <!-- Pre-Scrape Music Videos
  76.         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.
  77.         If pre-scrape is enabled, it is recommened to use the MTV Music Video scraper in XBMC,
  78.         this allows for fall-back to that scraper if the Yahoo scraped can't find the music video. --> 
  79.     <PreScrapeMusicVids enabled="false" />
  80.    
  81.     <!-- XBMC Restart before scan.
  82.     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.
  83.         If you set this to true, you should modify the res/XBMCRestart.cmd file in this program's directory to fit your needs. -->
  84.     <XBMCRestart enabled="false" />
  85.    
  86.     <!--
  87.     <SearchFilters>            
  88.         This is where you define what sources in XBMC should be added to the library.
  89.         <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.
  90.             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.         
  91.             <subfolder> - Each source can have multiple subfolder elements. These are directories that should be scanned and added to the library.
  92.                 *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.
  93.                         If specified at the source level, the attribute will be inherited by all subfolders.
  94.                         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.
  95.                 name - required attribute; The name of the subfolder. (do not include the source name, just the subfolder). Use '/' to seperate folders in the name.
  96.                 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.
  97.                         If the content type is all known to be TV Shows, use 'episodes';
  98.                         If the content type is all known to be movies Movies/Films, use 'movies'
  99.                         If the content type is all known to be movies Music Videos, use 'music_videos'
  100.                         If the content type is all known to be none of the above, use 'generic' - This will simply write a directory full of the strm files
  101.                         NOTE: this does not filter the content in the directory; it tells this program what kind of content to expect!
  102.                 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.
  103.                 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!                              
  104.                 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)
  105.                 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.
  106.                 max_videos - optional attribute; default=unlimited; This is the maxinum number of episodes/movies/music videos to retrieve from the subfolder.
  107.                 movie_set - optional attribute; default=none; Specifies the name of the movie set to add the movie to; If the movie already belongs to a different set, it will not be changed. (Ignored for TV Episodes/Music Videos). More info: http://wiki.xbmc.org/index.php?title=Movie_Sets
  108.                 movie_tags - optional attribute; default=none; Pipe (|) delimited list of tags to add to the movies. example: movie_tags="Streaming|Netflix"
  109.                 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.
  110.                 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.
  111.                 multi_part - optional arrtibute; default=false; Set this to true if the subfolder might contain any multi-part vidoes              
  112.                 force_series - optional attribute; default=none; This will override any series name that gets parsed.
  113.                 <exclude> - optional; If a video's path matches ANY of these, it will be skipped.
  114.                 <filter>  - optional; Only videos that match ALL filters will be included (unless it matched an exclude)
  115.                     <contains> - Matches if the video path contains at least one of the literal texts delimited by double pipes "||" (case-insensitive)
  116.                     <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/
  117.                     <runtime> - Matches if the runtime of the file fits the criteria specified in seconds along with the relational operator value. The format is "<relational_operator>|<runtime_seconds>". Posible relational operators are: EQ:Equal to, GT:Greater than, LT:Less than, NE:Not equal to, GE:Greater than or equal to, LE:Less than or equal to. Matches only on files and not directories.
  118.                 <parser>  - optional; Overrides the default series and title parser with a regular expression that must contain two defined groups.
  119.                     <regexp> - Pattern must contain two groups like in the following ([\w\s*'-]*):([\w\s*'-]*) example pattern. The first pattern group will interpreted as the series, and the second group as the title. - see here for info on regex: http://java.sun.com/developer/technicalArticles/releases/1.4regex/
  120.                
  121.             Note: The exclude/filters filter on the video path. A typical video path looks something like "Hulu/Popular/Popular Episodes/s01e01 - MyTVShow - Pilot"
  122.             Note: Be careful what you recursively search for. For example, a recursive search of PlayOn's Netflix/Browse Genres returns about 75,000 videos!
  123.             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)        
  124.            
  125.     -->
  126.  
  127.    
  128.     <SearchFilters>
  129.         <!--
  130.         See here for sample search filter configurations: https://docs.google.com/document/d/1CDbdU1GOJlIblwGH8vaJT5c_99lK5H-gRMe3CFpZpUs/edit?hl=en#bookmark=id.g4i0iqa50b0b
  131.         -->
  132.        
  133.         <!--Add your own search filters here!!! -->
  134.         <azdrama.net path="plugin://plugin.video.azdrama" recursive="true" >           
  135.  
  136.             <!--Top 10 Popular movies from Hulu -->
  137.             <subfolder name="HK Movies/" type="generic" />
  138.                            
  139.         </azdrama.net>
  140.        
  141.     </SearchFilters>
  142.    
  143. </root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement