I discovered a bug in the IRBlaster plugin that occurs with 64-bit
versions of Perl when the remote codes are >32-bit codes.  

I was trying to get IRBlaster to work with my SB Touch with LMS running
on a RPi3 with Stretch. I could not get the IR transmitter to operate
the receiver.

After some digging around I discovered this bug in IRBlaster/Plugin.pm,
which occurs in some code that was apparently intended to fix an earlier
bug with >32-bit codes for 32-bit versions of Perl. It turns out that if
integers are 64-bits, and the total length of the code string (pre-data
plus code plus post-data) exceeds 32 bits, the code will be improperly
formatted.

I have a fix, attached.

-Alan


+-------------------------------------------------------------------+
|Filename: patch.txt                                                |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24438|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
ALDavis's Profile: http://forums.slimdevices.com/member.php?userid=67726
View this thread: http://forums.slimdevices.com/showthread.php?t=108625

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to