Nebula Direct Home Page

DigiTV 3rd Party Developers

Quick Jump:

Developers Main Page
Windows Messages list


LinuxTV.org


Please Note:

Although every effort has been made to ensure that this information is correct, it is supplied WITHOUT WARRANTY. No guarantee of fitness for use or merchantability is implied or should be inferred.

DigiTV Shared Memory Data

From DigiTV application v3.509 support has been included for additional shared memory data transfer to an external application.

To access this data from your application you should declare a structure identical to the one below (the following code is in the C programming language):

// ------------------------------------------------------------------------------------------------
// ---- shared_mem - DigiTV v3.7.00

typedef struct
{
  int               Channel_No;                 // Currently tuned channel number
  int               State;                      // DigiTV State

  char              Channel_Name    [256];      // Current channel name
  char              Now_Name        [256];      // Current Programme name 
  char              Nxt_Name        [256];      // Next Programme name
  char              Now_Desc        [512];      // Current Programme description
  char              Nxt_Desc        [512];      // Next Programme description

  SYSTEMTIME        Now_Start;                  // Current Programme start time
  SYSTEMTIME        Nxt_Start;                  // Next Programme start time
  SYSTEMTIME        Now_Length;                 // Current Programme Length
  SYSTEMTIME        Nxt_Length;                 // Next Programme Length

  bool              Is_Tuning;                  // True if DigiTV is currently auto-tuning
  bool              Flag_16_9;                  // True if DigiTV is currently displaying in 16:9 format
  bool              Signal_Locked;              // True if a Digital station is tuned
  bool              Encrypted;                  // True if the digital station content is encrypted
  bool              Muted;                      // True if the audio is muted
  bool              No_Video_Audio;             // True if there is no Video and no Audio stream present
  bool              In_Systray;                 // True if the DigiTV application is residing in the system tray

  char              Instance_Desc   [256];      // Text describing the current instance's activity
} shared_mem;
            
The 'State' variable describes the current running state of DigiTV and can take any of the following values:

// ------------------------------------------------------------------------------------------------
// ---- Current viewing states

#define ACTN_PAUSED             1                   // Playback or Live TV paused
#define ACTN_STOPPED            2                   // Normal Live viewing
#define ACTN_PLAYING            3                   // Play
#define ACTN_RMTPLAY            4                   // Play (from remote)
#define ACTN_RECORDING          5                   // OTR Recording
#define ACTN_RW                 6                   // Rewind
#define ACTN_FB                 7                   // Fast Back
#define ACTN_SB                 8                   // Slow Back
#define ACTN_SF                 9                   // Slow Forward
#define ACTN_SS                 10                  // Single Step
#define ACTN_FF                 11                  // Fast Forward
#define ACTN_TIMER_REC          12                  // Timer-based recording
#define ACTN_REC_PAUSED         13                  // Pause OTR Recording
#define ACTN_TMR_PAUSED         14                  // Pause Timer Recording
            
Then you can open up the Shared memory (named "DigiTV_Data") using the code below to gain read access to the data in the structure within, eg:







Nebula Electronics digital television for PCs, Streaming TV and Radio over your LAN (Local Area Network), High Definition (H264 and MPEG2) TV via your PC, Freeview TV via your PC TopupTV compatible Digital TV decoder, Analogue video/audio capture and Digital TV decoder, DigiTV - Digital TV via your PC, DigiTV PCI card and USB (2.0) versions available, Buy DigiTV directly from via our secure online shop, DigiTV - Remote Control included
Copyright | Disclaimer | Privacy/Data Protection Policy | Terms of Sale