Cover won't show
bug
**Describe the bug**
Pressing F8 used to show cover art of the currently played song. This doesn't work any longer, the screen doesn't show an image.
Running "$ueberzugpp layer --silent" and pasting e.g. the json snipped shown in /tmp/ueberzugpp-$USER.log is being displayed in Kitty correctly.
**To Reproduce**
Steps to reproduce the behavior:
1. install the latest version ($cargo install ncspot --features cover --locked)
2. start ncspot in Kitty
3. play a song
4. press F8
**Expected behavior**
Pressing F8 should display an image (cover art)
**Screenshots**
<img width="1900" height="1288" alt="Image" src="https://github.com/user-attachments/assets/846d58f6-2389-4dc1-bc53-c1512f22a149" />
**System (please complete the following information):**
- OS: CachyOS (Linux pulsar2 6.18.9-2-cachyos x86_64 GNU/Linux)
- Terminal: Kitty 0.45.0
- Version: ncspot V1.3.3
- Installed from: cargo install ncspot --features cover --locked
- DE: KDE6.5.5 plasma / KWin (Wayland)
**Backtrace/Debug log**
debug doesn't show any errors or warnings. It show only, that the image has been downloaded. Image can also be found in the .cache/ncspot/covers.
**Ueberzug Socket Log**
❯ tail -f /tmp/ueberzugpp-$USER.log
[2026-02-08 03:05:39.660] [terminal] [info] TERM = xterm-kitty
[2026-02-08 03:05:39.660] [terminal] [info] PTY = /dev/pts/1
[2026-02-08 03:05:39.660] [kitty] [info] Canvas created
[2026-02-08 03:05:39.660] [main] [info] Listening for commands on socket /tmp/ueberzugpp-318018.socket
[2026-02-08 03:05:39.683] [main] [info] Command received: {"action":"remove","identifier":"cover"}
[2026-02-08 03:05:39.683] [kitty] [info] Removing image with id cover
[2026-02-08 03:06:00.689] [main] [info] Command received: {"action":"add","height":21,"identifier":"cover","path":"/home/acme/.cache/ncspot/covers/ab67616d0000b27321a0878a63f6c26ad872477b","scaler":"fit_contain","width":45,"x":46,"y":21}
[2026-02-08 03:06:00.693] [opencv] [info] loading file /home/acme/.cache/ncspot/covers/ab67616d0000b27321a0878a63f6c26ad872477b
[2026-02-08 03:06:00.881] [opencv] [error] Could not save image
[2026-02-08 03:06:00.884] [kitty] [info] Displaying image with id cover
**Additional context**
The ueberzugpp-$USER.log stops updating after the first F8 press. Subsequent songs won't write into the log anymore (stuck?) if switching to the cover-screen.
0 条评论