[vdr] [bug vdr-1.3.33] "Error while accessing recording" after
udo_richter at gmx.de
Wed Sep 28 03:41:54 CEST 2005
I've tracked down a nasty "Error while accessing recording!" / "Fehler
beim Ansprechen der Aufzeichnung!" OSD message, occurring sometimes when
deleting recordings in sub folders. This only occurs if the deleted file
was the first one that was added to that sub folder - and maybe some
Thats what imho happens:
-The file gets removed from OSD menu, Recordings list and disk.
-cMenuRecordings::ProcessKey(kNone) triggers a Set() update of the
-After that, ProcessKey(kNone) of the main recordings menu triggers a
second Set() for the main recordings menu.
-The second Set() call tries to remember the currently selected menu
entry (the currently open sub-menu) by calling GetRecording() for it.
-GetRecording tries to find the matching recording by comparing file names.
-Folders use the file name of one of their recordings as dummy, and, by
bad luck, this one is the one that was just deleted.
-GetRecordings fails and throws the error.
Something similar should happen if the currently selected menu item gets
externally deleted, but thats less likely.
More information about the vdr