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.
Audio codec image is not displayed ...
slinuxgeek
Senior Member Posts: 194 Joined: Feb 2012 Reputation: 0 |
|
| find quote |
slinuxgeek
Senior Member Posts: 194 Joined: Feb 2012 Reputation: 0 |
2012-07-05 15:15
Post: #2
I prefixed the path with "special://skin/media/" like following and it worked
<texture>$INFO[MusicPlayer.Codec,special://skin/media/flagging/audio/,.png]</texture> |
| find quote |
pieh
Team-XBMC Member Posts: 672 Joined: Aug 2010 Reputation: 13 Location: Poland |
2012-07-05 22:15
Post: #3
could You add label control and check what it will display when codec image will be missing?
Code: <control type="label">Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first My previous forum/trac nickname: grajen3 |
| find quote |
slinuxgeek
Senior Member Posts: 194 Joined: Feb 2012 Reputation: 0 |
2012-07-06 12:58
Post: #4
Yes it is displaying: flagging/audio/MP3.png
for a mp3 song. |
| find quote |

Search
Help