2012-07-05, 11:53
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.
<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.