Syntax errors in lircd config files


#1

Some of the lircd config files shipped with OSMC have an error in the name line (the “name” of the remote).

No whitespace is allowed in the text after the keyword, and if there is, that whitespace and everything after it is ignored. This is generally harmless, except for files with multiple remotes defined, where the whitespace results in the name of two remotes being identical.

The four files with this error are:

atilibusb-lircd.conf
ttusbir-lircd.conf
samsung-lircd.conf
rc6-mce-lircd.conf

#2

Thanks for the report.
I’ll fix this shortly

Sam


#3

BTW, I wasn’t hunting for bugs…my custom config file threw a warning in the log, and I couldn’t figure it out until I read the docs in detail. Since I had started with a file that somebody had posted to the lircd site and didn’t change that line, I got to wondering if other ones had the same error.