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)
- azido - 2009-01-04 15:56
blittan Wrote:@Gamester17, simply do a search for *.nfo in the dummyfolder then
an easier way would be to change
this is a cool program! as a windows noob i'd like to see a gui, though. that way it would be easier to select the corresponding librarie.csv for different needs, i.e. i have hd-movies and hd-porn that needs to be seperated
- sw1tch - 2009-01-04 22:03
xbmcjb Wrote:Some other suggestions :
I'll add an option to change the name/location of the font file.
As for custom background image, it is certainly possible to do. I was just concerned about the legibility of the text as I couldn't create an outline around the text, but I think I have a work-around for that.
For now, it would be limited to the same picture for all discs. One of my plans was for fetching fanart from themoviedb.org to use as the background, but that would mean some drastic changes in the code as it needs to use the same video file for each 'disc id'.
- An00bIS - 2009-01-15 00:38
first of all i wanna say thank you for this great program!
i think a good feature would be, if you could use fanarts instead of the static background image.
maybe you can use the api from themoviedb.org to download the backdrops.
here is a link: http://api.themoviedb.org/2.0/docs/
- wyild1 - 2009-01-23 17:03
I thought i would try this again on a brand new install of eeebuntu. I made sure the python-imaging was installed as per the readme but I am still having the same problem as previous:
in the settings.ini file i specified where mencoder was
and mencoder is installed:
So im at a loss. But on the flip side.....the windows one works great! I just hate booting to windows to do that.
Any help would be appreciated!
- sw1tch - 2009-01-23 23:19
Try this: http://www.mediafire.com/file/gjgyytzy5dd/offline-creator-1.3.tar
I think it was just a simply change from False to True in the options for the python command to launch mencoder.
- wyild1 - 2009-01-25 03:05
looks like that was it! Its working great!
Working But Hard Work. - The Sandman - 2009-01-25 13:03
Thanks for all your effort on this guys (and gals)
I can honestly say I've been testing this to destruction. And it is really my own fault as I've got about 1000+ movies over 280 disks. Did an Export of the list from ANT MOVIE Catalog. Sadly there are plenty of foreign movies in there which generally cause the script to baulk and quit out (it doesn't like accents or in some cases or other characters. I just wish it kept a log of which ones which had been done, and which ones caused it to quit. (just a little debug file perhaps?)
It seems to chose the movies from the CSV in RANDOM order! Sometimes the top, sometimes the bottom and sometimes from the middle. I found it much easier to just cut and paste the info from one massive file into a smaller CSV (cut and paste from Notepad++) about 10 at a time and keep an eye on it. Not quite so automated, but has saved me hours of time and I will persevere with it! The only thing I have to do now is find thumbnails for the movies that are currently missing them. Sigh.
Thanks again, nice piece of work just a little further to go to make it REALLY user friendly!
- desertblade - 2009-01-25 22:01
What a coincidence, I finally spent the time to create the csv of my collection and the fix for Linux was released today.
Sw1tch it is running right now creating the folders. Working great!
Some bugs - webmosher - 2009-01-27 01:42
I have noticed a some possible bugs with this program. Sorry if this is a bit much. I have a background in programming/testing, so I apologize if I went a bit far here. It is possible that many of these issues are related to the CSV files which I use. I do not use ID's in the file, just the names of the titles. This seems to cause some erratic behavior. Note, I am using the Windows version (1.2) of the tool.
1) Someone mentioned the "random" selection of titles from the CSV. What I have found is that when there are no IDs, the selection seems to cause some titles to be skipped entirely. The titles that get skipped are consistent each time the script is run, so this looks like it may be verifyable behavior. However, there is some sort of threshold for this problem. It does not occur on a file with only 20-30 titles, but did it with one with 130+ titles.
2) When "just_refresh" is set to True, the program will process both the files in the CSV and all the titles it can find in the cache directory. This is counter-intuitive to beginning users. I think that the program should only process what is in the CSV and use the cache for pulling copies of pre-processed files.
3) When using "just_refresh" as True, the system still does IMDB content lookups on the titles. Its unlikely it will find new data, so why do these lookups all over again? This would really speed up the rebuild process.
3) If the NFO build flag is set False, the program will fail to copy the AVI build to the destination folders. The reason for this seems to be that it is trying to copy the file from the output folder to the output folder rather than from the cache.
4) When NFO builds are turned off, the TXT file is still created in the cache, but it is full of repeated path information.
5) If you select the option imdb_year_fetch as False, it will still look for the year. Only turning off NFO builds stops this behavior.
For the most part, I was able to work around these issues in various ways, but these fixes would really improve this useful tool.
A few feature requests:
1) Could you add a logfile parameter to the settings to output the results of the process to a log? When on Windows, I double click the binary to launch the scan I often miss errors because the window closes too fast. Of course, I can run it from CMD, but this would be useful.
2) Possibly allow caching of themoviedb.org URLs in the NFOs as well as IMDB? Just a thought. Alot of people using XBMC from the SVN are starting to use this resource.
3) If a connection/download attempt fails, it would be nicer to see this in a readable error instead of the mysterious stuff the DLL library dumps. Just a thought.
4) A command line option to allow use of a file dynamically. This would assist with various batching of files.
Thanks for taking the time to provide this tool.
- kizer - 2009-02-13 00:21
Simply cool. I was trying to think of a way to add my offline library since I have a 400 DVD changer/player sitting next to my Xbox loaded with DVDS, but nothing as cool as just clicking a remote and watching what you want wheny you want. I always had a problem with trying to figure out what was where and this slicks it up and even gives you a little CD number so I can say what number of the tray its in to either play or pull it out and load it in the xbox.
Anyways thanks I'm done rambling now.