summaryrefslogtreecommitdiffstats
path: root/applauncher
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-02-19 17:39:28 -0500
committerScott Murray <scott.murray@konsulko.com>2023-02-21 17:41:11 +0000
commita6c28b47b82807d78ebe8c69a354b4508c1910c8 (patch)
tree48ef36afb2a7106a91fcf436135a4aeedbca41d3 /applauncher
parent999153f66b474a4e01262f0ef57c3457aba02815 (diff)
mediaplayer: Improve MPD failure handling
Changes: - Avoid crashing in the MPD event handler code when our connection times out because it has hung. Additionally, attempt to update the front end UI to a sane state with respect to metadata when this happens. - Lower the MPD connection timeout and keepalive timeouts to try to catch MPD failures faster. There are still problems in this area with respect to the front end UI getting stuck if it does an operation that would attempt to use the MPD API while it is hung. Fixing that completely would require a significant refactoring to move all the MPD API code to a separate thread so that the QML rendering thread does not get stuck. It's unclear at present if such a refactoring is justified, as the MPD hang in this case is fixed by changes in MPD 0.23.8. Bug-AGL: SPEC-4661 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia5e74d00acdc6b3b28cdf87b26486dbddfa02a98 (cherry picked from commit 2cbbf914242d0766ff4e97ee3c0d02505d13e422)
Diffstat (limited to 'applauncher')
0 files changed, 0 insertions, 0 deletions