Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpDris2 not displaying cover on notifications on Gnome 46 #164

Open
niels0n opened this issue Jun 22, 2024 · 1 comment
Open

mpDris2 not displaying cover on notifications on Gnome 46 #164

niels0n opened this issue Jun 22, 2024 · 1 comment

Comments

@niels0n
Copy link

niels0n commented Jun 22, 2024

Like the title says, even though I installed mutagen I have no cover on notifications. I have it though in the notification list, see screenshots below.

This is my configuration:

[Connection]
# You can also export $MPD_HOST and/or $MPD_PORT to change the server.
#host = localhost
#port = 6600
#password =

[Library]
music_dir = /home/andrea/Music/Library
cover_regex = ^(album|cover|\.?folder|front).*\.(gif|jpeg|jpg|png)$

[Bling]
mmkeys = True
notify = True
# Urgency of the notification: 0 for low, 1 for medium and 2 for high.
notify_urgency = 1

And this is the log from the systemd service:

● mpDris2.service - mpDris2 - Music Player Daemon D-Bus bridge
     Loaded: loaded (/usr/lib/systemd/user/mpDris2.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Sat 2024-06-22 11:08:36 CEST; 5min ago
   Main PID: 4814 (mpDris2)
      Tasks: 4 (limit: 46631)
     Memory: 18.1M (peak: 19.1M)
        CPU: 107ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/mpDris2.service
             └─4814 /usr/bin/python3 /usr/bin/mpDris2 --use-journal

giu 22 11:08:36 e14 systemd[2365]: Starting mpDris2.service - mpDris2 - Music Player Daemon D-Bus bridge...
giu 22 11:08:36 e14 mpDris2[4814]: Using file:///home/andrea/Music/Library as music library path.
giu 22 11:08:36 e14 mpDris2[4814]: Using Mutagen to read covers from music files.
giu 22 11:08:36 e14 mpDris2[4814]: Failed to connect to GNOME Settings Daemon. Media keys won't work.
giu 22 11:08:36 e14 systemd[2365]: Started mpDris2.service - mpDris2 - Music Player Daemon D-Bus bridge.

This is how I see it from the notification list, beside the calendar:

Screenshot from 2024-06-22 11-14-39

And this is how I see the notifications.

Screenshot from 2024-06-22 11-14-53

EDIT: If that matters, that's all .mp3 files with embedded cover.

@iconoclasthero
Copy link

iconoclasthero commented Jun 30, 2024

I was just wondering about embedded covers... Since my server's remote, the only way for access to covers is via nfs/sshfs if available. I created a webpage to list played songs and used album_art_base64=$(mpc readpicture "$songpath" | base64) to display covers. That script is slowly converting everything to use the mpd protocol/socket connection so I'm sure that would also be an option rather than relying on mpc.

Vast majority is flac ... most should have embedded pictures via picard if the pics were in MBDB to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants