Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "failed to find recorded entry for 0" warnings.
Add a couple of checks to the data flow when updating a ProgramInfo data structure. First, before sending a notification that a ProgramInfo has changed ensure that the data structure actually represents a recording (not a video, DVD, Bluray, or stream). Second, when receiving a MASTER_UPDATE_REC_INFO message verify that the recording id number isn't zero. Fixes #483. (cherry picked from commit ecac941)
- Loading branch information
1 parent
badcce2
commit 7acf407
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The issue fixed in this commit, a MASTER_UPDATE_REC_INFO sent without a recordedid value, would not have been caught if there was no error message given.
To catch similar errors in the future I suggest to add an error message if there is no recordedid present.