Easy BlindScan Integration with DVBDream

Module API help / support section for programmers.

Moderators: Dreamer, FredB, X05

Easy BlindScan integration with DVBDream .. you like the idea?

Yes
11
100%
No
0
No votes
 
Total votes: 11
User avatar
Cjcr
Just popping in
Posts: 9
Joined: Wed Apr 07, 2010 9:52 am

Easy BlindScan Integration with DVBDream

Postby Cjcr » Tue Oct 04, 2011 1:41 pm

Hi @rel

I will like to integrate DVBDream with my software, Easy BlindScan. Actually the integration with VLC/TSReader is partially ok, but, I like to integrate also with DVBDream... ok, here is the idea:

I send command line arguments, with SatID (0192), frec, pol, sr, mod, fec and also a BDA device name if is needed..

When this happens, dvbdream do a scan of this frequency in the background and create a special channel list for this purposes (blindscan)...

if in the channel list only appear one channel, reproduce it by default.

Best regards,
cjcr. :)

TeVii S470, TeVii S660, Prof 7500, TBS6980, TwinHan BlueCard 1020, AverMedia007 DVB-T... and more...

- System: P4 3Ghz, ATI HD4670, 1TB HDD, 2GB Ram. Windows 7 RTM x64 / Ubuntu 9.10.
User avatar
rel
relocation
Posts: 2051
Joined: Fri Jun 16, 2006 9:50 am

Postby rel » Wed Oct 05, 2011 4:41 am

Hi,

Command line arguments will be added to start scan from command line in the next DD version v1.6, it will take time, but the way you suggested. :-)


For now, I can suggest, sending a window message to start the scan on DD, if you would like.

Here is how you can do this, you can test this as I am not sure if it will help or not. This will need DD to be started already.

#define WM_MODULE_MSG WM_USER + 321

#include "moduleapi.h"

TSetTunerParams stp;
stp.wSatPos = 0130;
stp.tpi.dwSize = sizeof(stp.tpi);
stp.tpi.dwFreq = 11766000;
stp.tpi.dwSr = 27500000;
stp.tpi.pol = POL_VERTICAL;
stp.tpi.dwModulation = MOD_DVBS_QPSK;
stp.tpi.dwFec = FEC_AUTO;

SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_TUNE_DIALOG2, (LPARAM)&stp);

// needs DD v1.5g


--------------------------------------------------------------------------------
DDMODAPI_TUNE_DIALOG
Decsription : Opens up the manual scan dialog with the given TP parameters
Parameter Type : PSetTunerParams structure
--------------------------------------------------------------------------------
DDMODAPI_TUNE_DIALOG2
Decsription : Opens up the manual scan dialog and starts the scan
with the given TP parameters
Parameter Type : PSetTunerParams structure
--------------------------------------------------------------------------------


Download the SDK to get the latest header files
http://www.dvbdream.org/moduleapi.php
DVB Dream - because I have to dream about having time to code it
Snuffer
love DVB Dream!
Posts: 121
Joined: Fri Jun 16, 2006 9:44 pm

Postby Snuffer » Wed Oct 05, 2011 10:53 am

Yea great idea.
alexi
Just can't stay away
Posts: 31
Joined: Mon Jul 26, 2010 9:55 am

Re: Easy BlindScan Integration with DVBDream

Postby alexi » Thu Oct 27, 2011 9:31 am

Hi,

good idea.

Does DVBDream support Auto Symbol Rate?
Decoder Chip VP310 in Skystar 2 rev 2.3 supports Auto Symbol Rate.

Let me know if I can help you. I prefer programming in pascal.
Alexi

Skystar 2 eXpress HD, LogiLink VG0022A, Athlon XP

Return to “Module / Plugin Programming”

Who is online

Users browsing this forum: No registered users and 1 guest