[RELEASE] DVDProfiler importer script - import the movie database from DVD Profiler
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2008-03-26 13:15
Post: #31
zakhounet: I can see that if your only using DVDProfiler in 'Local' mode that appending your stored media 'location' to a smb won't work. I've changed the script so that if your in local mode it won't join to a smbpath but attempt to playback from local storage. Your stored 'location' path will have to reflect this. eg 'E:\myvideos\Ronin.iso' or simliar
My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net |
| find quote |
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2008-04-10 21:01
Post: #32
Changelog:
Change: Removed ClientCookie.py by using python 2.4 cookieLib instead. Change: Self update improved. Fix: IMDb New: German language strings. New: IMDb Slideshow of gallery images New: Filter of 'Location' - Show only films with a location stored in XML (DVDPro v3 only XML) New: For V3 XML, titles with Location have icon displayed and can be filtered. New: Setting option to set startup mode (Menu,SMB,Local,Online) on http://www.xbmcscripts.com any problems, let me know. BBB My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net |
| find quote |
zakhounet
Junior Member Posts: 2 Joined: Mar 2008 Reputation: 0 |
2008-04-12 01:21
Post: #33
thank Big, I will try it asap
|
| find quote |
poppo
Junior Member Posts: 4 Joined: May 2008 Reputation: 0 |
2008-05-12 14:11
Post: #34
Mcgeiver Wrote:Everything working on install and network linking to collection.xml (script verifies the connection) can browse my movie collection after ftp file to xbox, but if using SMB enabled option progress dialog shows 100% and "success" then locks up. I am having a similar problem. What I found is that after the collection.xml is 'processed' the images are. and that is where it is locking up. Im not sure if the script tries to copy the image files as is, or if it tries to resample them, but here is an examp,le of what happens. For my first movie (i.e. The 6th Day) the DVD profiler image is named (doing this from memory so it's just an example) 987652321i.jpg. But the image that the script is trying to create is named 09876543210i.jpg (note the extra lading zero and the extra number near the end. This file gets 'stuck' as a zero byte file and the xbox locks up. Now if I manually copy the image over and rename it to what the script is calling it (the one with the extra numbers) the script will succcessfullly start in SMB mode and the image for the first movie (6th Day) is displayed. However as soon as I select another title, it locks up again as it tries to create/copy the image. So, here are my thoughts: 1. SMB is working since it does fetch the collection.xml file. 2. I have upgraded from a previous version of DVD Profiler to V3, so I don't know if there is some discrepency in image names (i.e. the script is looking for the longer name and can't find it and thus locks up when it is creating/copying it. 3. I use high quality mode images for DVD Profiler 4. I don't know why the file names are different and if it's a 'can't find' issue as stated in #2, or if there is a problem with the conversion if the image is being resampled. |
| find quote |
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2008-05-12 21:12
Post: #35
Hi.
thanks for the feedback. When people have contacted me about this before, its usually down to them not setting in the scripts settings menu the correct subfolder where the cover are located. This is a different location than v2 DVDProfiler. The image filenames are taken from the XML, the DVD's <ID> tag eg. 0043396062498.2 and append 'f.jpg' (0043396062498.2f.jpg) Look in the collection.xml and find the film '6th day' then make a note of its <ID> Then search for *id_num*.* in the remote PC's images subfolder. It could be that the 'f.jpg' I append ontot end isn't true for hi-rez images? If you've found that your hi-rez cover don't match these filenames, let me know. You can do two things; 1) send me (a zip) of your v3 collections file with a few of the first few films cover images, so I can try and re-create your problem. or 2) run it in debug mode and send me the xbmc.log. You will need to create a file in UserData called AdvancedSettings.xml and in it have <advancedsettings> <loglevel>1</loglevel> </advancedsettings> cheers BBB My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
(This post was last modified: 2008-05-12 22:17 by BigBellyBilly.)
|
| find quote |
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2008-05-12 21:48
Post: #36
Heres an example settings showing that I have a the main smb share:
'smb_dvdpro_share': 'DVD Profiler' 'smb_images_dir': 'Databases/default/IMAGES', so its expects the given images subfolder to exist under your defined smb share. smb://user:pass:PCNAME/DVD Profiler/Databases/default/IMAGES The collection.xml is brought from the other subfolder definition: Defined as eg 'smb_collection_dir': 'EXPORT' making: smb://user:pass:PCNAME/DVD Profiler/EXPORT Does that example help you check your serttings ? BBB My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
(This post was last modified: 2008-05-12 21:51 by BigBellyBilly.)
|
| find quote |
poppo
Junior Member Posts: 4 Joined: May 2008 Reputation: 0 |
2008-05-12 22:17
Post: #37
BigBellyBilly Wrote:Heres an example settings.... Hmmm.... That may be the problem. I have it pointed to DVD Profiler/Images directory which may be the old DVD Profiler 2 location and not the one you show as being under databases/default. I'll look at it when I get home. If that's the case, a note might need to be made to let people know that if they updated from a previous version of Profiler, the images are in a different place as updating did not remove the old ones. |
| find quote |
poppo
Junior Member Posts: 4 Joined: May 2008 Reputation: 0 |
Ok, problem solved after a little hair pulling. It was indeed the location of the images and the location change from DVD Profiler v2. My v3 images are buried in My Documents. After sharing that directory as Images, and after deleting the dat files in the script data cache directory, that the script had previously made (because it still locked up) all is well.
Something I would suggest. Perhaps put an options screen on the main choice screen because once you set the SMB settings you can't easily get back into them (if you made a mistake and things lock up). You can get to them by going into local mode first, but if that locks up, you have to FTP in and delete stuff to start over. Also as mentioned above, perhaps the readme.txt could expand on the different image locations between v2 and v3. Anyway, this is a great script. It saves me time from having to fire up the computer every time I want to look something up. And DVD Profiler v3 is no speed demon on loading. |
| find quote |
BigBellyBilly
Skilled Python Coder Posts: 959 Joined: Feb 2005 Reputation: 2 Location: UK |
2008-05-13 09:51
Post: #39
"Perhaps put an options screen on the main choice screen"
could you explain a bit further? Do you mean 'Settings option on the 'Startup Menu' ? As you say entering into Local mode gives you access to Settings menu, not sure why it would lockup in that mode thou as it doesn't do any SMB transfers (for covers etc). There is a Clear Data option in Settings Menu, maybe that wouldve helped? I could expand the SMB menu to check that all the entered paths exist as well as just the SMB connection check. and I'll expand the readme, tbh, someone promised me to re-write it for me but I never heard back from them. Anyway, glad you got it going. As your a v3 user, have you tried the video playback feature as v3 now holds media location? cheers BBB PS. any contributions for a better script logo most welcome! My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net |
| find quote |
poppo
Junior Member Posts: 4 Joined: May 2008 Reputation: 0 |
2008-05-13 13:52
Post: #40
BigBellyBilly Wrote:"Perhaps put an options screen on the main choice screen" Yes, I meant on the main startup menu. I guess I was thinking that if someone is trying to use SMB and it's locking up, they may not know they can get to the SMB settings through the local mode. Again, the reamde is a bit lacking on what files need to be FTPed and where to put them, so some may not even try it. It took me a little while to figure it out and it was really just by accident. Yes, the clear data probably would have helped but I was already getting proficient at knowing what to delete to start over. ![]() Expanding the SMB connection check would probably help or at least have the main script just error out if the files it's looking for are not where it was told by the SMB settings. As it stands now, it looks like it tries to create the jpg first (thus the 0 byte file) and then dies if the source is not there. I have not tried the option to actually play videos yet because I don't have them 'on line' yet. But it looks like a nice feature. Anyway, in no way am I trying to nit pick. I know a lot of work goes into these things and I for one appreciate it. Thanks! |
| find quote |


Search
Help