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

Unable to cache album art from mpris using gvfs #1038

Open
sigurd4 opened this issue Jan 9, 2025 · 3 comments
Open

Unable to cache album art from mpris using gvfs #1038

sigurd4 opened this issue Jan 9, 2025 · 3 comments
Labels
ISSUE General issues

Comments

@sigurd4
Copy link

sigurd4 commented Jan 9, 2025


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?
@sigurd4
Copy link
Author

sigurd4 commented Jan 9, 2025

Can confirm, disabling mpris support in the music player prevents ags from acting up.

@clsty
Copy link
Collaborator

clsty commented Feb 7, 2025

Can confirm, disabling mpris support in the music player prevents ags from acting up.

Does this mean you've already solved the issue? Please close the issue if so.

@clsty clsty added the ISSUE General issues label Feb 9, 2025
@clsty clsty changed the title [Issue] Unable to cache album art from mpris using gvfs Unable to cache album art from mpris using gvfs Feb 9, 2025
@sigurd4
Copy link
Author

sigurd4 commented Feb 15, 2025

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.

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

No branches or pull requests

2 participants