XBMC.MyLibrary - Import anything to your video library.
(Original idea was proposed here)
(Original idea was proposed here)
Please note: this program is not an XBMC Add-on. It is an external tool.
User's Guide (read this before posting questions)
The idea of this program is that when you want to play a movie/tv episode, you shouldn't have to think "Ok, is this movie stored locally, or is it on Netflix or Hulu, or maybe Amazon Video? You shouldn't have to search through your plugins to find the movie. The movie should just be in your library and when you click play, it should play from whatever source has it available.
Download (v1.4.1) - Compatible with Frodo
Download (v1.3.3) - Compatible with Eden Final
Old, unsupported, Dharma release:
Download (v1.1-beta) - compatible with Dharma
This is BETA software. It is not idiot-proof. I'm looking for knowledgeable testers to help make it better!
This code has been released as an open-source project. If you can improve it, please do so
This program is for you if:
You know how to edit xml, configure sources in XBMC, edit a command file, post a debug log, etc.
If you don't have that skillset, this program is probably not for you. There is currently no GUI.
This program lets you add content from anything, such as Plugins, upnp:// sources, etc. to XBMC's native video library. I created a sample video of what the end product looks like.
What's this program really doing?
This what the program basically does in order to get streaming content in the library:
- Use XBMC's JSON-RPC API to scan a source, based on the user's SearchFilters. The source an be any source that XBMC understands, be it a local directory, a plugin, an add-on, a upnp server, etc.
- Save the videos found from the source (filtered by user-defined searchfilters) as .strm files.
- Do some JSON-RPC magic to allow XBMC to scrape and save these .strms in its video library.
[Video source (plugin/upnp/etc)] <<--->>[XBMC.MyLibrary] <<--->>[XBMC Video Library]
v 1.4.3 - JSON-RPC compatibility fixes.
v 1.4.2 - Parsing fixes.
v 1.4.1 - Removed all dependencies on direct XBMC SQL execution and replaced with JSON-RPC. Other bug fixes.
v 1.4.0 - Frodo JSON-RPC compatibility. Added movie_tags option. Improved parsing. Overhauled backend code.
v 1.3.3 - Added logical OR support with double pipes in the contains element.Fixed bugs in the runtime filter. Added series name override. Added generic type (as apposed to episode, movie, or music_video). Added a couple examples to the config file to show proper usage of the above enhancements. Added series and episode name regex parsing (see parser element and example usage in the TED Talks filter).
v 1.3.2 - New features from angrycamel. (depricated)
v 1.3.1 - Improved support for Amazon Prime archiving. Better matching of duplicate TV Episodes from different sources.
v 1.3 - Added support for native .strm's. Dummy mpg's are no longer needed. Many bug fixes and clean up. All SQL queries now uses prepared statements instead of building the query on the fly and using escape chars. Removed support for downloading because it has gotten too messy to maintain.
v 1.2.1 - More Eden compatibility updates. Unused TV Show directories are no deleted in order to preserver user's cutom data incase episodes get re-added at a later date. SQL Queries for local paths have ben fixed. Other minor bug fixes.
v 1.2 - Eden compatibility updates for JSON-RPC interface. Changed default transport method from "Raw" to "HTTP" and got rid of curl. Other minor bug fixes.
v 1.1 - Numerous bug fixes. Improved tracking of meta-data to avoid double lookups. Added option to compress downloaded videos. Improved downloading process. Disabled icefilms support to keep everyone happy.
v 1.0 - Initial release.
Thanks to all that this program depends on:
XBMC JSON-RPC API, XBMC Plugin Developers, SQLite, Java, TheTVDB.com, Yahoo Music Video API