DVD Profiler to Xlobby Import Utility

Xlobby plugin development

Postby abobader on Mon Jun 12, 2006 1:10 am

Hi jovial_mood,

Many thnaks for the info, sure now I understand how the program work better.

It now give me this error when I start the conversion:

Code: Select all
Error Reading Xlobby Database
Error code: 9
Value cannot be null.
Parameter name: Argument 'Array' is Nothing.
Shutting down DXC...


Here the dxc.ini setting:

Code: Select all
[Section SearchPaths]
DVDProfilerCollection=C:\Program Files\DVD Profiler AVI\export database\avi.xml
DVDProfilerFolder=C:\Program Files\DVD Profiler AVI\
XlobbyCollectionInput=C:\xlobby2\databases\avi.xml
XlobbySingleFileForIO=1
XlobbyCollectionOutput=C:\xlobby2\databases\avi.xml

[Section DataPreservation]
PreserveUnaltered=0
KeepXLData=1
KeepXLAll=True
KeepXLExisting=False
KeepXLNew=False
KeepSubitemStructure=1
CompareDisplay=True
CompareTitle=False
CompareOther=False
CompareOtherText=title
MatchItemsSubitems=True
MatchItems=False
MatchSubitems=False

[Section DatabaseProcessing]
AdvTags=0
SortOutput=0
ActorsAll=1
ActorsAddAll=1
ActorsRole=1
ActorsList=0
ActorsSplit=0
Actors=30
ActorsPages=15
ActorsJoinNames=0
Audio=1
AudioLanguage=1
AudioCompression=1
AudioChannels=1
AudioCustom=0
AudioDD=0
AudioDTS=0
AudioDD20=0
AudioDDTrue=Enter tag contents here
AudioDDFalse=Enter tag contents here
AudioDTSTrue=Enter tag contents here
AudioDTSFalse=Enter tag contents here
AudioDD20True=Enter tag contents here
AudioDD20False=Enter tag contents here
CaseType=1
CollectionType=1
Credits=1
CreditsAddAll=1
CreditsType=1
CreditsSubType=1
CreditsList=0
CreditsSplit=0
CreditsNumbers=30
CreditsPages=15
CreditsJoinNames=0
DiscInfo=1
DiscDescription=1
DiscId=1
DiscDualSided=1
DiscDualLayered=1
DiscFlipper=1
DvdDescription=1
Features=1
FeaturesSceneAccess=1
FeaturesCommentary=1
FeaturesTrailer=1
FeaturesPhotoGallery=1
FeaturesDeletedScenes=1
FeaturesMakingOf=1
FeaturesProductionNotes=1
FeaturesGame=1
FeaturesOther=1
FeaturesDvdRomContent=1
FeaturesMultiAngle=1
FeaturesMusicVideos=1
FeaturesClosedCaptioned=1
FeaturesThxCertified=1
Format=1
FormatAspectRatio=1
FormatVideoStandard=1
FormatLetterBox=1
FormatPanAndScan=1
FormatFullFrame=1
Format16X9=1
FormatDualSided=1
FormatDualLayered=1
FormatFlipper=1
FormatCustom=0
FormatAr=0
FormatColor=0
CheckHdtv=0
FormatNtsc=Enter tag contents here
FormatPal=Enter tag contents here
FormatHdtv=Enter tag contents here
Locks=1
LocksEntire=1
LocksCovers=1
LocksTitle=1
LocksCast=1
LocksCrew=1
LocksDiscInformation=1
LocksOverview=1
LocksRegions=1
LocksAudioSubtitles=1
LocksGenres=1
LocksSRP=1
LocksStudios=1
ProfileTimeStamp=1
PurchaseInfo=1
PurchasePriceCurrencyID=1
PurchasePriceCurrencyName=1
PurchaseDate=1
PurchasePlace=1
PurchasePlaceType=1
PurchasePlaceWebsite=1
Regions=1
RegionSeparateTags=True
RegionSingleTag=False
RegionPrefix=0
RegionPrefixText=Enter prefix here
Released=1
Review=1
ReviewFilm=1
ReviewVideo=1
ReviewAudio=1
ReviewExtras=1
SrpInfo=1
Srp=1
SrpCurrencyId=1
SrpCurrencyName=1
Studios=1
StudiosSeparateTags=True
StudiosSingleTag=False
StudiosList=0
Subtitles=1
SubtitlesSeparateTags=True
SubtitlesSingleTag=False
SubtitlesAllLanguages=True
SubtitlesSpecifiedLanguage=False
Subtitles=English Swedish
Upc=1
ActorsTag=1
ActorsTxt=5
CollectionNumberTag=1
CoverArtTag=1
DirectorTag=1
DisplayTag=1
GenreTag=1
IdTag=1
NumberTag=1
OfflineTag=1
OnlineOpt=False
OfflineOpt=True
ParameterTag=1
ParameterTxt=video_ts.ifo
PlotTag=1
SplitPlot=0
PlotWidth=930
PlotHeight=630
PlotFont=Arial
PlotFontBold=
PlotFontItalic=
PlotFontSize=32
PlotFlags=1
PlotDivisible=0
RatingTag=1
RunTimeTag=1
RunTimePrefix=0
RunTimeSuffix=0
RunTimePrefixTxt=Enter runtime prefix here
RunTimeSuffixTxt=Enter runtime suffix here
SortOrderTag=1
SortOrderTxt=sorttitle
SortTitleTag=1
TemplateTag=1
TitleTag=1
YearTag=1
EasterEggs=1
LastEdited=1
PlotUseGDIPlus=1
PlotUseInteger=1

[Section PreserveTags]
actors = False
collectionNumber = False
coverart = True
director = False
display = True
genre = False
id = False
number = False
offline = False
parameter = False
paths = False
plot = False
rating = False
runtime = False
sortorder = False
sorttitle = False
title = True
type = False
year = False
NoMoreTagsToKeep = True


My best.
abobader
 
Posts: 142
Joined: Fri Apr 21, 2006 5:08 pm

Postby briands on Mon Jun 12, 2006 1:19 am

Jovial,

Any chance you would share the details of this application? I am trying to understand how to convert another XML database into an XL database.

TIA
briands
 
Posts: 84
Joined: Fri Oct 29, 2004 6:31 pm
Location: Louisville

Postby jovial_mood on Mon Jun 12, 2006 5:38 pm

abobader,
I would need your Xlobby database to see what is causing the error. You'll find my email address if you press the about button in DXC.


briands,
The program just treats the databases like large text files and reads all tags into different arrays.
jovial_mood
 
Posts: 55
Joined: Sun May 22, 2005 6:07 am
Location: Sweden

Postby abobader on Mon Jun 12, 2006 10:02 pm

Hi jovial_mood,

Email sent, thanks in advanced for helping in this matters.

My best.
abobader
 
Posts: 142
Joined: Fri Apr 21, 2006 5:08 pm

Postby jovial_mood on Tue Jun 13, 2006 8:47 pm

I tested your database and I don't get any error reading it using the latest version of DXC dated December 28, 2005. Any earlier versions of the program will terminate showing the error message you stated.

If you press the about button in DXC you will see which version you are using. Make sure it reads v1.0.2188.18560 RC3. If it doesn't you can download it from http://user.bahnhof.se/~engstrom/files/dxc/dxc_051228.rar.

Feel free to let me know if you still get the error when using the RC3 version.
Btw, you might need to delete dxc.ini when updating the program.
jovial_mood
 
Posts: 55
Joined: Sun May 22, 2005 6:07 am
Location: Sweden

Postby abobader on Tue Jun 13, 2006 9:59 pm

Hi jovial_mood,

Yes, that did it, and after many testing, "parameter" and "offline" should be checked as well to give the prefect result for my need.

Well done and many thanks for this great utilitiy.

My best.
abobader
 
Posts: 142
Joined: Fri Apr 21, 2006 5:08 pm

Postby jovial_mood on Wed Jun 14, 2006 2:40 pm

Great to hear it finally worked. :)
jovial_mood
 
Posts: 55
Joined: Sun May 22, 2005 6:07 am
Location: Sweden

Postby abobader on Sun Jun 25, 2006 3:13 pm

Hi Jovial,

Latest build and your plugin give some kind of error, I already post as a bug here:

http://www.xlobby.com/forum/viewtopic.php?t=4555

My best.
abobader
 
Posts: 142
Joined: Fri Apr 21, 2006 5:08 pm

Postby cooldog on Mon Jul 10, 2006 3:06 pm

jovial,

Hey there! I've been looking for a solution that would allow me to store my movie and video files in the directory layout that *I* choose, and still use Xlobby.

It looks like a combination of DVD Profiler and your excellent import program might do the trick, but after half an hour of poking around, I'm unable to see how to manually (or automatically) enter a file location into the DVD Profile record. I can see how to add a tag, but it seems that all I get is a checkbox for it, rather than a textbox that I can enter a pathname into.

I feel like I'm missing something REALLY obvious ...

========================
Edit: .... and I was. OK, now I've figured out that if I add a "disk", then I can enter the filename or direcorty name into the "Location" tag. Does this, or can this get imported into xlobby's DB ??

If I get a chance to try it before you reply, there'll be another "edit" to this post below.

=============================
Edit: ARRRRGGGHHH! The damned "Location" field is not long enough for the pathnames!!! Now what?

===============================
cooldog
 
Posts: 83
Joined: Mon Apr 10, 2006 12:48 am
Location: Kenton, Delaware, USA

Postby jovial_mood on Sun Jul 16, 2006 10:54 am

cooldog,

I've added the option to read the location of the movie files from the 'Notes' tag in the DVD Profiler XML database.

The function reads the text DXCParameter="ENTER FILE PATH HERE". Note the synthax and don't forget the quotes.

You find the Notes textbox in the Personalize window in DVD Profiler (menu option DVD/Personalize...).

Image


You will also need to place a check mark in front of "Notes/DXCParameter" to enable the function in DXC.

Image


With the option checked the path from the DXCParameter will be written as <parameter> in the output file (XL database) and the movie will be flagged as online (<offline>False</offline>).

You can download the the new version of DXC (RC4) from http://user.bahnhof.se/~engstrom/files/dxc/dxc_060716.rar.
jovial_mood
 
Posts: 55
Joined: Sun May 22, 2005 6:07 am
Location: Sweden

Postby cooldog on Sun Jul 16, 2006 1:51 pm

Jovail,


WHoo HOOOO! Thanks! I can't wait to try this out!


Paul
cooldog
 
Posts: 83
Joined: Mon Apr 10, 2006 12:48 am
Location: Kenton, Delaware, USA

Postby Gizzmo on Fri Jul 21, 2006 7:37 am

hi jovial_mood,

thanks so much for this tool :D

This was one of my next points to solve, because the xlobby importing
tool for DVD-Profiler always deleted my online/offline state.

Even better is the function to use the DVD-Profiler to give the xlobby
database the location of the movie.


Something until now i didn't solve, i want the xlobby database in the
right sort order. I wanna have the database from 0,1,2 - Z ...

I tried different settings to get it in this order, but nothing helped. Your
tool always seems to take the exact order of the exportet DVD-Profiler
file.

Here a screenshot of my settings:

Image


Here a screenshot of the DVD-Profiler database:

Image


Here a screenshot of the imported xlobby database:

Image
Gizzmo
 
Posts: 29
Joined: Tue May 09, 2006 5:43 pm

Postby Gizzmo on Sun Jul 23, 2006 6:20 pm

O.K. sorry for asking such a silly question :oops:

I got it ... going to xlobby setup --> databases -->
open the movie database and type the sortorder
you want in the space ... thats it :D
Gizzmo
 
Posts: 29
Joined: Tue May 09, 2006 5:43 pm

Postby cooldog on Sun Jul 23, 2006 9:14 pm

jovial_mood wrote:cooldog,

I've added the option to read the location of the movie files from the 'Notes' tag in the DVD Profiler XML database.

The function reads the text DXCParameter="ENTER FILE PATH HERE". Note the synthax and don't forget the quotes.


Works for me! Thanks again.
cooldog
 
Posts: 83
Joined: Mon Apr 10, 2006 12:48 am
Location: Kenton, Delaware, USA

Postby jovial_mood on Mon Jul 24, 2006 6:58 pm

Gizzmo wrote:I got it ... going to xlobby setup --> databases -->
open the movie database and type the sortorder
you want in the space ... thats it :D


As you've already noticed I haven't implemented any sort function to DXC. The reason is that Xlobby already has a great built-in sort function (the one you're now using).

If you want Xlobby to automatically sort the database you can uncheck the "Template" box and type the tag you want the database sorted by in the textbox for "Customize <sortorder>".

Image

If you then add a "refresh category" command (Xlobby Setup (F2)/Events/Commands/refresh) to the enter event of the screen you use to show your database, you will always have the database sorted by the tag you entered under <sortorder>.





cooldog,

I'm glad to hear it worked as intended.
jovial_mood
 
Posts: 55
Joined: Sun May 22, 2005 6:07 am
Location: Sweden

PreviousNext