Moon-0xff / gnome-mpris-label

A music related GNOME extension.
GNU General Public License v3.0
51 stars 10 forks source link

Using VLC the extension displays nothing (no label/metadata) #106

Closed rgpublic closed 1 month ago

rgpublic commented 1 month ago

There is "something" invisible right next to the clock. I can hover over it and I see a gray rectangle with rounded corners. I can click and I see the menu. I can open the settings etc. With a middle click I can pause/start the playback. But I don't see anything at all. No song title, no controls. Nothing. I wonder how I could possible debug this. I'm no Manjaro Linux, Gnome 46 and I've just enabled the extension via extensions.gnome.org.

Moon-0xff commented 1 month ago

Hello @rgpublic

What media player are you using?

rgpublic commented 1 month ago

@Moon-0xff : VLC

Moon-0xff commented 1 month ago

We found this bug on VLC that makes it omit metadata.

Maybe try pressing the stop button once, then resume playback, or turn off the Hide when paused setting in our extension.

It seems that the MPRIS interface on VLC is shaky, you can raise an issue there if you want it fixed. Otherwise, hmm, maybe change of media player? Of course that's your choice, but VideoLAN media player is aimed more to play Videos than music. Just a thought.

Batwam commented 1 month ago

I'd also try skip to the next song. For some reason the first songs doesn't trigger the mpris signal.

rgpublic commented 1 month ago

@Moon-0xff , @Batwam : You were right. Sometimes a little bit of creative thinking is actually the best solution. I just couldn't get the extension to work with VLC even with the changed settings, skipping etc. you mentioned etc. I've now switched to Shortwave to listen to my radio stations. Much more convenient, much better interface. And this extension here just works out of the box now. Why haven't I thought of this before? Facepalm. Thank you both!