Adding icons to ceomr media center (mythtv)
#1
i'm hoping someone can help me, as i've spent all night on this with no success. i'm trying to add a custom icon to complement a custom button i've added to the skin. the button works, however it doesn't show my graphic. this is what i've done so far;

in c:\xboxmediacenter.xml;

<homebuttons>
...
<button>
<description>mythtv</description>
<label>9</label>
<execute>xbmc.runscript(q:\scripts\mythtv\mythtvmain.py)</execute>
<icon>113</icon>
</button>

...
</homebuttons>

in the skin's home.xml;

<control>
<type>image</type>
<id>113</id>
<posx>370</posx>
<posy>190</posy>
<width>400</width>
<height>300</height>
<texture>home-myth-circle.png</texture>
</control>

and i have a graphic in the skin/media directory called home-myth-circle.png.

any suggestions, leads, ideasHuh??

thanks for any assistance

-h
Reply
#2
hmm that should work... as a test, have you tried using the id of the standard icons (ie, music, videos, etc)?

and just to confirm, you are using a skin that supports the button scroller, right? (the default pm3 skin does not, and i dont know the ceomer skin)



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
yup, i think so. i changed the icon id in c:\xboxmediacenter.xml to the 'my videos' icon, and the change worked, so that file is being read properly. either something wrong in home.xml or it can't find a standalong .png file in the media directory.

i have no idea where to go next on this, so if anyone else has any ideas (and even better a good .png for a mythtv script item), i'd really appreciate it.

-h
Reply
#4
when using icon 113, do you get a wrong image, or no image?

when you say that you have the graphic in the skin/media directory, you dont actually have it in "skin/media" do you? it needs to be in the directory of the skin, something like skin/ceomr/media.

also double check that there arent any other controls with an id of 113.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
when using icon 113, i get the same icon as the program files.

home-myth-circle.png is located in <xbmc home>/skin/ceomr media center/media

the only thing with 113 is a <window><id>113</id> in dialogmutebug.xml

??

thanks again for the ideas.
Reply
#6
one more question... do u get the same icon as programs because its directly next to programs (when u scroll thru programs, the icon doesnt change), or does it explicitly change to that icon from another one?

and that 113 is the windowid of the mute overlay. window id's and control id's are independant.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
kraqh3d, thanks for the help. when i switched back to icon 113 to test out your suggestion, it magically worked -- go figure!
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Adding icons to ceomr media center (mythtv)00