summaryrefslogtreecommitdiff
path: root/decoders/ir_irmp/irmp_library.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/ir_irmp/irmp_library.py')
-rw-r--r--decoders/ir_irmp/irmp_library.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/decoders/ir_irmp/irmp_library.py b/decoders/ir_irmp/irmp_library.py
index 22a74b0..d542a1d 100644
--- a/decoders/ir_irmp/irmp_library.py
+++ b/decoders/ir_irmp/irmp_library.py
@@ -41,6 +41,7 @@ class IrmpLibrary:
]
FLAG_REPETITION = 1 << 0
+ FLAG_RELEASE = 1 << 1
def _library_filename(self):
'''
@@ -103,6 +104,7 @@ class IrmpLibrary:
'address': self._data.address,
'command': self._data.command,
'repeat': bool(self._data.flags & self.FLAG_REPETITION),
+ 'release': bool(self._data.flags & self.FLAG_RELEASE),
'start': self._data.start_sample,
'end': self._data.end_sample,
}