Configuration by script

RELEASE NOTE

2018-03-12 V1.11.17 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Change: rename
    • enableSlates106TestCard() by enableSlate106TestCard()
    • disableSlates106TestCard() by disableSlate106TestCard()
    • setSlates106Pincode(1234) by - setSlate106Pincode(1234)
    • disableSlates106Pincode() by disableSlate106Pincode()
COMPATIBILITIES
  • Gekkota V3.12.26 (or above)
  • Gekkota V4.10.10 beta195 (or above)
  • Screen Composer 3.20.13 (or above)
  • PlugnCast 3.10.39 (or above)

INFORMATION


DOCUMENTATION

  • Configuration by script user guide (006A/EN) Download
  • Configuration by script user guide (006A/FR) Download
  • GPIO application note (004A/EN) Download
  • GPIO application note (004A/FR) Download

NOTE FOR COLOR AJUSTMENT

  • Using wrongly the function setColorAdjustment may result in black screen displayed forever (example when opacity max = 60 and opacity = 90)

INSTALLATION ERROR MESSAGE DISPLAYED WHEN INJECTING SCRIPT JS

  • An installation error is raised when an function activated in the configuration-by-script is not supported in the WebUI or when a syntax error has been inserted in the JavaScript file by the user. You can check out the JavaScript line error in device status.xml
  • The function setHostname() is not supported with Gekkota RT

OLD VERSIONS HISTORY


2018-02-20 V1.11.16 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for a new functions
    • enableTestCard()
    • disableTestCard()
    • enableSlates106TestCard()
    • disableSlates106TestCard()
    • setSlates106Pincode(1234)
    • disableSlates106Pincode();
    • setHubSrvConfiguration(slateConfiguration)
  • Modify
    • setAudioOutput()
      • Add test of SMA300 device
    • setJackGPIO()
      • Add test of SMA300 device

2017-11-09 V1.11.15 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for a new function
    • setHttpAdaptiveStreamingMaxBitrate(n)

2017-08-30 V1.11.14 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Delete obsolete code line

2017-08-11 V1.11.13 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for new video decoder settings functions
    • setDecodingGroupIsEnable(true); // ---- This one to authorize video multi-decoding (requires using of Screen Composer 3.12.20 or PlugnCast 3.10.39)
    • setDecodingGroupIsEnable(false); // ---- This one to authorize video mono-decoding
    • setDefaultVideoRenderer("overlay"); // default mode to support Ultra HD and enhanced hardware interlacing filter for TNT MpegTS video
    • setDefaultVideoRenderer("gpu"); // to enhance video transition and increase number of video decoding to more than 2 videos
  • Add support for Wlan function (if Wlan supported)
    • enableWLan(wlan);
    • disableWLan(wlan);
    • enableDhcpv4(wlan); // for DHCP
    • disableDhcpv4(wlan); // for static IP address
    • setIPv4StaticAddress(wlan, "192.168.1.2", "255.255.255.0", "192.168.1.6");
    • setIgmpVersion(wlan,3); // ---- for IGMP V3
    • setIgmpVersion(wlan,2); // ---- for IGMP V2
    • setWLanModeAdhoc(wlan, "Innes", 0); // ---- one for mode Adhoc, SSID Innes, channel 0
    • setWLanModeInfra(wlan, "Innes"); // ---- for mode Infra, SSID Innes, no security
    • setWLanModeInfraWithKey(wlan, "Innes", "WEP", "9876543210"); // ---- for mode Infra, SSID Innes, security WEP with key 9876543210
    • setWLanModeInfraWithKey(wlan, "Innes", "WPA", "9876543210"); // ---- for mode Infra, SSID Innes, security WPA with key 9876543210
    • setWLanModeInfraWithKey(wlan, "Innes", "WPA2", "9876543210"); // ---- for mode Infra, SSID Innes, security WPA2 with key 9876543210

2017-06-06 V1.11.12 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for new PTP functions
    • setClockSyncEnablePtpLayer2();
    • setClockSyncSetPtpDomain(0);
    • setClockSyncSetPtpTimeout(30);

2017-03-01 V1.11.11 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Fix: SetDns was not working for Gekkota RT

2017-02-27 V1.11.10 Download

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for GPIO management
  • Add support for new functions
    • Set Identification method
      • setIdMethod("MAC");
      • setIdMethod("Hostname");
      • setIdMethod("UUID");
    • Set DNS suffix
      • setDns(lan, "192.168.0.1", "192.168.0.1","dns_suffix");
    • Set Gekkota license
      • setlicense("00000-0000-0000-0000-00000");
    • Set variable field1, field2, field3, field4, field5
      • Services.prefs.setCharPref("innes.player.device-info.field1", "string1");
      • Services.prefs.setCharPref("innes.player.device-info.field1", "string2");
      • Services.prefs.setCharPref("innes.player.device-info.field1", "string3");
      • Services.prefs.setCharPref("innes.player.device-info.field1", "string4");
      • Services.prefs.setCharPref("innes.player.device-info.field1", "string5");
  • Change functions
    • Set Proxy mode
      • setProxyType(0);
      • setProxyType(1);
      • setProxyType(2);
    • Set audio volume function to support Gekkota 4.10.X
      • setAudioVolume
    • Set audio output function to support Gekkota 4.10.X
      • setAudioOutput
    • Disable audio function to support Gekkota 4.10.X
      • setAudioIsDisable
    • Activate NTP function to support Gekkota 4.10.X
      • setNtpIsEnable
    • Set NTS Settings function to support Gekkota 4.10.X
      • setNtpSettings
    • Inactivate player synchronization function to support Gekkota 4.10.X
      • setClockSyncDisable
    • Activate NTP for player synchronization function to support Gekkota 4.10.X
      • setClockSyncEnableNtp
    • Set colour ajustment function to support Gekkota 4.10.X
      • setColorAdjustment
  • Add support for GPIO read/write for Phoenix and GPIO

2016-08-09 V1.10.21 Download

IMPORTANT
  • After having copy-pasted the certificate in the script js, don't forget to add /n/ behind each line of the certificate (except for the last line, as described in the file), else a script installation error will be raised
BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add support for certificate adding

2016-05-27 V1.10.20

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Set connector for audio output (for SMA300 only)
    • setAudioOutput
      • JACK35
      • HDMI

2016-01-11 V1.10.19

BUG FIX, NEW FEATURES, MINOR UPDATES
  • NTP
    • setClockSyncEnableNtp
      • enables the clock synchronization with a NTP server
        • NTP need to be configured properly first
    • setClockSyncDisable
      • disables the clock synchronization of the player
  • Set color adjusment over HDMI
    • setColorAdjustment
      • player HDMI display index
      • brightness
      • brightness max
      • contrast
      • contrast max
      • opacity
      • opacity max
      • gamma
      • gamma max
      • color temperature
      • grey filter inactivate/activate
      • grey filter ITURBT
        • "BT.601-7"
        • "BT.709-6"
  • AVcmd
    • AvCmdGetProfile
      • uart
      • tcp/ip
    • AvCmdInstallProtocol
      • TVDeviceName
      • TVDeviceProtocol
    • AvCmdActivateProfile
      • uart
      • tcp/ip
    • Note: add custom protocol example (TVDeviceName, TVDeviceProtocol)

2016-01-06 V1.10.18

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add functions
    • setStatusServer (and disableStatusServer)
      • permits to set WebUI server parameters for software and configuration file http download
    • setAddonServer (and disableAddonServer)
      • permits to set WebUI server parameters for device status http download

2015-06-30 V1.10.17

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Change new logger API to match Gekkota 3.12.20 (and above)

2015-03-03 V1.10.16

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add function
    • setOverscan

2014-11-11 V1.10.15

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Update documentation (002A)
  • Add english version

2014-01-11 V1.10.14

BUG FIX, NEW FEATURES, MINOR UPDATES
  • Add hostname
  • Add functions linked to
    • audio
    • proxy