Page 1 of 1

view cover art in custom skin

Posted: 13 May 2010 16:07
by skarck
Hi there,

i'm currently working on a custom vlc skin by using the pretty skin editor.
but i wonder how to display album art in my skin.

i tried to place a video-panel in the skin but no cover art was shown while testing.

thx in advance!

skarck

Re: view cover art in custom skin

Posted: 13 May 2010 17:51
by 3breadt
Sorry that's not possible at the moment.

Re: view cover art in custom skin

Posted: 13 May 2010 23:53
by skarck
oh no, are you serious?
isn't there any xml-hack to do it???
i'd would be happy if theres a choice to display a jpg-file in the same directory as the mp3... nothing fancy...

:(

Re: view cover art in custom skin

Posted: 14 May 2010 09:17
by 3breadt
No, that's not possible with the skins system.

Re: view cover art in custom skin

Posted: 18 May 2010 22:37
by erwan10
To skins developpers,

As a new feature (committed in the dev branch only, aka vlc1.2 ), art can now be used in skins

In a nutshell, it goes like this :

- a new 'art' parameter(boolean) is added to an Image control so that the skin engine can reuse the control to display the art file associated to the current item being played back. (default value is 'false').
- the 'resize' parameter can now be either 'scale', 'mosaic' or a new 'scale2' value for scaling while preserving the aspect
ratio of images. Image is centered and scaled either height or widthwise. Extra borders are transparent.

As an example, the default skin shipped with vlc has been changed to feature art display in the same way as it is done for the qt4 interface. The video widget and the art widget are located in the same place. The art is displayed if no video is available.

Feedbacks/requests welcome

Erwan10

Re: view cover art in custom skin

Posted: 20 May 2010 14:24
by skarck
Great news! :)

can you tell us when 1.2 will be released?
and are vlc player and skin editor updated simultanously?

Re: view cover art in custom skin

Posted: 21 May 2010 16:49
by 3breadt
I'll try to update the skin editor to match vlc.

Re: view cover art in custom skin

Posted: 21 May 2010 21:18
by erwan10
vlc1.2 will take some time, (vlc1.1 is just about to be released)

But, at least for Windows users, latest nightly builds for vlc1.2 are available (http://nightlies.videolan.org/build/win32/last/) and are quite usable these days. This new 'art' feature can be tested right out of the box with the default skin.

Erwan10

Re: view cover art in custom skin

Posted: 21 Oct 2020 23:24
by Sempervivum
Hi there,
currently I'm using the skin "DestroyVLC" and modified it a bit by use of the skin editor. Unfortunately it doesn't display the cover image. I tried to follow the instructions of Erwan10 but cannot find any parameter "art" in the skin editor, neither in "DestroyVLC" nor in the default skin. What am I doing wrong?
Best regards - Ulrich

Re: view cover art in custom skin

Posted: 22 Oct 2020 00:25
by Sempervivum
Problem sorted out: I found the attribute "art" in the XML file of the default theme and added it in my custom theme. Works fine now.