ok, seems as if indeed $INFO[] doesnt return anything in this case.
try info=openinfodialog without any additional parameters with newest commit.
https://github.com/phil65/script.extende...6f2f5da085
EDIT: I tested, it works.
( <a>RunScript(script.extendedinfo,info=openinfodialog)</a> )
Hi phil65,
as you already stated, it works! I have just downloaded the last version of extendedinfo, and tested it: works like a charm...
Thank you very much for your support!
Das ging aber schnell!
Gruss,
Spider
Hi Phil,
trying to use a texture like this in script-ExtendedInfo Script-DialogVideoInfo
<texture>$VAR[ColorFlagsAudio]audio/$VAR[AudioFlagVar,,.png]</texture>
where the 2 var's are:
Code:
<variable name="ColorFlagsAudio">
<value condition="Skin.HasSetting(AudioColorFlag) + !Skin.HasSetting(DisableAudioColorFlag)">$INFO[Skin.String(ColorFlagsPath)]</value>
<value condition="Skin.HasSetting(AudioColorFlagreloaded) + !Skin.HasSetting(DisableAudioColorFlag)">$INFO[Skin.String(ReloadedFlagsPath)]</value>
<value condition="Skin.HasSetting(DisableAudioColorFlag)">-</value>
<value>flags/</value>
</variable>
<variable name="AudioFlagVar">
<value>$INFO[ListItem.AudioCodec]$INFO[ListItem.AudioChannels]</value>
</variable>
I think it's been asked before, but is this possible? is there a workaround to be able to ultimately do the same as what the texture is attempting to do?
Just trying to pull in skin specific images for media info.
Thanks,
Mike.
(2015-06-22, 17:34)Mike_Doc Wrote: [ -> ]Hi Phil,
trying to use a texture like this in script-ExtendedInfo Script-DialogVideoInfo
<texture>$VAR[ColorFlagsAudio]audio/$VAR[AudioFlagVar,,.png]</texture>
where the 2 var's are:
Code:
<variable name="ColorFlagsAudio">
<value condition="Skin.HasSetting(AudioColorFlag) + !Skin.HasSetting(DisableAudioColorFlag)">$INFO[Skin.String(ColorFlagsPath)]</value>
<value condition="Skin.HasSetting(AudioColorFlagreloaded) + !Skin.HasSetting(DisableAudioColorFlag)">$INFO[Skin.String(ReloadedFlagsPath)]</value>
<value condition="Skin.HasSetting(DisableAudioColorFlag)">-</value>
<value>flags/</value>
</variable>
<variable name="AudioFlagVar">
<value>$INFO[ListItem.AudioCodec]$INFO[ListItem.AudioChannels]</value>
</variable>
I think it's been asked before, but is this possible? is there a workaround to be able to ultimately do the same as what the texture is attempting to do?
Just trying to pull in skin specific images for media info.
Thanks,
Mike.
sorry, but
- I dont really understand the request
- please stay on topic here. That question seems to have nothing to do with this add-on.
Sorry Phil,
wasn't sure on best place to ask the question and apologies if this was not it.
I am just trying to see if I can update the skin version of script-ExtendedInfo Script-DialogVideoInfo.xml to use skin VAR's for audio, video etc etc and the VAR shown was an example.
I realize that skin.strings / listitem.* etc. don't seem to be avaible in the window and as such INFOs like $INFO[Window.Property(movie.AudioCodec) have to be used.
Mike
@
phil65, please include when possible, "Released" for translation, in your english.po file.
Thanks,
Wanilton
Wanilton:
Iirc, this string is fetched by TMDb directly.
I replaced it with a common VAR ->
Quote:<variable name="ExtendedInfoContentInfoStatus">
<value condition="StringCompare(Window.Property(movie.Status),Released)">$LOCALIZE[31107]</value>
<value condition="StringCompare(Window.Property(movie.Status),Post Production)">$LOCALIZE[31197]</value>
<value condition="StringCompare(Window.Property(movie.Status),In Production)">$LOCALIZE[31196]</value>
<value condition="StringCompare(Window.Property(movie.Status),Ended)">$LOCALIZE[31198]</value>
<value condition="StringCompare(Window.Property(movie.Status),Returning Series)">$LOCALIZE[31199]</value>
<value condition="StringCompare(Window.Property(movie.Status),Planned)">$LOCALIZE[31278]</value>
<value>$INFO[Window.Property(movie.Status)]</value>
</variable>
@
phil65
There is an auto completion issue with the latest GitHub version. If you have an active playback (music or video), the playback is going to be stopped as soon as you select an suggestion.
(2015-06-26, 11:13)sualfred Wrote: [ -> ]@phil65
There is an auto completion issue with the latest GitHub version. If you have an active playback (music or video), the playback is going to be stopped as soon as you select an suggestion.
Try latest commit.
I also basically rewrote the complete MovieInfoDialog, so some testing for that area would be nice.
..forgot to mention: The add-on now automatically closes DialogVideoInfo.xml when opening an infodialog and re-opens it when finished.
Let me know if such behaviour is wanted or if skinners should deal with that "manually" somehow.
Thx, fixed. The MovieInfoDialog also seems to be fine. Didn't noticed any issue until now.
+1 for the re-opening.