Lua:Neutrino-API: Unterschied zwischen den Versionen

Aus TuxBoxWIKI
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
 
(Zusammengefasst)
 
(17 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Category:Neutrino-HD]]
[[Category:Neutrino-HD]]
[[Category:Lua:en]]
[[Category:Lua:en]]
[[Category:Lua:de]]
[[Category:Lua:Neutrino-API:en]]
[[Category:Lua:Neutrino-API:en]]
[[Category:Lua:de]]
[[Category:Lua:Neutrino-API:de]]
[[Category:Lua:Neutrino-API:de]]
[[Category:API]]
Dokumentation der einzelnen Funktionen und Variablen, die von [[NeutrinoHD]]/MP für die Erstellung von Plugins bzw. Skripte basierend auf [[Lua]] bereitgestellt werden.
Dokumentation der einzelnen Funktionen und Variablen, die von [[NeutrinoHD]]/MP für die Erstellung von Plugins bzw. Skripte basierend auf [[Lua]] bereitgestellt werden.
{{review}}
{{review}}
Zeile 15: Zeile 17:


== Changelog ==
== Changelog ==
<br />
* <u>API Version 1.97</u> <small>(10.06.2024)</small>
** Add method to check for empty files in neutrino Lua API &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}409e21e78224283a43fa3898ea990ff4f9263902 Git]
<br />
* <u>API Version 1.96</u> <small>(23.04.2022)</small>
** lua: lua_api_version.h: update version 1.95->1.96    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}25f9d6e06e7b791a88ffe2293b52cae02318fe7a Git]
** add setValue() for menu forwarders
** add paintItem() for menu items
** implement kill() for cctext items
<br />
* <u>API Version 1.95</u> <small>(02.12.2021)</small>
** lua: lua_api_version.h: update version 1.94->1.95    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}8c573fd31555c89fafa258e3f287f75c469e96b2 Git]
** add methode doPaintBg(), fix missing background
<br />
* <u>API Version 1.94</u> <small>(01.11.2021)</small>
** lua: lua_api_version.h: update version 1.93->1.94    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}3e9fefa8c4283b1b8ca021887d9cbf482ea88e3f Git]
** add hint and hourglass/loader widgets
<br />
* <u>API Version 1.89</u> <small>(10.03.2021)</small>
** lua: lua_api_version.h: update version 1.88->1.89    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}50a18cf1ec38eb55f43586db21b3c592db89bafb Git]
<br />
* <u>API Version 1.88</u> <small>(09.02.2021)</small>
** lua: lua_api_version.h: update version 1.87->1.88    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}71a98d011b99a297dd6f0229f7bdb20ec99e3f68 Git]
** lua: OK Key added for lua    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}46b0d73099150dbcc603b72eb9f6e2cb2af424b3 Git]
** lua: keys play and playpause added for lua      &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}18b2c81295efc4f4be8965bd5abc50bc4f76a9b4 Git]
** lua: lua num keys added    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}13d5b3107eab21ec7add13688df85c5db739e812 Git]
<br />
* <u>API Version 1.86</u> <small>(30.09.2020)</small>
** lua: Complete list of available fonts    &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}626305cc29dbe5b3e06a4f273911f02d78dc291a Neutrino Git]
<br />
* <u>API Version 1.84</u> <small>(28.11.2019)</small>
** lua api: add function setSelected() for lua menu handler  &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}853966d89a56454051c76ce3c4dc04849f806e94 Neutrino Git]
<br />
* <u>API Version 1.83</u> <small>(03.09.2020)</small>
** movieplayer arm: add option to play separate audio file  &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}fa951c883ca7e806b6b5d67e8fee21b32f8a0d4d Neutrino Git]
<br />
* <u>API Version 1.82</u> <small>(10.09.2019)</small>
** lua_cc_text.cpp: use 'text_mode' instead 'mode' in api  &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}06e6fd5904ba69e407fb7c4df2e0b879b62e3931 Neutrino Git]
<br />
* <u>API Version 1.81</u> <small>(10.09.2019)</small>
** lua_messagbox.cpp: add parameter for text allign  &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}e74181dee038f7cbcf96ff3b51a91d43d3f78921 Neutrino Git]
<br />
* <u>API Version 1.78</u> <small>(23.10.2017)</small>
** CLuaInstCurl: Add script functions &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}9feb8efd233dbd250dbc3406e69acf7ea711c58b Neutrino Git]
*** [[Lua:Neutrino-API:encodeUri:de|encodeUri]]
*** [[Lua:Neutrino-API:decodeUri:de|decodeUri]]
*** [[Lua:Neutrino-API:setUriData:de|setUriData]]
<br />
* <u>API Version 1.77</u> <small>(23.10.2017)</small>
** CLuaInstCurl: Fix CurlDownload() to send POST data &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}100fa78952ea83d7ff3ffe1682ab6455fdf10854 Neutrino Git]
<br />
* <u>API Version 1.76</u> <small>(15.06.2017)</small>
** CCText: try to fix return value of CCTextGetLines() &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}5b12952d8b1f1f4198e7b027569831acba5fab7f Neutrino Git]
<br />
* <u>API Version 1.75</u> <small>(10.05.2017)</small>
** CCWindow: try to fix window title align parameter.
** Additional CTextBox::NO_AUTO_LINEBREAK overwrites passed parameter and has no effect, because NO_AUTO_LINEBREAK is already default. &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}27eb80eb5b51f47c792a0c7ace9b4d597ac61579 Neutrino Git]
<br />
* <u>API Version 1.74</u> <small>(09.05.2017)</small>
** CCWindow: fix passed shadow paramater &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}1f978f01ad2a14ce69097b34bd1d550523b8f9e9 Neutrino Git]
<br />
* <u>API Version 1.73</u> <small>(22.04.2017)</small>
** Add missing COL_SCROLLBAR colors &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}3669130b14c0dc4179e14ff930f31ffcd3e44863 Neutrino Git]
<br />
* <u>API Version 1.72</u> <small>(31.03.2017)</small>
** Try to implement progresswindow &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}83cfd68f8823757660d5578c401440970616f415 Neutrino Git]
<br />
* <u>API Version 1.71</u> <small>(31.03.2017)</small>
** Add alignment parameter for text in window header. Possible modes are : "DEFAULT" (left), "CENTER", "RIGHT" &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}a788eee2982d58a010e9572705de38619f699c22 Neutrino Git]
<br />
* <u>API Version 1.70</u> <small>(02.03.2017)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:Offsets:de|neutrino offsets]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}6eb1bb1ea4c6d807771a60948b716f3d20a376c6 Neutrino Git]
<br />
* <u>API Version 1.66</u> <small>(01.12.2016)</small>
** Fix [[Lua:Neutrino-API:setInfoFunc:de|setInfoFunc()]] for displaying information in the movieplayer &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}1aee964c14809a4008e5ad8ed8f26c984ec2e580 Neutrino Git]
<br />
* <u>API Version 1.65</u> <small>(10.10.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] COL_PROGRESSBAR wrappers &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}be40e67b702708b747bea5b1bd3da3a0464e3b17 Neutrino Git]
<br />
* <u>API Version 1.64</u> <small>(10.10.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] COL_SCROLLBAR_PASSIVE wrapper &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}6629b64d6c86721be09772eb33e594e25efe8dd4 Neutrino Git]
<br />
* <u>API Version 1.63</u> <small>(10.10.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] COL_SCROLLBAR_ACTIVE wrapper &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}7e7d4e5fc15611553e22cc7402de22a67223a692 Neutrino Git]
<br />
* <u>API Version 1.62</u> <small>(10.10.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] COL_FRAME wrapper &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}75fe6e407d416aa03d1f318f16f7f201c6fe030a Neutrino Git]
<br />
* <u>API Version 1.61</u> <small>(01.10.2016)</small>
** CLuaInstCCSignalbox: fix compatibility for [[Lua:Neutrino-API:signalbox:en]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}f4387ccfa7d43143c7d1866cf6239951a270865e Neutrino Git]
<br />
* <u>API Version 1.60</u> <small>(10.09.2016)</small>
** Fix segfault in messagebox.exec at 'align' and 'default' &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}24dd6a8c225dbcdf9cdc4f1272ff60ad4e44e44d Neutrino Git]
<br />
* <u>API Version 1.59</u> <small>(08.09.2016)</small>
** Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}b1ab3e229092ac9a402c40cdca8d51c15c4c1b38 Neutrino Git]
<br />
* <u>API Version 1.58</u> <small>(07.09.2016)</small>
** Add pin input for [[Lua:Neutrino-API:stringinput:de|stringinput:]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}80d1e9b6cfee78b956f3f900f19b8c15eef01828 Neutrino Git]
<br />
* <u>API Version 1.57</u> <small>(06.09.2016)</small>
** Add RC_timeout to [[Lua:Neutrino-API:EnvironmentVariables:FB_Codes:de|keyname table:]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}84dfce8018a149d173b77b4365007ccc96936be4 Neutrino Git]
<br />
* <u>API Version 1.56</u> <small>(05.09.2016)</small>
** Add stand-alone [[Lua:Neutrino-API:stringinput:de|stringinput:]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}0fa4486077296696849a9a201f5e81113ce370cb Neutrino Git]
<br />
* <u>API Version 1.55</u> <small>(05.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:exist:de|exist():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}52c489f211e1dec9f8af21a3c58c83f67ba2e720 Neutrino Git]
<br />
* <u>API Version 1.54</u> <small>(05.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:ln:de|ln():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}95a078742b48e6c99751f3039bd18f5e05b62ef4 Neutrino Git]
<br />
* <u>API Version 1.53</u> <small>(04.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:readlink:de|readlink():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}b50886faca4002682d480f9e5f62f4f712a206d2 Neutrino Git]
<br />
* <u>API Version 1.52</u> <small>(04.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:mkdir:de|mkdir():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}906e9a2156ede50f14940160d2bf4b2e6073036b Neutrino Git]
<br />
* <u>API Version 1.51</u> <small>(04.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:rmdir:de|rmdir():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}631708f3803db8cce7e24d36a952dcda8a3c9849 Neutrino Git]
<br />
* <u>API Version 1.50</u> <small>(04.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:touch:de|touch():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}ab322416dc124cf1dc51170198e9f017c131fdee Neutrino Git]
<br />
* <u>API Version 1.49</u> <small>(04.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:chmod:de|chmod():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}ab7d90de3f20a22bb5f6f7af5972304a5b67a26c Neutrino Git]
<br />
* <u>API Version 1.48</u> <small>(03.09.2016)</small>
** Add lua script function [[Lua:Neutrino-API:cp:de|cp():]] &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}270cd318ec0e32f4e2b138603bdbfc2b7c4fb206 Neutrino Git]
<br />
* <u>API Version 1.47</u> <small>(01.09.2016)</small>
** lua_menue: allow user definable return values &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}8d014c6f7685a208dbf9eb975a7a3d01e1f18b3f Neutrino Git]
<br />
* <u>API Version 1.46</u> <small>(21.08.2016)</small>
** Add [[Lua:Neutrino-API:cpicture:de#setDimensionsAll|cpicture:]] setDimensionsAll option &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}5c26de095c29ce2e44243f196e8eac6b8b1b50eb Neutrino Git]
<br />
* <u>API Version 1.45</u> <small>(21.08.2016)</small>
** Add [[Lua:Neutrino-API:cpicture:de#getHeight|cpicture:]] getHeight/getWidth option &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}d5051a100fbc738f344749d30c51a47b6eb551df Neutrino Git]
<br />
* <u>API Version 1.44</u> <small>(20.08.2016)</small>
** [[Lua:Neutrino-API:cwindow:de|cc_window:]] dont paint over screen size &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}912017621ba3c0a753514fd6c69ea1f3377e8af5 Neutrino Git]
<br />
* <u>API Version 1.43</u> <small>(20.08.2016)</small>
** [[Lua:Neutrino-API:ctext:de|cc_text:]] if dx and dy is not set and text have parent use Height...&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}a648daba757c9d9b27a23269ecc3881ac5a2ec62 Neutrino Git]
** [[Lua:Neutrino-API:ctext:de|cc_text:]] Ergänzung 1&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}27ddf8935d36ff8a73ee9ac7aa24d41e53c31921 Neutrino Git]
** [[Lua:Neutrino-API:ctext:de|cc_text:]] Ergänzung 2&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}c37ef21912e77cf5673642c6fabfe46556541d2b Neutrino Git]
<br />
* <u>API Version 1.42</u> <small>(15.08.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] SHADOW_PLUS_0 &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}a9446a084a97d69ad5ad33f300ba5e949dc0adc1 Neutrino Git]
<br />
* <u>API Version 1.41</u> <small>(15.08.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino colors]] MENUFOOT & MENUFOOT_PLUS_0 &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}cc5258e6d5f6f74abea3015c9a14a720f5fa5405 Neutrino Git]
<br />
* <u>API Version 1.40</u> <small>(14.08.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] MENUFOOT_TEXT &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}bc39d1e14e34f462336c2e61d05968f3e43baa77 Neutrino Git]
** Set neutrino colors INFOBAR_SHADOW & INFOBAR_SHADOW_TEXT to obsolete
<br />
* <u>API Version 1.39</u> <small>(22.01.2016)</small>
** Add [[Lua:Neutrino-API:getTimeOfDay:de|getTimeOfDay()]] script function&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}cb7895d981d4d394c604da0fe755edfe31c9f007 Neutrino Git]
<br />
<br />
* <u>API Version 1.38</u> <small>(22.01.2016)</small>
** Add some CComponentsHeader functions&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}8a61c3bfcd1235ff4585a894956d29763a20660e Neutrino Git]
<br />
* <u>API Version 1.36</u> <small>(17.01.2016)</small>
** Add script function [[Lua:Neutrino-API:setInfoFunc:de|setInfoFunc()]] for displaying information in the movieplayer&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}644ab188442ac3aef93a5127f6fb98a9205a42ff Neutrino Git]
<br />
* <u>API Version 1.35</u> <small>(22.12.2015)</small>
** Add multiple script functions for mute icon & volume&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}6f939800b6823df15660efcde576edf8e2a8c5bc Neutrino Git]
<br />
* <u>API Version 1.34</u> <small>(22.12.2015)</small>
** Add linux pthread support&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}ee73678d8fab74285c05d014c319667515a3e229 Neutrino Git]
<br />
* <u>API Version 1.33</u> <small>(15.12.2015)</small>
** Add [[Lua:Neutrino-API:postMsg:de|postMsg()]] to send a neutrino message&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}37e8c328c516fb8c378c3b6b7764fabbe65e59af Neutrino Git]
<br />
* <u>API Version 1.32</u> <small>(15.12.2015)</small>
** Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin when tv/radio button are pressed on remote control&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}e4de37f1bba3bbdf5d0050d683c24226839f1a62 Neutrino Git]
<br />
* <u>API Version 1.31</u> <small>(15.12.2015)</small>
** CurlDownload: Rework progress display&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}c5bcbf490c65e3f6c3395fb5f3025209820551e0 Neutrino Git]
<br />
* <u>API Version 1.30</u> <small>(14.12.2015)</small>
** [[Lua:Neutrino-API:ctext:de#scroll|ctext.scroll]] Add Parameter 'pages'&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}e3fdcaec99d10bc0eb6f414ba3012999e3267197 Neutrino Git]
<br />
* <u>API Version 1.29</u> <small>(14.12.2015)</small>
** Add [[Lua:Neutrino-API:setSinglePlay:de|setSinglePlay()]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}ed26f2ea05a5151bbfe92e1f84748abd9edef5ce Neutrino Git]
<br />
* <u>API Version 1.28</u> <small>(14.12.2015)</small>
** Add [[Lua:Neutrino-API:getNeutrinoMode:de|getNeutrinoMode()]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}473af7b2eab2f1261e37e47d5c14af4e3b02dc61 Neutrino Git]
<br />
* <u>API Version 1.27</u> <small>(14.12.2015)</small>
** [[Lua:Neutrino-API:configfile:de|CLuaInstConfigFile]]: Add parameters & functions&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}30ebe003f43c7ce845d0ca00c2937657009c2ac2 Neutrino Git]
<br />
* <u>API Version 1.26</u> <small>(13.12.2015)</small>
** lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}5a7de075a2e13eacf3bcd200bc18e5f3c0eba037 Neutrino Git]
<br />
* <u>API Version 1.25</u> <small>(13.12.2015)</small>
** CLuaMenuFilebrowser: Fix value handling [[Lua:Neutrino-API:addItem:de|(addItem)]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}5259e80b1c760032fd6b5f6a573a4d961df3bbad Neutrino Git]
<br />
* <u>API Version 1.24</u> <small>(13.12.2015)</small>
** Add class for using lib[[Lua:Neutrino-API:curl:de|curl]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}4f9158c2a92c00a3c28dc3dba2a0b263eed7cb85 Neutrino Git]
<br />
* <u>API Version 1.23</u> <small>(12.12.2015)</small>
** Use CLuaVideo for video, CLuaMisc for misc functions&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}83176835e349372fac2f485330218265889aa74f Neutrino Git]
<br />
* <u>API Version 1.22</u> <small>(08.12.2015)</small>
** [[Lua:Neutrino-API:GetRevision:de|GetRevision]]: Add second return value as a string for hardware identifications&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}d06594dd605a218cc0bc13ae4404c7bb704aa429 Neutrino Git]
<br />
* <u>API Version 1.21</u> <small>(08.12.2015)</small>
** Add script function [[Lua:Neutrino-API:channelRezap:de|channelRezap]], alternative rezap method for movie plugins&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}b9afbb1e2ca51cddea539c7c4ed77dc0c357f371 Neutrino Git]
<br />
* <u>API Version 1.19</u> <small>(08.12.2015)</small>
** Add script function [[Lua:Neutrino-API:zapitStopPlayBack:de|zapitStopPlayBack]] for safe running ShowPicture() in the plugin&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}0a008ab308435c8be2304c0c68c29d6cb0ca8204 Neutrino Git]
<br />
* <u>API Version 1.18</u> <small>(08.12.2015)</small>
** The first call to Lua::PlayFile() block restoreNeutrino. Running restoreNeutrino when exiting the plugin and function is blocked&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}ffea6559c97f14d2619d2c0a56053f4e3e0410d0 Neutrino Git]
<br />
* <u>API Version 1.17</u> <small>(08.12.2015)</small>
** Remove unnecessary function zapitSetStandby() (API v1.7)&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}d0cbf0985ed3d514a4f2f2a00f5376fdc82d8b19 Neutrino Git]
<br />
* <u>API Version 1.16</u> <small>(27.11.2015)</small>
** [[Lua:Neutrino-API:paintVLine:de|Add paintVLine()/paintHLine()]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}482cf41adfd3d724606d06853e82938eb8f40be8 Neutrino Git]
<br />
* <u>API Version 1.15</u> <small>(27.11.2015)</small>
** [[Lua:Neutrino-API:cpicture:de|CPictureNew: Add 'NO_SCALE' modus for icons]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}573eb7f7ad61c1a6dfd2a4d8ff7a0d899ffe0a54 Neutrino Git]
<br />
* <u>API Version 1.14</u> <small>(27.11.2015)</small>
** [[Lua:Neutrino-API:saveScreen:de|Add saveScreen()/restoreScreen()]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}550cfc853d2335771751673fbe9f23248ad04bba Neutrino Git]
<br />
* <u>API Version 1.13</u> <small>(27.11.2015)</small>
** [[Lua:Neutrino-API:DynFonts:de|Add DynFonts]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}a307e806eb97ec35c28c57f46f85009f49427d1b Neutrino Git]
<br />
* <u>API Version 1.12</u> <small>(23.11.2015)</small>
** [[Lua:Neutrino-API:GetRevision:de|GetRevision()]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}7caf055ea05aa3a243b05787ec1b3db8684517e4 Neutrino Git]
<br />
* <u>API Version 1.11</u> <small>(23.11.2015)</small>
** Fix transfer of color values in PaintBox() and RenderString() for coolstream hardware&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}45569a736ab9cb98f240281ece41d0a290753565 Neutrino Git]
<br />
* <u>API Version 1.10</u> <small>(16.11.2015)</small>
** [[Lua:Neutrino-API:EnvironmentVariables:CComponents:de|Add constants from CComponents as CC.xxx]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}755e4d965c3e400f9b0762f3fa6363f3a933ecc8 Neutrino Git]
<br />
* <u>API Version 1.9</u> <small>(14.11.2015)</small>
** [[Lua:Neutrino-API:EnvironmentVariables:ScreenPosition:de|Screen Konstanten: X_RES & Y_RES]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}24881e4228a97be506bc9f83c7d28ee3396b6d0a Neutrino Git]
<br />
* <u>API Version 1.8</u> <small>(14.11.2015)</small>
** [[Lua:Neutrino-API:enableInfoClock:de|enableInfoClock]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}d5031496d0330c3bfee93c327695653bb08ae6a0 Neutrino Git]
<br />
* <u>API Version 1.7</u> <small>(14.11.2015)</small>
** [[Lua:Neutrino-API:zapitSetStandby:de|zapitSetStandby]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}6f66e21940eb2dae87916ce0d0dd803de6303d6e Neutrino Git]
<br />
* <u>API Version 1.6</u> <small>(28.10.2015)</small>
** [[Lua:Neutrino-API:createChannelIDfromUrl:de|createChannelIDfromUrl]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}77a2b389bd6b5f4ad9a43183e7f8a075c13516c7 Neutrino Git]
<br />
* <u>API Version 1.5</u> <small>(19.09.2015)</small>
** Fix copy/paste error in <i>Add error message for menu callback funktions</i> (API v1.3)&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}cf4beae8921920a5905e429e6fefd7f11a75349a Neutrino Git]
<br />
* <u>API Version 1.4</u> <small>(17.09.2015)</small>
** [[Lua:Neutrino-API:checkVersion:de|checkVersion]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}1e76cac3bad4083af7fc3acd62eef27a5b9d786b Neutrino Git]
<br />
* <u>API Version 1.3</u> <small>(17.09.2015)</small>
** Add error message for menu callback funktions&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}e86306b8ec349e367995a468e4d5419ac3c6b586 Neutrino Git]
** Simplified error message handler&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}7a1fed715f1ce686721c76f071bc5b5709cb0a23 Neutrino Git]
<br />
* <u>API Version 1.2</u> <small>(14.09.2015)</small>
** [[Lua:Neutrino-API:setActive:de|setActive]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}39d10e03df3290d60031a6aedf4b53eb5a04e216 Neutrino Git]
** [[Lua:Neutrino-API:addItem:de|addItem]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}e0bfbfe9e333e7fc8fb78991fdedffa7252d2d95 Neutrino Git]
<br />
* <u>API Version 1.1</u> <small>(04.09.2015)</small>
** [[Lua:Neutrino-API:PlayFile:de|PlayFile]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}b56be92d59b2b35719dd70c5a68482b0e151f568 Neutrino Git]
<br />
* <u>API Version 1.0</u> <small>(04.09.2015)</small>
** [[Lua:Neutrino-API:checkVersion:de|checkVersion]]&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}00dff2c5985261b19cc54b2850f776b136b0f6af Neutrino Git]
<br />
* <u>API Version 1.65</u> <small>(10.10.2016)</small>
* <u>API Version 1.65</u> <small>(10.10.2016)</small>
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] COL_PROGRESSBAR wrappers &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}be40e67b702708b747bea5b1bd3da3a0464e3b17 Neutrino Git]
** Add [[Lua:Neutrino-API:EnvironmentVariables:GUIColors:de|neutrino color]] COL_PROGRESSBAR wrappers &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;[{{Vorlage:Lua_API_NEUTRINO_GIT}}be40e67b702708b747bea5b1bd3da3a0464e3b17 Neutrino Git]
Zeile 215: Zeile 491:


= Sourcecode =
= Sourcecode =
* [http://git.coolstreamtech.de/?p=cst-public-plugins-scripts-lua.git;a=summary xupnp-Plugin cst-git: xupnpd]
* [https://github.com/tuxbox-neutrino/neutrino/tree/master/src/gui/lua API im Sourcecode]


= Weblinks =
= Weblinks =
* [http://forum.tuxbox.org/forum/viewforum.php?f=78 Forum für Lua Plugins im Tuxbox-Board]
* [https://forum.tuxbox-neutrino.org/forum/viewforum.php?f=78 Forum für Lua Plugins im Tuxbox-Board]
* [http://www.dbox2world.net/board293-cst-coolstream/board314-cst-coolstream-development/12036-neutrino-mit-lua-support-war-pu-lua/?s=15fcf76689040df8679c920f6a178e6aae766020 Thread für Lua Plugins im db2w-Board]
* [https://dbox2world.net/forum/index.php?thread/12036-neutrino-mit-lua-support-war-pu-lua/ Thread für Lua Plugins im db2w-Board]

Aktuelle Version vom 23. Juni 2025, 20:40 Uhr


Dokumentation der einzelnen Funktionen und Variablen, die von NeutrinoHD/MP für die Erstellung von Plugins bzw. Skripte basierend auf Lua bereitgestellt werden.

Review-KandidatDieser Artikel befindet sich derzeit im Reviewprozess. Hilf mit, ihn zu verbessern! Falls du bei weiteren Artikeln helfen willst, findest du hier eine Auswahl offener Artikel.

Dokumentation

Lua Neutrino-API

Changelog


  • API Version 1.97 (10.06.2024)
    • Add method to check for empty files in neutrino Lua API    -   Git


  • API Version 1.96 (23.04.2022)
    • lua: lua_api_version.h: update version 1.95->1.96    -   Git
    • add setValue() for menu forwarders
    • add paintItem() for menu items
    • implement kill() for cctext items


  • API Version 1.95 (02.12.2021)
    • lua: lua_api_version.h: update version 1.94->1.95    -   Git
    • add methode doPaintBg(), fix missing background


  • API Version 1.94 (01.11.2021)
    • lua: lua_api_version.h: update version 1.93->1.94    -   Git
    • add hint and hourglass/loader widgets


  • API Version 1.89 (10.03.2021)
    • lua: lua_api_version.h: update version 1.88->1.89    -   Git


  • API Version 1.88 (09.02.2021)
    • lua: lua_api_version.h: update version 1.87->1.88    -   Git
    • lua: OK Key added for lua    -   Git
    • lua: keys play and playpause added for lua    -   Git
    • lua: lua num keys added    -   Git


  • API Version 1.86 (30.09.2020)
    • lua: Complete list of available fonts    -   Neutrino Git


  • API Version 1.84 (28.11.2019)
    • lua api: add function setSelected() for lua menu handler    -   Neutrino Git


  • API Version 1.83 (03.09.2020)
    • movieplayer arm: add option to play separate audio file    -   Neutrino Git


  • API Version 1.82 (10.09.2019)
    • lua_cc_text.cpp: use 'text_mode' instead 'mode' in api    -   Neutrino Git


  • API Version 1.81 (10.09.2019)
    • lua_messagbox.cpp: add parameter for text allign    -   Neutrino Git



  • API Version 1.77 (23.10.2017)
    • CLuaInstCurl: Fix CurlDownload() to send POST data    -   Neutrino Git


  • API Version 1.76 (15.06.2017)
    • CCText: try to fix return value of CCTextGetLines()    -   Neutrino Git


  • API Version 1.75 (10.05.2017)
    • CCWindow: try to fix window title align parameter.
    • Additional CTextBox::NO_AUTO_LINEBREAK overwrites passed parameter and has no effect, because NO_AUTO_LINEBREAK is already default.    -   Neutrino Git


  • API Version 1.74 (09.05.2017)
    • CCWindow: fix passed shadow paramater    -   Neutrino Git


  • API Version 1.73 (22.04.2017)


  • API Version 1.72 (31.03.2017)


  • API Version 1.71 (31.03.2017)
    • Add alignment parameter for text in window header. Possible modes are : "DEFAULT" (left), "CENTER", "RIGHT"    -   Neutrino Git









  • API Version 1.60 (10.09.2016)
    • Fix segfault in messagebox.exec at 'align' and 'default'    -   Neutrino Git


  • API Version 1.59 (08.09.2016)
    • Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo    -   Neutrino Git






  • API Version 1.54 (05.09.2016)







  • API Version 1.48 (03.09.2016)


  • API Version 1.47 (01.09.2016)
    • lua_menue: allow user definable return values    -   Neutrino Git








  • API Version 1.40 (14.08.2016)



  • API Version 1.38 (22.01.2016)
    • Add some CComponentsHeader functions   -   Neutrino Git


  • API Version 1.36 (17.01.2016)


  • API Version 1.35 (22.12.2015)
    • Add multiple script functions for mute icon & volume   -   Neutrino Git


  • API Version 1.34 (22.12.2015)



  • API Version 1.32 (15.12.2015)
    • Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin when tv/radio button are pressed on remote control   -   Neutrino Git


  • API Version 1.31 (15.12.2015)
    • CurlDownload: Rework progress display   -   Neutrino Git






  • API Version 1.26 (13.12.2015)
    • lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'   -   Neutrino Git



  • API Version 1.24 (13.12.2015)


  • API Version 1.23 (12.12.2015)
    • Use CLuaVideo for video, CLuaMisc for misc functions   -   Neutrino Git


  • API Version 1.22 (08.12.2015)


  • API Version 1.21 (08.12.2015)



  • API Version 1.18 (08.12.2015)
    • The first call to Lua::PlayFile() block restoreNeutrino. Running restoreNeutrino when exiting the plugin and function is blocked   -   Neutrino Git


  • API Version 1.17 (08.12.2015)
    • Remove unnecessary function zapitSetStandby() (API v1.7)   -   Neutrino Git







  • API Version 1.11 (23.11.2015)
    • Fix transfer of color values in PaintBox() and RenderString() for coolstream hardware   -   Neutrino Git







  • API Version 1.5 (19.09.2015)
    • Fix copy/paste error in Add error message for menu callback funktions (API v1.3)   -   Neutrino Git



  • API Version 1.3 (17.09.2015)
    • Add error message for menu callback funktions   -   Neutrino Git
    • Simplified error message handler   -   Neutrino Git










  • API Version 1.60 (10.09.2016)
    • Fix segfault in messagebox.exec at 'align' and 'default'    -   Neutrino Git


  • API Version 1.59 (08.09.2016)
    • Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo    -   Neutrino Git






  • API Version 1.54 (05.09.2016)







  • API Version 1.48 (03.09.2016)


  • API Version 1.47 (01.09.2016)
    • lua_menue: allow user definable return values    -   Neutrino Git








  • API Version 1.40 (14.08.2016)



  • API Version 1.38 (22.01.2016)
    • Add some CComponentsHeader functions   -   Neutrino Git


  • API Version 1.36 (17.01.2016)


  • API Version 1.35 (22.12.2015)
    • Add multiple script functions for mute icon & volume   -   Neutrino Git


  • API Version 1.34 (22.12.2015)



  • API Version 1.32 (15.12.2015)
    • Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin when tv/radio button are pressed on remote control   -   Neutrino Git


  • API Version 1.31 (15.12.2015)
    • CurlDownload: Rework progress display   -   Neutrino Git






  • API Version 1.26 (13.12.2015)
    • lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'   -   Neutrino Git



  • API Version 1.24 (13.12.2015)


  • API Version 1.23 (12.12.2015)
    • Use CLuaVideo for video, CLuaMisc for misc functions   -   Neutrino Git


  • API Version 1.22 (08.12.2015)


  • API Version 1.21 (08.12.2015)



  • API Version 1.18 (08.12.2015)
    • The first call to Lua::PlayFile() block restoreNeutrino. Running restoreNeutrino when exiting the plugin and function is blocked   -   Neutrino Git


  • API Version 1.17 (08.12.2015)
    • Remove unnecessary function zapitSetStandby() (API v1.7)   -   Neutrino Git







  • API Version 1.11 (23.11.2015)
    • Fix transfer of color values in PaintBox() and RenderString() for coolstream hardware   -   Neutrino Git







  • API Version 1.5 (19.09.2015)
    • Fix copy/paste error in Add error message for menu callback funktions (API v1.3)   -   Neutrino Git



  • API Version 1.3 (17.09.2015)
    • Add error message for menu callback funktions   -   Neutrino Git
    • Simplified error message handler   -   Neutrino Git





Sourcecode

Weblinks