We have moved at community.getvera.com

Author Topic: Does MIOS load every xml/lua file in /etc/cmh-ludl?  (Read 1098 times)

Offline sjolshagen

  • Sr. Member
  • ****
  • Posts: 416
  • Karma: +5/-0
Does MIOS load every xml/lua file in /etc/cmh-ludl?
« on: March 06, 2014, 03:33:06 pm »
Also, does anybody know why it doesn't remove files that get "uninstalled" from the Application tabs?
Vera3/UI5 @ v1.5.622

Offline Brientim

  • Sr. Hero Member
  • ******
  • Posts: 2497
  • Karma: +78/-7
Re: Does MIOS load every xml/lua file in /etc/cmh-ludl?
« Reply #1 on: March 06, 2014, 04:16:32 pm »
As far as I could establish... The logic is a file can only exist once and other apps or device may still use the same file. Therefore, it is not removed just the reference to the app and any associated devices. Noting the the files are very small and compressed.

Offline RichardTSchaefer

  • Community Beta
  • Master Member
  • ******
  • Posts: 10091
  • Karma: +764/-143
Re: Does MIOS load every xml/lua file in /etc/cmh-ludl?
« Reply #2 on: March 06, 2014, 06:37:56 pm »
The behavior of how LUA files are loaded is dependent on how the Plugin developers defines their application definition.

Some LUA files are loaded by the LUA engine at startup.
Most LUA files are loaded during the Plugin Initialization for that plugin.
Some are loaded on demand during runtime.