Page 1 of 2

New SDK functions ? What else do you need? for the next SDK

Posted: Mon Nov 05, 2007 5:57 am
by rel
This forum thread has been created to help module programmers for their needs on the API.


Please write the things that you think ModuleSDK must have in next version.

e.g. "it must be possible to set aspect ratio from the ModuleAPI" :)

Posted: Tue Nov 06, 2007 2:49 pm
by FredB
Simoh's wish : Add KEY_PRESSED and KEY_RELEASED events to DDEVENT_ON_KEYBOARD (and perhaps also to DDEVENT_ON_REMOTE)

Posted: Wed Nov 07, 2007 5:01 pm
by appiem
Empty...

Posted: Sun Nov 25, 2007 3:58 pm
by chattana
Any function/API that could help to write channel list and EGP effectively. My goal is to write those as the plug in, look STB alike.

Posted: Sun Feb 10, 2008 3:38 pm
by Cruonit
hmm.. i think the MFC has problems(a conflict) with the name OnClose when including afxwin.h (and OnShow)

i fixed it by using (adding before the void):

extern "C" __declspec(dllexport)

example:

extern "C" __declspec(dllexport)
int __stdcall OnClose ()
{
return FALSE;
}


after that it works. I just changed the dll export from C++ (xchaninfo.def) to C style:

Error 7 error LNK2001: unresolved external symbol OnShow d:\Projekti\dreamViewerServer\xchaninfo.def 1
Error 8 fatal error LNK1120: 1 unresolved externals .\Debug/xchaninfo_cpp.lib



another tip if you wanna include afxwin.h (instand of windows.h) to the example application you need to add:
/FORCE:MULTIPLE to the linker command line:

http://pokit.etf.ba/upload/?pokitf32094 ... dddfc6.png

Posted: Mon Feb 11, 2008 12:50 pm
by Cruonit
could you make an API to change the UDP TP client IP address ?

http://pokit.etf.ba/upload/?pokitca4603 ... 9b687b.png

it would be usefull for remote control

Change audio channels

Posted: Fri Apr 11, 2008 4:46 am
by ScanMan
Is there an API - function to change between available audio pids ?
... couldnt find anything. Would be very helpfull.

Can someone (rel ?!) please explain then meaning of dwFlags in the TAudioInfo - record ?

Posted: Sun May 11, 2008 12:55 am
by rel
Is there an API - function to change between available audio pids ?
... couldnt find anything. Would be very helpfull.

Can someone (rel ?!) please explain then meaning of dwFlags in the TAudioInfo - record ?
DDMODAPI_SET_AUDIO_PID added (will be available in next version) the parameter to this function is an Integer (PID)

The first byte in dwFlags is the type of audio pid (MPEG1/MPEG2/AC3) AUDIO_xxxx definitations in ModuleAPI headers.
Remaining 3 bytes is language-code (3 letters, for ex. ENG=English DEU=German etc)


hmm.. i think the MFC has problems(a conflict) with the name OnClose when including afxwin.h (and OnShow)
it is possible to use OnModuleClose() instead of OnClose() as export name (v1.4i and above)


could you make an API to change the UDP TP client IP address ?
explain please? where and how would you use such an API function?

Set Text in the Status Bar

Posted: Fri Jul 18, 2008 11:44 am
by mfury957
I would like to be able to write a text message to the status bar on the main window. In particular, it would be nice to put a message in the the second box on the status bar, where DVBDream displays the channel name and recording information (when it is recording). I have a recording plugin and I would like to display a messages like "Recording..." there.

.NET translations

Posted: Fri Oct 03, 2008 12:15 pm
by LLloody
Hey folks
Glad to join in.
I'm a MS developer for 15 years.
The Visual Studio .NET ide makes for very fast GUI development
and I would love to see one of u fluent C++ coders translate one of the samples to C# or VB .net. If nothing else maybe help me do it...
My C++ is limited and its been years since I wrote anything in it or Delphi.
I would like to do an EPG/scheduler using XML guide data plus maybe a GUI to scrape the transponders from lyngsat and allow easier more current transponder configuration. I would like to get more knowledge about what can and can't be done to dreams' graph from a module / plugin. I have worked alot with directshow and am wishing for a direct to divx transcoding ability.
Thanx in advance...I know I ask alot right off the bat :)

LLlood

Posted: Sat Jul 17, 2010 8:45 am
by r00t
What I miss in current API:

DDMODAPI_GET_TUNER - way to read tuner set by DDMODAPI_SET_TUNER.
Channel Viewable functions - Currently there is no way to change if channel is viewable or get this value. Simple GET/SET API calls would be nice, or one API call to reload viewable.ini from disk.
Take video snapshot function - Ideally with optional parameter - destination filename

(This list will be updated as needed...)

Posted: Thu Aug 05, 2010 10:13 am
by rel
What I miss in current API:

DDMODAPI_GET_TUNER - way to read tuner set by DDMODAPI_SET_TUNER.
Channel Viewable functions - Currently there is no way to change if channel is viewable or get this value. Simple GET/SET API calls would be nice, or one API call to reload viewable.ini from disk.
Take video snapshot function - Ideally with optional parameter - destination filename

(This list will be updated as needed...)

v1.5d and SDK v1.8 has these functions
http://www.dvbdream.org/files/DVBDreamModuleSDKv1.8.rar

details:
--------------------------------------------------------------------------------
DDMODAPI_GET_TUNER
Decsription : Gets tuner information from the device or cache.
Parameter Type : PSetTunerParams
Notes :
If PSetTunerParams.wSatPos = 1 , then function will return the information from the cache.
Some devices don't support querying from the hardware. So beware!
--------------------------------------------------------------------------------
DDMODAPI_SAVE_SNAPSHOT
Decsription : Saves a screenshot
Parameter Type : pointer to null terminated string, file name
Notes :
If file name is empty, then this function will record to default path
with default name.
--------------------------------------------------------------------------------
DDMODAPI_SET_VIEWABLE
Decsription : Sets the given channel's viewable status
Parameter Type : Channel ID
--------------------------------------------------------------------------------
DDMODAPI_CLEAR_VIEWABLE
Decsription : Clears the given channel's viewable status
Parameter Type : Channel ID
--------------------------------------------------------------------------------
DDMODAPI_GET_VIEWABLE
Decsription : Gets given channel's viewable status
Parameter Type : Channel ID
Notes:
Returns 1 or 0.
--------------------------------------------------------------------------------

Posted: Fri Aug 06, 2010 6:26 pm
by r00t
Thanks, these will be useful.
Too bad DDMODAPI_SEND_DISEQC still doesn't work :roll:

OSD transparent

Posted: Tue Apr 26, 2011 9:56 am
by Lexus34
OSD transparent work is not correctly or doesn''t work ? This is developer''s bug. In big-town OSD transparent doesn''t work too. :cry:

Re: OSD transparent

Posted: Tue May 10, 2011 3:08 am
by rel
OSD transparent work is not correctly or doesn''t work ? This is developer''s bug. In big-town OSD transparent doesn''t work too. :cry:
transparency is intentionally disabled because of extensive CPU usage. Maybe in next versions it will be supported again.