From: erik Date: Mon, 4 Feb 2008 22:11:16 +0000 (+0000) Subject: (no commit message) X-Git-Tag: MYTHTV_EAR_NO_MSG_LINKING~11 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=c26786cd41376f29d1f391644f77f27a9b197245;p=utils --- diff --git a/mythtv/monitor/src/main/java/org/wamblee/mythtv/LinkStructure.java b/mythtv/monitor/src/main/java/org/wamblee/mythtv/LinkStructure.java index 48672337..ced5ae11 100644 --- a/mythtv/monitor/src/main/java/org/wamblee/mythtv/LinkStructure.java +++ b/mythtv/monitor/src/main/java/org/wamblee/mythtv/LinkStructure.java @@ -100,6 +100,10 @@ public class LinkStructure implements Listener { public void fileCreated(File aFile) { LOG.debug("file created " + aFile); Recording recording = _database.findRecording(aFile.getName()); + if ( recording == null ) { + LOG.warn("Spurious recording which should not exist according to mythtv: " + aFile); + return; + } _recordings.put(aFile, recording); LOG.info("New recording detected " + aFile + " " + recording);