XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) (/showthread.php?tid=98210) |
XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - bradvido88 - 2011-03-31 Code Repository (post bugs here): http://code.google.com/p/xbmc-mylibrary/
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. Frodo Release: Download (v1.4.1) - Compatible with Frodo/Gotham/Helix Eden Release: Download (v1.3.3) - Compatible with Eden Final Old, unsupported, Dharma release: Download (v1.1-beta) - compatible with Dharma This code has been released as an open-source project. If you can improve it, please do so http://code.google.com/p/xbmc-mylibrary/ 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. Overview: 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:
[Video source (plugin/upnp/etc)] <<--->>[XBMC.MyLibrary] <<--->>[XBMC Video Library] Change Log: 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 RE: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - bradvido88 - 2011-03-31 FAQ
- bradvido88 - 2011-03-31 Known Working Video Sources:
- icky - 2011-04-02 so i have d/l and had a little play, tried editing the searchfilter in config.xml to stream baywatch from the icefilms plugin... but cannot find the right path to the baywatch folder i reckon.... i essentially copy and pasted the icefilms hd720p search filter and changed the path to what i thought the baywatch one was, ie tv shows/a-z directories/b/baywatch/ changed movie_set to tv shows.... and that was it! does this scream noob! EDIT Right, took my search filter out and just ran the generic hd720p icefilms one.... for some reason it doesnt import them into library the cmd file seems to work ok but nothing ends up in xbmc http://www.mediafire.com/?jcizdlgipoklalz thats my log file - bradvido88 - 2011-04-02 The xbmc log doesn't help me much. I need the XBMC.MyLibrary.log from this program. Did you add the {dropbox}\Movies as a source in xbmc? - icky - 2011-04-02 bradvido88 Wrote:The xbmc log doesn't help me much. I need the XBMC.MyLibrary.log from this program. added it after i ran the cmd file... should it be added before? http://www.mediafire.com/?0aby08y1j0hhibh - bradvido88 - 2011-04-02 They won't show up in you library until you add the source in XBMC and set the content to whatever it is (Movies/TV Shows/Music Videos), and then run my program. From the log, my program is running fine and it is finding the videos correctly. They just haven't been scanned to XBMC yet. Set up the source in XBMC, then run the program again. - icky - 2011-04-02 right... have re setup everything... all music videos and movies are scanned into library. however none of the videos want to stream, all i get is playback error failed http://www.mediafire.com/?2yhmeqnz58p83lm - icky - 2011-04-02 btw i am using a nightly build.... just in case this makes a difference to your script? - bradvido88 - 2011-04-02 No, nightly should be OK. My guess is that the source that is set up in XBMC is different than the source specified as the dropbox. If you set logging_level to DEBUG, I will know for sure. I see your music video dropbox is "C:\dropbox\Music Videos\". In XBMC, is it set up as "C:/dropbox/Music Videos/"? I have to admit that I've only tested using UNC (smb://) sources, so there may be some tuning that needs to be done for local sources. EDIT -Yes indeed, I've found a bug where local sources are not named correctly (should use a "\" instead of a "/"). I'll make a fix for this. In the meantime, if you use network shares as your sources, and change your dropbox to a network share, it will work. - icky - 2011-04-02 just running your program again with a debug log, dropbox is set up exactly where it should be in xbmc, it get me the directors info etc but just doesnt stream http://www.mediafire.com/?jzyc5dpnc56kbks - bradvido88 - 2011-04-02 I made a quick 1 line change. Replace your current XBMC.MyLibrary.jar with this one. (it is in the /dist subfolder of your installation dir) I also updated the main download. Should now work correctly for local dropbox as well as shared dropbox. - icky - 2011-04-02 i can only imagine we are on different sides of the atlantic, so i will ask now.... is there any chance of you quickly making a search filter for icefilms tv shows a-z directories.... so that i can edit it to the show i want etc... just the basic template is needed... this would be awesome!1 - icky - 2011-04-02 http://www.mediafire.com/?n5c65x2ah146amp http://www.mediafire.com/?ws8lz4td4wo3p6e right all movies are now scanned into an icefilms folder in movie library, and they stream!!!! however...... it starts half way thru the movie on some and stops nearly immediately on others. plus the music videos do not work, but i dont think this is due to your program i think this is to do with the plugin itself as have tried it thru the plugin and they wont stream either - bradvido88 - 2011-04-02 BlueCop has acknowledged that many of his plugin's sources are not currently working (Yahoo Music Videos). That's on the plugin, not this script. |