Page 1 of 11 123 ... LastLast
Results 1 to 10 of 104

Thread: Media player plugin available for girder 4

  1. #1
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default Media player plugin available for girder 4

    this is my first attempt to use DUI so it might not be perfect
    http://www.birtles.org.uk/girder/CTMediaSetup2.8.exe
    the setup also contains a DUI unit ported to delphi so if you are trying to develop a delphi plugin it might help

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

    Default

    Congratulations, you are the first 3rd party plugin!
    Ron
    No support through PM

  3. #3
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    wohooo, do i get a prize? :wink:

  4. #4
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,550

    Default

    :-)
    Ron
    No support through PM

  5. #5
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    now that i have the dui working, how do i make my settings screen part of the dui (im sure i read somewhere it was possible)
    edit: i assume its pretty much the same as with command except you look for duOnHookConfig in gir_dynamic_ui, but how do you get the settings back into the plugin from the dui?

  6. #6
    Join Date
    Apr 2004
    Posts
    292

    Default

    Did you figure out how to do this? I need to do the same thing. I've got the screen showing up in the settings dialog, but I'm not sure how to prefill it or get the settings when the apply button is pressed.

    On a related note, how do we do similar things for a learn event dialog?

  7. #7
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    you need to create an xml file using the dui designer but more than that i dont know

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

    Default

    For the settings window basically you specify registry number or registry value. Look at plugins\UI\UIR.xml for an example. So set the registry to whatever default you plugin needs if there is nothing in there. When the user presses apply on that dialog you get a 'duOnApply' callback into the gir_dynamic_ui.

    Sadly we don't have the DUI in place for the events. To prevent G4 from moving futher out into the future we decided not to implement that for the current release.
    Ron
    No support through PM

  9. #9
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    new version released with lots of changes:

    http://www.birtles.org.uk/girder/CTMediaSetup2.9.exe

    settings are saved when you close the setup screen rather than when girder is closed
    volume can be changed by a variable amount
    fast forward/rewind can be done by a variable number of seconds
    option to realod the current track
    fastforward and rewind works properly now
    fixed error when clicking on menu title
    menu can be navigated with numbers
    menu size configurable
    lua scripting (see CTMedia Lua.html in the manual directory for details) functions for editing the media library my be coming soon

  10. #10
    Join Date
    Sep 2003
    Location
    reading / bournemouth UK
    Posts
    1,106

    Default

    a small suggestion a standard format for documentation for plugins that add lua functions could be useful so that all the documentation looks the same

Page 1 of 11 123 ... 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
  •