2014-01-19, 20:31
Code:
<!--
XBMC.MyLibrary
Author: BradVido88, angrycamel
THIS IS BETA SOFTWARE - IF YOU HAVE PROBLEMS, PLEASE POST TO THE SUPPORT THREAD WITH A LINK TO YOUR LOG
Support thread is located here: http://forum.xbmc.org/showthread.php?t=98210
-->
<root>
<!--
JSONRPC - JSON-RPC API connectivity is required for this program to work.
XBMCWebServer - The URL of XBMC. You can include the username, password and port in the url if needed.
The XBMC Webserver must be enabled in XBMC settings.
AnnouncementPort - The TCP port that XBMC uses for JSON-RPC announcements. Default is 9090.
IMPORTANT: This requires going to System, Services, Remote Control and
checking "Allow Programs on this/others systems to control XBMC"
-->
<JSONRPC>
<XBMCWebServer>http://tvserver:[email protected]:8000</XBMCWebServer><!--Either name or ip, address of XBMC instance that has PlayOn added as a source. Do not include :port here. -->
<!-- Default is 9090 -->
<AnnouncementPort>9090</AnnouncementPort>
</JSONRPC>
<!--
Dropbox - This is the folder where all the Video's .strm files will be stored.
Inside this folder, subfolders will be created named "TV Shows", "Movies", and "Music Videos"
IMPORTANT: The dropbox must be a new folder used exclusively for this script.
Do not use an existing video source's folder!
IMPORTANT: It is highly recommended to use a smb share as your dropbox!
streaming - The "Main" dropbox where videos are put by default
On your computer, create a new folder, enter it's location here.
Then create 3 subfolders under it, named "TV Shows", "Movies", and "Music Videos".
Go into XBMC and add each of the 3 subfolders under the Videos, Files, Add Source, setting the content for each folder
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.
LinuxSamba - If specified, this will be prepended to the local path you specified in <streaming>.
Useful if you use linux xbmc and your sources are on a smb share. Example: smb://COMPUTER_NAME
-->
<Dropbox>
<streaming>\\192.168.1.103\Media Server\Streams</streaming>
<LinuxSambaPrefix></LinuxSambaPrefix>
</Dropbox>
Code:
<!--For this to work, you must have a source named "Neflix" added to XBMC, which maps to Playon's Netflix subdirectory -->
<Netflix prefix="[Netflix] " custom_parser="PlayOn" recursive="true">
<!-- Get all TV and Movies from your instant queue. Movies will be put in a movie set.
TV Episodes will have a prefix added to their title
<subfolder name="Documentaries" movie_set=" Netflix Instant Queue" /> -->
<!-- Get new movies from Netflix and add them to a movie set
<subfolder name="Documentaries" type="movies" movie_set=" Netflix Documentaries" />-->
<!--Get up to 50 episodes from the Sitcoms genre -->
<!--<subfolder name="Documentaries" max_videos="25" suffix=" [Netflix]" />-->
<subfolder name="Documentaries" recursive="true" max_videos="25" movie_tags="Netflix" >
</subfolder>
<!--Get up to 50 episodes of new TV Episodes
<subfolder name="New Arrivals/New TV to watch instantly" type="episodes" max_videos="50"/> -->
</Netflix>
<ABC prefix="[ABC] " custom_parser="PlayOn" recursive="true">
<!--Get up to 25 episodes of new TV Episodes -->
<subfolder name="ABC News/All/ABC 2020/Seasons/Season 36" max_videos="25" type="episodes" >
<exclude>
<contains>previous page</contains>
<contains>next page</contains>
<contains>/Recommended</contains>
<contains>/Clips</contains>
</exclude>
</subfolder>
</ABC>
So I have the Webserver set with my ip of my server and the same with the dropbox. Then I also went into XBMC and set the TV Shows and Movies sources with the same as above. the way the code is setup the custom_parser is Playon with the source setup in XBMC for Netflix in Playon. It works and finds the proper streams and puts them into the directories but it doesn't seem to add the prefix or suffix or tags.[/code]