2018-08-07, 07:13
(2018-08-06, 13:02)cartman.dos Wrote:This works, thank you so much!!! You are the Man!!!!(2018-08-03, 17:59)UbuntuUser Wrote:Try the following:(2018-08-03, 10:23)cartman.dos Wrote: yeah, you could test each variable value/add new ones from here related to pvr (https://kodi.wiki/view/InfoLabels) (channellogo) to see if one works for u, u can add an empty conditioned value to test if all fails, eg, <value>IMAGEPATH</value>.Ok I am sorry I am a bit lost now, if I am understanding you correctly. You are saying use this (NPO 1 HD as example)...
If it's not even in the db, then obviously kodi won't be able to get it with a native method but u can add the path manually, even in the skin - general idea, <value condition="String.IsEqual(CHANNEL_TITLE_VAR_IN_SKIN,CHANNEL_TITLE)>imagepath://CHANNELLOGO.PNG</value>
<value condition="String.IsEqual(CHANNEL_TITLE_VAR_IN_SKIN,NPO 1 HD)>imagepath://NPO 1 HD.PNG</value>
The part I am not clear on is where does this go, what file? Also what is CHANNEL_TITLE_VAR_IN_SKIN or how do I find it?
Thanks for the help.
(a) edit includesFooter.xml:
search for #id "44123", this control should show the logo in the footer.
dry-test: put some picture in the skin's media dir, and copy name+extension to the texture tag, egRun kodi and see if u see the image in pvr windows (and the window u wanted specifically)Code:<texture background="true">test.png</texture>
(b) return the original texture in the above control and edit includesVariable.xml:
go to "<variable name="channellogo">"
add this line:
note the channel's name in the string.isequal param should be exactly as u see it in kodi, the png can have whatever name u want. as long as u give the correct path (or just name&extension if u put in under media dir in the skin's dir).
If it works, then u can add as many as u need for each channel, just change name &png path, and u're set.Code:<value condition="String.IsEqual(ListItem.ChannelName,NPO 1 HD)">NPO_1_HD.PNG</value>
not the most elegant solution, but a simple one.