Home  |  Products  |  Downloads  |  Registration  |  Forums  |  Support  |  Database  |  My Profiler  |  T-Shirt Contest
Forums

The InterVocative forums are now closed to new postings.

Please visit the Invelos forums at www.invelos.com for DVD Profiler and related discussion.

These forums will remain available for reading indefinitely.

IVS Forums->DVD Profiler: Skins Discussion Page: 1  Previous   Next
Announcing: DVDProfiler Automation Object (Locked)
Author Message
goodguy
Take a toke of tea stick
Registered: September 19, 2003
Posts: 652
Posted:
What's this?

A COM object that lets you automate DVDProfiler either from an external application or from a DVDProfiler skin. The package includes demos with source code for both.

Requirements

  • Microsoft Windows 2000, Windows XP or newer

  • DVD Profiler v2.4.0.868 or newer


  • Limitations

  • Since DVDProfiler lacks a real programming interface, the DVDProfiler Automation Object makes heavy use of undocumented internal data structures and command codes, which may change in future versions of DVDProfiler. As of now, I have only tested it with the latest release version of DVDProfiler, but I'm quite hopeful that it still works with the v2.5 Beta.


  • Currently, the DVDProfiler Automation Object provides only (ha!) a few properties and methods, basically because it stems from a private solution that had only two main goals: 1) jump to particular DVDs both remotely and from a skin, 2) get the skin to display the wishlist priority (there is no DP tag). However, the interface is designed to be easily extensible. If there is enough interest in a certain missing feature, I will probably implement it.



  • So, come and get it. Have fun. Leave feedback.
    Matthias
    My DVD Profiler Tools:
    Automation Object, Name Variants Plugin, Navigation History Plugin
    TomGaines
    Registered: September 24, 2001
    Posts: 2,332
    Posted:
    Email this userVisit this user's homepageView this user's DVD collection
    Great idea! I will try it out.

    I had started something similar for my Viewer tool. I wanted to provide a COM object for accessing all database content in structured way. I had aleady implemented all reading functions and was halfway through with the writing to database functions. Since then my database structure has changes a little.
    Should there be any interest for such a thing for my C&C Viewer, I will make it to my next project and revive this thing.


      Cast & Crew Editor v1.5.0  /    TV Cast and Crew Data
    TomGaines
    Registered: September 24, 2001
    Posts: 2,332
    Posted:
    Email this userVisit this user's homepageView this user's DVD collection
    Quoting goodguy:
    Quote:
    As of now, I have only tested it with the latest release version of DVDProfiler, but I'm quite hopeful that it still works with the v2.5 Beta.

    I have to disappoint you in this regard. Method SelectDVD does not work with 2.5.


      Cast & Crew Editor v1.5.0  /    TV Cast and Crew Data
    goodguy
    Take a toke of tea stick
    Registered: September 19, 2003
    Posts: 652
    Posted:
    Quoting TomGaines:
    Quote:
    I have to disappoint you in this regard. Method SelectDVD does not work with 2.5.

    Could you provide some specifics?

    With the skin or with the DemoAndDoc.htm?
    Which error message?

    If DemoAndDoc:
    What values for  Collection and Filtermode?
    Did you try to change them from the defaults?
    Does anything happen with the DVDProfiler app at all?
    Matthias
    My DVD Profiler Tools:
    Automation Object, Name Variants Plugin, Navigation History Plugin
    TomGaines
    Registered: September 24, 2001
    Posts: 2,332
    Posted:
    Email this userVisit this user's homepageView this user's DVD collection
    I got it with the skin when pressing back and with a short VBScript
    set DVDP = CreateObject("MWDProUI.DProUI")
    DVDP.SelectDVD DVDP.CurrentDVD.Collection, 1, 2

    I totally missed the DemoAndDoc.htm 
    I just tried all buttons there and I get the error with SelectDVD->Call and Collection->Get,Put. The rest seems to work with 2.5

    The error is:
    DVDProfiler menu or menu command not found. This could be a version problem.
    Code: 80040207
    Source: MWDProUI.DProUI.1


      Cast & Crew Editor v1.5.0  /    TV Cast and Crew Data
     Last edited: by TomGaines
    FredLooks
    phpDVDProfiler dude
    Registered: July 5, 2002
    Posts: 738
    Posted:
    Email this userVisit this user's homepageView this user's DVD collection
    Very cool!!

    Quoting goodguy:
    Quote:
    However, the interface is designed to be easily extensible. If there is enough interest in a certain missing feature, I will probably implement it.

    The thing I would most like to see is the abilty to [gs]et the Notes field, followed by location/slot, followed by reviews. I know that those are all personalised fields, but the ability to set them programmatically would save a huge amount of effort ...
    -fred
    david mann
    duelist
    Registered: December 10, 2004
    Posts: 109
    Posted:
    Hi Fred,

    i'd like to read your descriptions and explanations about the programmed things in German to understand better what's the point about the advantages of your work.

    It shouldn't be a problem as you are from Germany (as me) 

    You can also post in the german Profiler forum...

    Thanks & danke 
    "There you are, right back in the jungle again."
    goodguy
    Take a toke of tea stick
    Registered: September 19, 2003
    Posts: 652
    Posted:
    Quoting TomGaines:
    Quote:
    I got it with the skin when pressing back and with a short VBScript
    set DVDP = CreateObject("MWDProUI.DProUI")
    DVDP.SelectDVD DVDP.CurrentDVD.Collection, 1, 2

    The first parameter should be the ID (upc.loc) of the DVD you want to select. You passed the collection type of the current DVD - if there weren't a version problem, you would get the error DVD not found.


    Quote:
    I totally missed the DemoAndDoc.htm 

    I quote the above just as a reminder to anyone else, who may have missed it. 

    Quote:
    I just tried all buttons there and I get the error with SelectDVD->Call and Collection->Get,Put. The rest seems to work with 2.5

    The error is:
    DVDProfiler menu or menu command not found. This could be a version problem.
    Code: 80040207
    Source: MWDProUI.DProUI.1


    Well, that's good news. SelectDVD internally uses get_Collection and put_Collection - so there seems to be only one source for the error with v2.5: the menu commands for selecting the collection have changed.

    I will send you a PM to discuss this further.
    Matthias
    My DVD Profiler Tools:
    Automation Object, Name Variants Plugin, Navigation History Plugin
     Last edited: by goodguy
    FredLooks
    phpDVDProfiler dude
    Registered: July 5, 2002
    Posts: 738
    Posted:
    Email this userVisit this user's homepageView this user's DVD collection
    Quoting david mann:
    Quote:
    Hi Fred,

    i'd like to read your descriptions and explanations about the programmed things in German to understand better what's the point about the advantages of your work.

    It shouldn't be a problem as you are from Germany (as me) 

    You can also post in the german Profiler forum...

    Thanks & danke 


    Ummm, I think you meant Matthias (goodguy), didn't you?

    I'm not German, and sadly can't participate in in the German forums...
    -fred
    david mann
    duelist
    Registered: December 10, 2004
    Posts: 109
    Posted:
    Oh yes - sorry - I meant Matthias aka goodguy. 
    "There you are, right back in the jungle again."
    goodguy
    Take a toke of tea stick
    Registered: September 19, 2003
    Posts: 652
    Posted:
    Quoting FredLooks:
    Quote:
    The thing I would most like to see is the abilty to [gs]et the Notes field, followed by location/slot, followed by reviews. I know that those are all personalised fields, but the ability to set them programmatically would save a huge amount of effort ...

    I didn't dig out Location/Slot or Reviews yet. Also, while grabbing the data from memory once you indentified the structures isn't such a big deal, putting in new data is much trickier. Unless some brilliant idea will hit me, I'm afraid I have to resort to an AutoIt-like approach for that.


    @david mann
    Sorry, but I simply don't have the time to maintain translations. Same goes for keeping up with other DVDProfiler forums. And since this tool is intended for people with at least basic programming skills, there is really no reason to bother with languages other than English.
    Matthias
    My DVD Profiler Tools:
    Automation Object, Name Variants Plugin, Navigation History Plugin
    goodguy
    Take a toke of tea stick
    Registered: September 19, 2003
    Posts: 652
    Posted:
    Version 1.0.1 of the DVDProfiler Automation Object is available for download here.

    I (hopefully) fixed some problems with DVDProfiler Beta v2.5.0.915. Thanks to TomGaines for his assistance.

    Still, I'm flying mostly blind regarding the beta. If it really all works, I deserve large amounts of cookies (or tea sticks  ).

    Feedback is appreciated. Enjoy.
    Matthias
    My DVD Profiler Tools:
    Automation Object, Name Variants Plugin, Navigation History Plugin
    TomGaines
    Registered: September 24, 2001
    Posts: 2,332
    Posted:
    Email this userVisit this user's homepageView this user's DVD collection
    It works now


      Cast & Crew Editor v1.5.0  /    TV Cast and Crew Data
    IVS Forums->DVD Profiler: Skins Discussion Page: 1  Previous   Next