Fix: Album art missing from GNOME Shell notifications
This merge request addresses an issue where album art was not consistently displayed in the GNOME Shell notification area when playing music.
Problem:
Currently, album art is lazily loaded, and the MPRIS interface is not explicitly notified when the art becomes available. This results in the notification area sometimes failing to display the correct album art for the currently playing song.
Solution:
This merge request implements the following changes:
- Proactive Art Loading: Album art is now proactively loaded when a track starts playing.
-
Explicit MPRIS Update: The MPRIS
Metadata
property is explicitly updated after the album art is successfully retrieved. This ensures that the GNOME Shell notification area is notified of the change and can update its display.
Testing:
To verify the fix, perform the following steps:
- Start GNOME Music.
- Play a song.
- Observe the notification area to confirm that the album art is displayed correctly.
- Skip to different tracks and verify that the album art updates as expected.
Fixes: #622 (closed) and #611 (closed)