Author Topic: No Cover Art with the Desktop Widget  (Read 4031 times)

y0z

  • Newbie
  • *
  • Posts: 10
    • View Profile
No Cover Art with the Desktop Widget
« on: July 03, 2010, 07:54:01 »
The Insensitive, Song, & Cover plugin displays song information on the desktop but not the cover art.
Any idea which file I need to change/edit in order to get the cover to display?

The Button, Song, & Cover plugin does display the cover art.
I'm using GMB 1.1.5 on Fedora 13.

ochosi

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: No Cover Art with the Desktop Widget
« Reply #1 on: July 08, 2010, 14:13:43 »
in general you'll find the layouts in /usr/share/gmusicbrowser/layouts (or whatever your path to your gmusicbrowser-installation on fedora might be).

there you can look for layouts that contain the line
Code: [Select]
Type=D
you can then save your own layouts in ~/.config/gmusicbrowser/layouts/yourlayout.layout - either more in one file or all in different files, that's up to you. after a restart you should be able to select the newly added/modified desktop-widget-layout.

and to finally get to your question: i experience the same behavior and so far haven't been able to fix it, might be a bug.

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: No Cover Art with the Desktop Widget
« Reply #2 on: July 09, 2010, 07:13:58 »
It is possible that the problem comes from the minimal size that can be set for the layout in the plugin option, try to increase it, both width and height.

y0z

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: No Cover Art with the Desktop Widget
« Reply #3 on: July 16, 2010, 10:20:30 »
Thanks ochosi and Quentin, I was able to get the cover art to display by editing /usr/share/gmusicbrowser/layout and commenting out the last two lines of [D_insens_song_cover] and then inserting the VBmain line from [D_buttons_song_cover]. I also increased maxsize from 0 to 100.

Quote
#VBText          = 2HBTitle 2HBArtist 2HBAlbum
#VBmain         = VBText _Cover(maxsize=0,xalign=0,yalign=0)
VBmain           = HBbuttons 2HBTitle 2HBArtist 2HBAlbum -Cover(forceratio=1,maxsize=100)

It's not an elegant solution, but it works. :)
« Last Edit: July 16, 2010, 10:22:34 by y0z »