AUTOTIMER button shows an empty list after UI start

Issue #624 resolved
prl created an issue

On the U4, if the AUTOTIMER remote button is pressed before the first time the AutoTimer's AutoPoll has run (about 3 minutes after UI startup), the AutoTimer overview list is displayed as empty.

It will remain empty until either the first AutoPoll runs or something else causes the AutoTimer to read /etc/enigma2/autotimer.xml. That includes opening the AutoTimer overview list using MENU>AutoTimer or BLUE>AutoTimer, or accessing the AutoTimer list via Open Webif.

The cause is that opening the AutoTimer overview list using the AUTOTIMER remote button does not call AutoTimer.readXml() to ensure that /etc/enigma2/autotimer.xml has been read.

Replication steps

If you don't have any AutoTimers create at least one (for the purposes of this test, it can be disabled so that it doesn't create timers).

Restart the GUI (long-POWER>Restart GUI), and after the UI has restarted, but before 3 minutes has elapsed, press AUTOTIMER. The AutoTimer overview list opens, but displays empty.

Wait at least 3 minutes after that, and press AUTOTIMER again. The AutoTimer overview list opens and displays correctly.

Restart the GUI (long-POWER>Restart GUI), and after the UI has restarted, but before 3 minutes has elapsed, press AUTOTIMER. The AutoTimer overview list opens, but displays empty.

Immediately exit from the list and open the AutoTimer overview list, and exit it. Then press The AutoTimer overview list opens and displays correctly.

Comments (1)

  1. Peter Urbanec

    Fix Bug #624: AUTOTIMER button shows an empty list after UI start

    Rewrite the code for the actions on the AUTOTIMER button to use the plugin descriptors rather than going through the AutoTimer and AutoPoller instances in the plugin.

    → <<cset a2392b8da257>>

  2. Log in to comment