Jump to content

EPG data lost after BSOD


jirim100

Recommended Posts

Hello,

 

the EPG data is initially only stored internally. Unfortunately, they are only saved in the EPG.dat file when the DVBViewer is closed. It should be the same with the DMS. There is no option to save the EPG to the file during operation using a menu command.

 

You are also affected by the loss of the EPG data loaded during operation if 'only' the DVBViewer crashes and not the entire computer.

 

 

Many greetings

 

Webturtle

 

Edited by Webturtle
Link to comment

Additional info regarding this BSOD: Going PC to hibernate mode was initiated by DMS, not by user. 

Maybe DMS should be flush all buffers for whole disk volume before going to hibernate ??:

// "\\.\X:" -> to open the volume
char szVolumeAccessPath[] = "\\\\.\\X:";
szVolumeAccessPath[4] = DriveLetter;

HANDLE hVolWrite = CreateFile(szVolumeAccessPath,
                              GENERIC_READ | GENERIC_WRITE,
                              FILE_SHARE_READ | FILE_SHARE_WRITE,
                              NULL, OPEN_EXISTING, 0, NULL);
if ( hVolWrite != INVALID_HANDLE_VALUE ) {
  FlushFileBuffers(hVolWrite);
  CloseHandle(hVolWrite);
}

 

Link to comment

Save DMS the EPG to file at PBT_APMSUSPEND notification (this should not do)? 

 

DMS should save the EPG to file at these events?:

- When is imported external EPG by DMS api.

- Every 🤔 30 minutes (may be configured?).

- When DMS stop.

- Before showing this dialog (this dialog is showed before entering to hibernate or sleep mode or before shutdown of PC):

image.png.71fc5cda62b6818d35200cb4e47a5d21.png

 

 

Sorry Griga, I just want to inspire you.

Edited by jirim100
  • Like 1
Link to comment

Hello,

 

Since I've experienced the loss of newly loaded EPG data once in a while when DVBViewer Pro gets stuck, I can only agree with jirim100! :thumbsup:

 

And I'd like to suggest a comparable solution for DVBViewer Pro too.

 

 

Many greetings

 

Webturtle

Edited by Webturtle
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...