ismailof / mediacontroller_plus

Modified version of mediacontroller plasma5 widget
GNU General Public License v2.0
30 stars 11 forks source link

Missing album image when playing from media sources (and other issues) #16

Closed goncaloacbsilva closed 3 years ago

goncaloacbsilva commented 4 years ago

When playing from sources like spotify, youtube (from browser) the album image is not being loaded. Also the icon tab bar isn't showing and isn't working at all.

About my system:

image

Thank you for the amazing work!

goncaloacbsilva commented 4 years ago

Well since I'm a developer, I decided to solve the album problem myself. The problem was that the album url provided by the metadata is not valid anymore. So, with a couple of code tweaks I made it work.

Here's the code:

image

And album art sourcing:

image

Final result:

image

ismailof commented 4 years ago

Hi @RAM53C !

This is in fact a bug in spotify, which changed their url for album images but didn't update the url they report. (https://community.spotify.com/t5/Desktop-Linux/MPRIS-cover-art-url-file-not-found/td-p/4920104)

Since we cannot expect a fix on their part and there are a lot of spotify users that suffer form it (me included), I've added a workaround in version 0.2.6 (d2e6946). Please, try it and tell me if that works for you. It should not affect the images from other providers that report their information right.

Thanks for reporting and giving me the hint to "fix" it! :smiley:

goncaloacbsilva commented 4 years ago

Hi @ismailof !

You're welcome! :smiley:

I tested the plasmoid with spotify and it's working great! The source tabs still don't work but I will try to write some code and see what I can do ahahah