Audio codec image is not displayed ... - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Audio codec image is not displayed ... (/showthread.php?tid=135379) |
Audio codec image is not displayed ... - slinuxgeek - 2012-07-05 Audio codec image is not displayed when I write following in MusicOSD.xml <control type="image"> <description>Audio Codec Image</description> <posx>1</posx> <posy>1</posy> <width>80</width> <height>35</height> <aspectratio align="right">keep</aspectratio> <texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture> </control> Same code displays images in confluence. It displays codec image when I play some thing from internet through Music Add-on but not when I play anything from Music library. I think, It has path problem , it works with absolute path but not with relative path. here "flagging/audio/" is relative path from media directory. All codec images are present in "media/flagging/audio/". Please help. Thanks for help in advance. RE: Audio codec image is not displayed ... - slinuxgeek - 2012-07-05 I prefixed the path with "special://skin/media/" like following and it worked <texture>$INFO[MusicPlayer.Codec,special://skin/media/flagging/audio/,.png]</texture> RE: Audio codec image is not displayed ... - pieh - 2012-07-05 could You add label control and check what it will display when codec image will be missing? Code: <control type="label"> RE: Audio codec image is not displayed ... - slinuxgeek - 2012-07-06 Yes it is displaying: flagging/audio/MP3.png for a mp3 song. |