2019-09-17, 22:33
Because there is a window change after you set the builtin property. This value is stored in the active window and isn't available in the next one. Set it after you activated 1122.
(2019-09-17, 22:33)sualfred Wrote: Because there is a window change after you set the builtin property. This value is stored in the active window and isn't available in the next one. Set it after you activated 1122.@sualfred, I am not sure if I understand. I cannot set the skin string after activating window 1122, since that window needs the skin string to be set, ad it is the search term. Or are you referring to something different?
(2019-09-18, 06:13)sualfred Wrote: @bsoriano
What's the value of the question marks?
@Mr. V
I'm not a fan of those listitem monitors. Slow and delayed. Album count can be achieved with a hidden container based on the focused artist and container.numitems. Same applies to the song count.
(2019-09-18, 06:39)sualfred Wrote: Basically I can call a lot of information, but this always requires something like a monitor to get those. Let's wait for Matrix. He is improving this section a lot so maybe some of them will be available as builtin info label soon.
(2019-09-18, 06:13)sualfred Wrote: @bsoriano
What's the value of the question marks?
@Mr. V
I'm not a fan of those listitem monitors. Slow and delayed. Album count can be achieved with a hidden container based on the focused artist and container.numitems. Same applies to the song count.
xml:
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.1.Label,$LOCALIZE[32018])</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.1.BuiltIn,noop)</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.2.Label,$LOCALIZE[32017])</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.2.BuiltIn,SetProperty(Dialog.Builtin,Skin.SetString(CustomSearchTerm,? ? ?)++Dialog.Close(all)++ActivateWindow(1122))||RunScript(script.embuary.helper,action=splitandcreateselect,header='"Select a Genre"',items='$ESCINFO[ListItem.Genre]',seperator='" / "',splitby='"++"'))</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[137])</onclick>
(2019-09-18, 13:15)sualfred Wrote: Now I understand what you are doing. That does not work. || is the splitting identifier and your first select dialog call will split it for the next one too.
Try this one:
https://github.com/sualfred/script.embua...07f00a498a
This adds a new argument "splitby" that can be used to use another splitting identifier instead of ||.
xml:
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.1.Label,$LOCALIZE[32018])</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.1.BuiltIn,noop)</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.2.Label,$LOCALIZE[32017])</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.2.BuiltIn,SetProperty(Dialog.Builtin,Skin.SetString(CustomSearchTerm,? ? ?)++Dialog.Close(all)++ActivateWindow(1122))||RunScript(script.embuary.helper,action=splitandcreateselect,header='"Select a Genre"',items='$ESCINFO[ListItem.Genre]',seperator='" / "',splitby='"++"'))</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[137])</onclick>
xml:
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.1.Label,$LOCALIZE[32018])</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.1.BuiltIn,SetProperty(Dialog.Builtin,Skin.SetString(OnlineSearchTerm,)++Dialog.Close(all)++ActivateWindow(1131))||RunScript(script.embuary.helper,action=splitandcreateselect,header='"Select a Genre"',items='$ESCINFO[ListItem.Genre]',seperator='" / "',splitby='"++"')))</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.2.Label,$LOCALIZE[32017])</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">SetProperty(Dialog.2.BuiltIn,SetProperty(Dialog.Builtin,Skin.SetString(CustomSearchTerm,)++Dialog.Close(all)++ActivateWindow(1122))||RunScript(script.embuary.helper,action=splitandcreateselect,header='"Select a Genre"',items='$ESCINFO[ListItem.Genre]',seperator='" / "',splitby='"++"'))</onclick>
<onclick condition="Skin.HasSetting(Enable.ExtendedInfo)">RunScript(script.embuary.helper,action=createselect,header=$LOCALIZE[137])</onclick>
xml:
Romance)++Dialog.Close(all)++ActivateWindow(1131
(2019-09-18, 17:26)sualfred Wrote: Please let me know the value that is going to be filled to ? ? ? for both items so I can reproduce it locally. Plus the ListItem.Genre value.