Page 1 of 12 12311 ... LastLast
Results 1 to 10 of 112

Thread: DVD Profiler Integration Changes next build RFC

  1. #1
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default DVD Profiler Integration Changes next build RFC

    Guys,

    I've been looking at the DVD integration code that reads a DVD Profiler XML export.

    First of I fixed the code so it now reads DVD Profiler 3.x XML files.

    Secondly currently the code passes the SortTitle of the DVD to the command line, in a weird broken up way. I would like to make some changes to fix this behavior.

    1. Fix the command line options to pass the filename in %1 and not spread over %1%2%3%4%5 etc. (this should not break existing code)
    2. Retrieve the filename of the ISO's from the field 'Notes' searching for [filepath] PATH [/filepath]. If this field is empty default back to "SortTitle" as is currently. (So no break if you didn't fill the "Location" field in DVD Profiler. For example if you have this text in notes:

    Code:
    THis is an awesome DVD
    [filepath]c:\dvd\matrix.iso[/filepath]
    Will result in the path c:\dvd\matrix.iso being used.
    3. The MCE CCF currently calls play on the mediabridge however I believe no player plugin actually supports this, so I will change this back to the same mechanism the NEW_PRO.ccf uses. ( gacs[3]:Action( <LOOPINDEX>, "ADD") )


    Consider this your chance to put your 5 cents in on the proposed changes above.
    Last edited by Ron; January 17th, 2008 at 05:41 PM.
    Ron
    No support through PM

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Okay here are the files with the proposed MediaBridge changes.
    Attached Files Attached Files
    Last edited by Ron; January 18th, 2008 at 10:37 AM.
    Ron
    No support through PM

  3. #3
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    The manual text that will go along with this feature and possibly a Screencast. Please let me know if there are things that are not clear.

    Media Bridge - DVD Browsing

    DVD Browsing allows you to see your DVD collection on the NetRemote interface and if the DVDs are accessible electronically automatically play them.

    Quick Setup
    1. Install DVD Profiler and Daemon-Tools (DVD ISO mounter)
    2. Catalog your DVDs
    3. Export the database to <PATH_OF_YOUR_CHOICE>\collection.xml
    4. Open Media Bridge -> Settings -> DVD Browsing
    5. Set "Collection XML File" to <PATH_OF_YOUR_CHOICE>\collection.xml
    6. Set "Image Path" to "C:\Documents and Settings\<USERNAME>\My Documents\DVD Profiler\Databases\Default\Images"
    7. Set Execute Command Line to "<PATH_OF_YOUR_CHOICE>\playdvd.bat"
    8. Create a batch file called <PATH_OF_YOUR_CHOICE>\playdvd.bat with this content:
    Code:
    "c:\program files\d-Tools\daemon.exe" -unmount 0
    "c:\program files\d-Tools\daemon.exe" -mount 0,%1
    Load the MCE CCF to see your DVD collection in action.

    The detailed howto!

    1. First you'll need to catalog your DVDs in an XML file with the following structure:

    Code:
    <Collection>
    <DVD>
    <ID> unique number </ID>
    <SortTitle> Name here </SortTitle>
    <CollectionType> ... </CollectionType>
    <CollectionNumber> ... </CollectionNumber>
    <Credits>
      <Credit>
      <CreditSubType>directory</CreditSubType>
      <FirstName> .. </FirstName>
      <LastName> ... </LastName>
      </Credit>
    </Credits>
    <Studios>
    <Studio>...</Studio>
    </Studios>
    <ProductionYear> ... </ProductionYear>
    <ParentalRating> .. </ParentalRating>
    <Duration> ... </Duration>
    <Genre> ... </Genre>
    <Cast>
    <Actors>
    <Actor>
    <FirstName>...</FistName>
    <MiddleName>...</MiddleName>
    <LastName>...</LastName>
    </Actor>
    </Actors>
    </Cast>
    <Overview>Synopsis</Overview>
    <notes>
    [filepath] path to iso or other image format [/filepath]
    </notes>
    </DVD>
    </Collection>
    The reason for having this XML structure is to be compatible with DVD Profiler. Manage you DVD collection in DVD profiler and export to XML and this is automatic. Note that DVD Profiler exports many more fields than we require, that is OKAY. We simply ignore the extra fields.

    Enter the path to this XML file in the MediaBridge->Preferences->DVD Browsing->Collection XML file box.
    In the Image path directory find the path to the cover art

    Typically this is:
    Code:
    C:\Documents and Settings\<USERNAME>\My Documents\DVD Profiler\Databases\Default\Images
    In that directory cover art is contained in Jpeg format with the filename built as follows: <ID>f.jpg so if the ID of the DVD is 123 the front cover is called 123f.jpg


    This should now successfully send all your DVD covers and information to NetRemote!

    Automatically playing electronically accessible DVDs.

    Say you have backed up the DVDs that you OWN in iso's stored in the c:\dvd directory and you are using Daemon-Tools to mount the ISOs on your PC we can automatically mount this images and start a DVD player from our NetRemote front-end!

    First off in DVD profiler on the DVD Personal information page you can enter notes for the DVD. In that field we add the following text to store the location of the electronic version of the DVD (e.g. an ISO)

    Code:
    [filepath]c:\dvd\matrix.dvd[/filepath]
    Export the update database to XML.

    Now we'll create the batch file that will mount the image for us. Windows will then automatically launch the DVD player.

    Code:
    "c:\program files\d-Tools\daemon.exe" -unmount 0
    "c:\program files\d-Tools\daemon.exe" -mount 0,%1
    Call this batch file playdvd.bat and save it in the c:\dvd directory.

    Now in MediaBrdige->DVD Browsing->Execute Command line enter
    Code:
    c:\dvd\playdvd.bat
    Using this
    And that is it, you can now see your DVD library on NetRemote and mount DVD images!
    Last edited by Ron; January 17th, 2008 at 05:47 PM.
    Ron
    No support through PM

  4. #4
    Join Date
    Jan 2008
    Location
    Near some trees in Essex, UK
    Posts
    371

    Default Daft question....Noob...

    Hi,

    I am using DVD profiler V3.1.1 Build 1171 (according to 'About') and when you export to xml and view it in notepad, it has a lot more info in there than is required by your list.....

    How do i get it to export as required?
    Do i edit it after export or is there some way of forcing it to export as required?

    Many thanks in advance for helping the noob idiot, Jim

  5. #5
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Ah I should have been more clear. The export must at least include the fields above anything more is allowed and ignored!
    Ron
    No support through PM

  6. #6
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    On a separate note, I am getting reports that the location field is not big enough to hold full pathnames. I will adopt the different scheme for storing the iso location.

    Probably scheme: a [filepath]path[/filepath] addition to the notes field.
    Ron
    No support through PM

  7. #7
    Join Date
    Jan 2008
    Location
    Near some trees in Essex, UK
    Posts
    371

    Default Daft Question 2...

    My images are located as you said, but are under " EANnnnnnn.4f " for the front cover and " EANnnnnnn.4b " for the back......

    Is this a problem?

    Regards, Jim

  8. #8
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    The ID number in your XML does that include the EAN prefix?
    Ron
    No support through PM

  9. #9
    Join Date
    Jan 2008
    Location
    Near some trees in Essex, UK
    Posts
    371

    Default

    i think so..?

    the dvd is "Avengers" EAN 7321900158732

    i've att. the notepad (...somewhere)

    Regards, Jim
    Last edited by VicVonDoom; July 9th, 2008 at 02:52 PM.

  10. #10
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    Let me ask you this. Does it work for you?
    Ron
    No support through PM

Page 1 of 12 12311 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •