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)
- m.savazzi - 2009-05-11 22:43
This is wonderfull but I found a bug:
T:\test1\Offline-Creator-1.2\Offline-Creator\lib\library.zip\win32process.py:10: RuntimeWarning: Python C API version mismatch for module win32process: This Pyt
hon has API version 1013, module win32process has version 1012.
# - Creating Image -- Fritz Il Gatto
Traceback (most recent call last):
File "offlinecreator.py", line 54, in <module>
File "lib\image_maker.pyo", line 41, in _create_img
File "Image.pyo", line 1399, in save
IOError: [Errno 2] No such file or directory: 'T:\\test1\\Offline-Creator-1.2\\Offline-Creator\\cache\\Fritz Il Gatto\nDvd-1350.png'
as you can see I was trying to create items on two lines.
I have the same error for VERY long titles that are longer than allowed filename.
Can you modify the code to generate the png with a temp name?
something like yyyymmddhhmmss-inc.png?
year month day hour minute second - incremental per second
algorithm should be very simple
ai = 0
s1 = yyyymmddhhmmss
if s1 = s2 then ai = ai + 1 else ai = 0
f1 = s1 - ai
... do what you need using f1 as filename
s2 = s1
hoping this helps
Additional info: even with this configuration
imdb_year_fetch = False
imdb_title_correction = False
# - Creating Library Location for -- Benny Butterfly-The Handsome Flying Stranger
# - Fetching year from imdb
Traceback (most recent call last):
File "offlinecreator.py", line 77, in <module>
File "lib\imdb_fetcher.pyo", line 57, in _get_yearname
TypeError: 'bool' object is not iterable
this is bad as it locks the process.
- fidoboy - 2009-07-23 01:05
Is this project abandoned? I've noticed that there is no progress since last months... I've found that this could be very, very useful tool for my objetive in getting my offline collection into XBMC but unfortunately it doesn't work for me...
The problem seems to be the non standard characters like accents, etc. I've tried saving the CSV file as UTF-8 but it still fails on titles containing accented characters (or other characters). Also it could be great if the app could create the nfo file using data from the CSV file (like the thumbnail, cast, plot, genre, etc)...
thanks in advance and kind regards. Keep up the good work!
- biggy_paul - 2010-09-06 11:56
Just in case someone else trying to add their off-line dvd's to XBMC finds this thread can I suggest Ember Media Manager. It has an Offline Media Module that does this wonderfully. Although you have to do one at a time. :-(
- pettergulbra - 2011-03-23 23:39
Hi, I just wonder if there is any that reads this any more.
I try to use this.
I found out I cant use semi colon to separate.
Bit the first time I rud the program it made some files in the cach folder. called 1. Three files.
But if I put my movies (Batman Begins, 1) and so on in the library.csv file.
The program just open it very fast (The black commander box). Can`t eaven see what it says.
I use Windows.
Hope someone can help.
- pettergulbra - 2011-03-24 19:39
Is there a way to make this work on Windows 7
any suggestions? - ipodhappy - 2011-05-04 19:41
Does anyone have any automated solutions on how to get a text file of 100's of movies into xbmc yet?
This program would do what i want but it doesnt work for me!!!
- pettergulbra - 2011-05-04 22:19
Mayby I can help. But not just know, try to get the time tomorrow.
How To. (I did it) - pettergulbra - 2011-05-05 09:25
Download THIS. Unzip it and move the offline-creator folder to C root.
Install Python 2.6.6 also on C root.
Install PIL, it shuld find where to install by it selfe.
Go in to cmd (run - cmd) Navigate into the Offline-Creator folder
cd\ - enter (this to come strigt on root)
C:\Offline-creator - enter
The if you are in the right place, write
Then the program shuld run.
Make sure the comma only separe the name from the number like this Hawaii Oslo,111 not Hawaii, Oslo,111. This means problem.
I had to remove every thing else in the library.csv file.
Only movie name and number with the comme betwin. No spaces.
Check the library.csv file more then once to be sure.
And if I don`t remember wrong, I think it just handeld 15 and 15 files
at one time. I think I had to share mye collection on 15 and 15 and so on.
This I got to work with very good help from a nice man i Norway.
- markyskus - 2012-03-04 23:17
It's work on the final version of XBMC Eden RC2?
I try to make it, but it doesn't work
- pettergulbra - 2012-03-05 19:10
There is so long ago I used this.
But this is not using it inside XBMC, this is just used to make small videofiles that
display the number of the disc so you can add them to the library.