Kodi Community Forum
<info>VideoPlayer.Cover</info> does not display default image why? - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: <info>VideoPlayer.Cover</info> does not display default image why? (/showthread.php?tid=130088)



<info>VideoPlayer.Cover</info> does not display default image why? - slinuxgeek - 2012-04-27 09:39

If we write
<info>MusicPlayer.Cover</info>
in
<control type="image">
the album art image gets displayed. If no album art is there then "DefaultAlbumCover.png" or "DefaultAudio.png"
is displayed.
But If we write
<info>VideoPlayer.Cover</info>
in
<control type="image">
the album art image(may be cover art) gets displayed. If no album art is there then nothing is displayed why?
It should display "DefaultVideo.png" or "DefaultVideoCover.png" from media directory.

Also how can we check if no cover is displayed so we can do something about it?

Thanks.


RE: <info>VideoPlayer.Cover</info> does not display default image why? - Jezz_X - 2012-04-27 10:32

It displays DefaultVideoCover.png fine for me maybe you have a case issue if you not on win32


RE: <info>VideoPlayer.Cover</info> does not display default image why? - slinuxgeek - 2012-04-27 11:01

Then what should be the right name of file(cAsE wise) so it works on every os?


Also can we have more than one control with same id in one window ?


RE: <info>VideoPlayer.Cover</info> does not display default image why? - Jezz_X - 2012-04-27 11:42

Case wise its exactly as I wrote and for more than 1 control with the same id sure but it may cause issues with visible checking and navigation if they are both visible at once