diff --git a/bin/tag-reader-dummy b/bin/tag-reader-dummy index 3462cb8..9727933 100755 --- a/bin/tag-reader-dummy +++ b/bin/tag-reader-dummy @@ -10,6 +10,12 @@ var html = ` @@ -18,9 +24,11 @@ var html = `

tag-reader-dummy

+ OK Then.mp3
+ Brazil Theme.mp3
@@ -30,6 +38,14 @@ var html = `
+
+
+ +
+
+ +
+
diff --git a/player.js b/player.js index b26365a..c643aa3 100644 --- a/player.js +++ b/player.js @@ -54,6 +54,10 @@ process.on('exit', exitHandler.bind(null)); process.on('SIGINT', exitHandler.bind(null, {exit:true})); TagReader.on('message', tag => { + if (tag == 'E1' || tag == 'E2') { + logger.debug("tagreader had rfid read error", { tag: tag }); + return; + } logger.debug("got tag from tagreader", { tag: tag }); MediaLibrary.find(tag); });