dots-hyprland
dots-hyprland copied to clipboard
Unable to cache album art from `mpris` using `gvfs`
- I have read the Usage and Troubleshooting pages of the wiki: https://end-4.github.io/dots-hyprland-wiki/en/i-i/04troubleshooting/
- I have made sure that both my config and system packages are up to date
- Linux distro: Arch Linux x86_64 6.12.8-arch1-1
The issue
If i run my music player termusic, ags freezes.
If i do pkill ags then run ags in the terminal i get to see a warning and a critical error, related to caching album art from mpris, and ags then does not show anything on my screen.
If i close my music player and run ags again it works fine, but it fails whenever termusic is running. It's possible this can be reproduced with other music players that interact with mpris, but i haven't tried.
It seems to need gvfs in order to store the album art images in a virtual file system, and complains that it can't find it. However i do have gvfs installed, so i'm guessing it might be missing a specific gvfs module, but i don't know which.
This used to work fine before i updated my dots.
Logs
(com.github.Aylur.ags:135813): Gjs-WARNING **: 08:45:55.052: JS ERROR: Gio.IOErrorEnum: The specified location is not supported
_cacheCoverArt/<@resource:///com/github/Aylur/ags/service/mpris.js:157:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34
(com.github.Aylur.ags:135813): Gjs-Console-CRITICAL **: 08:45:55.052: failed to cache /home/sigurd/.cache/ags/media/aeba0f54846bdf3317195134b2d7d2812af97194, do you have gvfs installed?
Can confirm, disabling mpris support in the music player prevents ags from acting up.
Can confirm, disabling
mprissupport in the music player preventsagsfrom acting up.
Does this mean you've already solved the issue? Please close the issue if so.
It means it does not work with mpris enabled, which is a bug. It's up to you to close it if you are going to fix it. Without mpris, i won't be able to use this with mpris-scrobbler for instance, so it would be nice if it worked.
The shell has been rewritten to use Quickshell instead of AGS, so this is no longer relevant