LIRC libraries
Linux Infrared Remote Control
|
Reflects the *.yaml files in the configs/ directory. More...
Public Member Functions | |
__init__ (self, path=None, yamlpath=None) | |
kernel_drivers (self) | |
The kernel-drivers dictionary, drivers.yaml + kernel-drivers.yaml. | |
drivers (self) | |
The drivers dictionary, drivers.yaml + kernel-drivers.yaml. | |
configs (self) | |
Return dict of parsed config/*.conf files, keyd by id. | |
remotes_by_driver (self, driver) | |
Return the list of remotes suggested for a given driver. | |
lircmd_by_driver (self, driver) | |
Return list of lircmd.conf file for given driver or None. | |
driver_by_remote (self, remote) | |
Return the driver (possibly None) suggested for a remote. | |
find_config (self, key, value) | |
Return item (a config) in configs where config[key] == value. |
Public Attributes | |
db = db |
Reflects the *.yaml files in the configs/ directory.
Definition at line 126 of file database.py.
lirc.database.Database.__init__ | ( | self, | |
path = None, | |||
yamlpath = None ) |
Definition at line 128 of file database.py.
lirc.database.Database.configs | ( | self | ) |
Return dict of parsed config/*.conf files, keyd by id.
Definition at line 190 of file database.py.
lirc.database.Database.driver_by_remote | ( | self, | |
remote ) |
Return the driver (possibly None) suggested for a remote.
Definition at line 212 of file database.py.
lirc.database.Database.drivers | ( | self | ) |
The drivers dictionary, drivers.yaml + kernel-drivers.yaml.
Definition at line 185 of file database.py.
lirc.database.Database.find_config | ( | self, | |
key, | |||
value ) |
Return item (a config) in configs where config[key] == value.
Definition at line 219 of file database.py.
lirc.database.Database.kernel_drivers | ( | self | ) |
The kernel-drivers dictionary, drivers.yaml + kernel-drivers.yaml.
Definition at line 180 of file database.py.
lirc.database.Database.lircmd_by_driver | ( | self, | |
driver ) |
Return list of lircmd.conf file for given driver or None.
Definition at line 203 of file database.py.
lirc.database.Database.remotes_by_driver | ( | self, | |
driver ) |
Return the list of remotes suggested for a given driver.
Definition at line 194 of file database.py.
lirc.database.Database.db = db |
Definition at line 175 of file database.py.