IR / GSD codes bugs
Infrared and GSD codes are retrieved dynamically from sqlCVS. Currently, there are a few bugs that need fixed:
0810 Related:
- the script http://www.linuxmce.org/GetInfraredCodes.php interfaces sqlCVS and returns result sets to local installations. This script is currently pointed to the 0710 sqlCVS repo. Does anyone know where the source to this script is?
Not 0810 Related: -If you edit an IR or Ruby code in the web admin for a device that already exists in sqlcvs, all other records will be removed for that device in pluto_main:InfraredGroup_Command, breaking the device.
-the FK_DeviceTemplate field in pluto_main:InfraredGroup_Command seems to always get set to null. This does not seem right and needs investigated
-in utils.inc.php, function GetIRCodesForDevice() - this function duplicates the efforts of WebDB_GetIR.sh and WebDV_Get.sh. This code should be commented out and directly call the .sh scripts instead to ensure that they operate the same and to make future enhancements less error prone.
If fixed correctly - local IR codes should be able to be edited locally to fine tune operation. Note that the bugs don't exist for newly created codes for devices that are not currently in sqlCVS.