diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-22 15:10:58 +0100 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-05-28 06:23:08 -0400 |
commit | 7345666d9ce52234236cc144062bdc75d3bcf23c (patch) | |
tree | 15a45dc1785e8f1e5288e27cf7920c3dbd0c1e33 /apps/plugins/pictureflow | |
parent | 85232fadbb1fa02f6abeee7bf28ac6e286c45a24 (diff) | |
download | rockbox-7345666d9ce52234236cc144062bdc75d3bcf23c.tar.gz rockbox-7345666d9ce52234236cc144062bdc75d3bcf23c.zip |
plugins: use menu for lastfm scrobbler TSR exit callback
Use standard menus and yes/no screen for the TSR exit callback,
similar to the recently added test_usb plugin. This removes the
need to define key bindings and it provides a more consistent
user experience.
It also allows the "flush cache" message to be popped up in the
main thread - doing it from the worker thread is unreliable and
the message often disappeared because the main thread did a UI
update immediately after leaving the plugin.
One issue is that quitting the plugin by selecting the scrobbler
plugin itself immediately restarts the scrobbler. This is because
there is currently no way for TSR plugins to terminate themselves
either through the exit_tsr callback or otherwise.
Change-Id: I9690239d5bd58ad2fbb36fd15a10683757aff0ff
Diffstat (limited to 'apps/plugins/pictureflow')
0 files changed, 0 insertions, 0 deletions