Page 1 of 1

SendMessage MD_API

Posted: Wed May 02, 2007 5:59 pm
by kazu
I wanted to know, if it's possible to use the SendMessage function from outside ProgDVB over an external software.
Because i'm not familiar with C/C++ so i wanted to use Visual Basic.
I read out the hwnd with the FindWindow API but it didn't work out to get/set the current programm. I'm happy for every help ;)

Posted: Wed May 02, 2007 7:59 pm
by Juergen
Suppose you did read the 'Plugins API' page at www.progdvb.com (to the end...)

AFAIK a suitable plugin could as well communicate with an external application, theoretically.

Perhaps you would like to contact other plugin designers, find some at DVBN, for example.

Posted: Thu May 03, 2007 1:56 pm
by kazu
erstmal danke für die schnelle antwort :)
ich habe das system wohl etwas falsch verstanden
es scheint ja nur für plugins zu gehen, die direkt in progdvb geladen werden
ich hab das so verstanden, das ich aus jedem beliebigen programm herraus mit sendmessage auf progdvb zugreifen kann, das war wohl falsch

mein problem ist eigentlich nur, das es etwas umständlich ist mit dem internen scheduler eine aufnahme anzulegen. ich habe zudem das problem das das umschalten auf manche sender erst beim 2ten versuch funktioniert, drum hab ich das im scheduler immer im abstand von einer minute eingetragen. und da ich eine serie aufnehmen möchte, is das etwas umständlich. gibts da vielleicht schon etwas um das zu vereinfachen? ansonsten versuche ich direkt die scheduler.ini zu bearbeiten, das dürfte etwas schneller gehen :)

Posted: Thu May 03, 2007 2:20 pm
by SiLencer
Hi , please stay in english ...

Posted: Thu May 03, 2007 5:42 pm
by kazu
ok sry no problem

first of all, thank you for your quick reply
i think i kind of missunterstood the API system
it seems to only work for plugins that are directly loaded via ProgDVB
what i thought first was, that any external software (.exe file) can access ProgDVB via it's hWnd and SendMessage to get / send information from/to it but that was wrong wasn't it?

my problem is that it's a bit tricky to do recordings over the integrated scheduler because sometimes channels change only after the second click on them. so to schedule a record i set the channel twice (with 1 minute between the schedules) and as i wanted to record a program every day at specific times.. this is a bit annoying.
is there any plugin for easier scheduling? or would it be better to manually modify the schedule.ini and restart ProgDVB?

thx for help and sorry for the german :)

Posted: Thu May 03, 2007 8:20 pm
by Juergen
You will find an option, to 'retune channel if lost signal'.


The internal scheduler is quite limited.
Think about trying RelictEPG, that uses Windows scheduler, more flexible.

Regarding scheduler.ini, I'm not sure, if it's allowed and reliable, to change it from outside while ProgDVB and the scheduler module are up and running. You would have to make your own tests...