Neutrino HD Lua API: Unterschied zwischen den Versionen

Aus TuxBoxWIKI
Zur Navigation springen Zur Suche springen
(Changelog LAU API aktualisiert)
Zeile 14: Zeile 14:


== Changelog ==
== Changelog ==
<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 />
* <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>
* <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]
** 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]

Version vom 1. April 2016, 10:21 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.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