2016-04-27, 20:26
(2016-04-27, 17:49)Pico1965 Wrote: A little request:Best thing I have is this,but this will working for English language (movie tv show) is in condition for load,
I want my filmograpy of Kurt Russell
If you want to use this image in context menu translate in your language,or put var for that content(i will add this to github when I find Var for that word string)
For now just test this, for me is working...
You change for Italian word "movie"in "film" and "tv show" in""
English - SubString(Container(3).Listitem.Label,movie)
Italian - SubString(Container(3).Listitem.Label,film)
change this code in includevariables.xml
Code:
<variable name="value_dialogselect_icon">
<value condition="Control.IsVisible(3)">$INFO[Container(3).ListItem.Icon]</value>
<value condition="Control.IsVisible(6)">$INFO[Container(6).ListItem.Icon]</value>
</variable>
Code:
<variable name="value_dialogselect_icon">
<value condition="Control.IsVisible(3)+IsEmpty(Container(3).ListItem.Icon)+[SubString(Container(3).Listitem.Label,movie)|SubString(Container(3).Listitem.Label,tv show)]">http://localhost:52307/getthumb&title=$INFO[Container(3).Listitem.Label]</value>
<value condition="Control.IsVisible(3)">$INFO[Container(3).ListItem.Icon]</value>
<value condition="Control.IsVisible(6)">$INFO[Container(6).ListItem.Icon]</value>
</variable>
Edit:
Use this code ...work in all language
Code:
<value condition="Control.IsVisible(3)+IsEmpty(Container(3).ListItem.Icon)+[SubString(Container(3).Listitem.Label,$LOCALIZE[36901])|SubString(Container(3).Listitem.Label,$LOCALIZE[20452])|SubString(Container(3).Listitem.Label,$LOCALIZE[36902])]">http://localhost:52307/getthumb&title=$INFO[Container(3).Listitem.Label]</value>