![]() |
|
Offline Creator - Automated dummy content script/program - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116) +--- Thread: Offline Creator - Automated dummy content script/program (/showthread.php?tid=40329) |
Offline Creator - Automated dummy content script/program - sw1tch - 2008-11-14 01:11 Something that I hope should be useful to anyone with lots of offline content such as DVD's. This will automate the process of creating dummy files used for XBMC library scanning and create avi's that tell you what disc the content is on when you play that library item. It's only a simply console application, no fancy gui. Features: - Loads a list of Movies and Disc Numbers from a .cvs file - Creates dummy folders (optional) - Fetches the url for the top imdb result and creates and .nfo file for easy XBMC lookup (optional) - Fetches the year from imdb (optional) - Creates an avi file containing the text "Please Insert Disc X" where X is the Disc Number for that Film. ![]() Download Offline Creator v1.2(WINDOWS) Download Offline Creator v1.3(Linux/OSX) Quote: Changelog To use, 1) Edit library.cvs in excel/notepad to include your movie names, and disc ids(optional) 2) Run the program 3) Scan the Offline folder in XBMC See the readme.txt for information on usage. For the next version I will look into fetching posters and adding a "DVD" watermark, and possibly allowing custom backgrounds for the dummy avi files. - wyild1 - 2008-11-22 05:04 Looks promising! Testing this out and i have run into a bit of a program. I created the csv file with about 30 movies but when i run the script i get: Code: wyild1@BITCHTITS:~/offline-creator$ python offlinecreator.pyAny thoughts? - desertblade - 2009-01-01 23:54 This a great idea! I would like to see some of the suggested ideas but what a great start. I just need to add all my movies to the collection. wyild1 I too got this error on Linux, it is having issues creating the movie folder names, I could dig into why, but my Python is not very good. I tried it out on windows with the exe and it works great, so for now my workaround is using the VM of windows that I have. - stacked - 2009-01-02 01:08 Thank you so much! I've needed something like this. It works perfectly with Ant Movie Catalog. I just export my movies list to csv with the title and the disc number, then let this program do the magic. I already have nfo files with the proper imdb urls but I like that you have an imdb url scraper built in. My only request is that you allow the user to change the text "Please Insert Disc" in the settings.ini. And also allow the user to choose a delimiter instead of comma. I ran into problems when movie titles had commas like "I, Robot" or "Me, Myself & Irene". Thanks again!
- xbmcjb - 2009-01-03 00:49 Hi, Thanks ! Works great ! But if you try to use letters for your disc ids, the app put a cap for the first letter and don't respect the case of the text in the "library.csv". It should not be too difficult to fix. Thanks in advance - sw1tch - 2009-01-03 17:56 xbmcjb Wrote:Hi, Open up settings.ini in wordpad and change Code: title_names = TrueCode: title_names = Falsewyild1 Wrote:Looks promising! Testing this out and i have run into a bit of a program. I created the csv file with about 30 movies but when i run the script i get: Have you installed mencoder? See the readme, you may need to specify the location of mencoder in the ini stacked Wrote:Thank you so much! I've needed something like this. It works perfectly with Ant Movie Catalog. I just export my movies list to csv with the title and the disc number, then let this program do the magic. I already have nfo files with the proper imdb urls but I like that you have an imdb url scraper built in. CSV files require items with commas in to be quoted such as Code: The Matrix, 1As for the custom "Please Insert Disc", I have just added the option into settings.ini in the latest version, see the original post. Quote: Changelog - stacked - 2009-01-03 21:18 sw1tch Wrote:CSV files require items with commas in to be quoted such as Oh, I forgot to include the quotes on the export settings. Thanks for the update too. - xbmcjb - 2009-01-03 23:39 Some other suggestions : - You could add an item in settings.ini to change the font Code: font = helvetica.ttf- Is it possible to add a background image instead of black ? Anyway, these are details. Thanks for the update. - Gamester17 - 2009-01-04 02:05 @sw1tch, could you please through in an option to create the dummy files/folders structure without the NFO files? Dummy file/folder structures are great for testing XBMC on different platforms, and to show of to your friends on their own computers, ...but I do not want the NFO files.
- blittan - 2009-01-04 11:47 @Gamester17, simply do a search for *.nfo in the dummyfolder then
|