diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-13 13:07:03 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-13 13:07:03 +0100 |
| commit | d531c6b333a1310c08f5c34dfff06613cc3ab54b (patch) | |
| tree | a957adc922d049125fb948d9dc0222dfa5eb3d6c /hosts/shell.qml | |
| parent | 7829a18d8049087eaa963fb922a8701cc9851979 (diff) | |
| download | quickshell-d531c6b333a1310c08f5c34dfff06613cc3ab54b.tar.gz quickshell-d531c6b333a1310c08f5c34dfff06613cc3ab54b.zip | |
feat(sound): a video frame as the cover when a player gives none
Haruna clears mpris:artUrl for every video on purpose, so the task
manager shows the live window, which left the island's media pill and
the volume OSD without a picture. For a local video file (by extension)
with no cover, ffmpeg grabs one frame (thumbnail filter, 480 px wide)
into $XDG_RUNTIME_DIR/qs-video-thumb.jpg; artUrl points at it once the
grab succeeds, with the video URL as fragment so Image reloads the
reused file. Component.onCompleted covers a video already playing when
the shell starts, which onVideoUrlChanged does not see.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'hosts/shell.qml')
0 files changed, 0 insertions, 0 deletions
