![]() |
|
|||||||
| Supplemental Tools for XBMC Third-party helper software applications and utilities for XBMC end-users. This include media managers as well as other similar non-XBMC tools. Please note that these are not supported or endorsed by Team-XBMC. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | |
|
Member
Join Date: Jul 2007
Posts: 53
![]() |
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:
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. Last edited by sw1tch; 2009-01-25 at 03:11. |
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jan 2007
Posts: 105
![]() |
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.py
# - Skipped Creating Image -- Moviez5.png
# - Creating Video -- Moviez5.avi
Traceback (most recent call last):
File "offlinecreator.py", line 62, in <module>
vid_maker._create_vid(i)
File "/home/wyild1/offline-creator/lib/video_maker.py", line 28, in _create_vid
self._run_command(command)
File "/home/wyild1/offline-creator/lib/video_maker.py", line 49, in _run_command
startupinfo=stup, creationflags=creationflags)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2008
Posts: 5
![]() |
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. |
|
|
|
|
|
#4 |
|
Skilled Python Coder
Join Date: Jun 2007
Posts: 528
![]() |
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!
Last edited by stacked; 2009-01-02 at 05:01. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2008
Posts: 9
![]() |
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 |
|
|
|
|
|
#6 | ||||
|
Member
Join Date: Jul 2007
Posts: 53
![]() |
Quote:
Code:
title_names = True Code:
title_names = False Quote:
Quote:
Code:
The Matrix, 1 "I, Robot", 2 As for the custom "Please Insert Disc", I have just added the option into settings.ini in the latest version, see the original post. Quote:
|
||||
|
|
|
|
|
#7 | |
|
Skilled Python Coder
Join Date: Jun 2007
Posts: 528
![]() |
Quote:
Thanks for the update too. |
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Mar 2008
Posts: 9
![]() |
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. |
|
|
|
|
|
#9 |
|
Team-XBMC Project Manager
Join Date: Sep 2003
Location: Sweden
Posts: 10,608
![]() |
@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.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#10 |
|
Team-XBMC Handyman
|
@Gamester17, simply do a search for *.nfo in the dummyfolder then
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| helper, media manager, tool |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|