• 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 42
Release GlobalSearch Script
i don't think i'm emotionally attached to the ok button... i'm willing to let her go.
it won't be before krypton though, i need a bit of time to properly say goodbye.

as a solution for the time being, what if you add <onfocus>SetFocus(192)</onfocus> to your offscreen ok button?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Image
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
Hi everyone,

My searches returns nothing... I totally understand that global search isn't searching the add-on.

My movies are on my NAS, is it the reason why I find nothing ?

The search from kodi's left pannel returns nothing too...

Thanks to you

GG
Reply
(2016-01-30, 00:27)ronie Wrote: i don't think i'm emotionally attached to the ok button... i'm willing to let her go.
it won't be before krypton though, i need a bit of time to properly say goodbye.

as a solution for the time being, what if you add <onfocus>SetFocus(192)</onfocus> to your offscreen ok button?
Yep that worked, even after a bit of messing around managed to use a different button image for the browse button, so that is now all good.

Could I please put in a request for the mpaa listitem property and the TVShows thumb in the episodes section. I think it would be good for consistency to show the mppa rating for Movies AND Episodes (and while it might be nice to match my current TVShow and TV Season video info screens, I don't see the lack in these sections of a mpaa field as anything major).

As to the TV Show thumb image, while this is not a major problem on the global search info screen, it would be nice to match my skins handdling of these thumbs in my main Video info screen.

Ta Mate
Wyrm
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
neither the tv show thumb nor the mpaa rating are returned when you do a json query for episodes.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2016-02-13, 23:04)ronie Wrote: neither the tv show thumb nor the mpaa rating are returned when you do a json query for episodes.
bugger! I thought there had to be a good reason why you had not included them.

I don't suppose you have any suggestions on how I could pull them in myself? The DB id field just screams something but I have no idea how I could make use of it.

Wyrm
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
Ronie,

Love your Search Script, question and forgive me I'm new to this I have a VB/HTML/XML (little Java) background so no Python but happy to "Play"

I plan to try and add and Addon for Music Navigation

It would be nice to be able to jump (Search) from the "Music Information screen" using Artist and Track.

It would be great to be able to click on these fields and then jump to that filter so if you were saying listen to a various artists album you could easily jump straight to that artist's music or click on the track title to see a list of other versions you have of that track

A thought about using the script.globalsearch add-on from the Music Information screen so like :

There are labels for Artist and Tile so if a Search (Preferably a % Fuzzy Search) for these values could be triggers from here it would great.

Does the Search Addon support this method ?

I have found a code snippet that I was hoping I coudl call your search from a label on the Music Info Dio or maybe even straight from the context menu ??

<onclick>XBMC.RunScript(script.extendedinfo,info=extendedinfo,name='$INFO[ListItem.OriginalTitle]')</onclick>
Reply
whoops just read back a few pages

RunScript(script.globalsearch,searchstring="WHATEVER")

So as Long as I can tweak the Label or Context menu (going to use this as base (http://forum.kodi.tv/showthread.php?tid=257334)) will this work ??

<onclick>XBMC.RunScript(script.globalsearch,searchstring='$INFO[ListItem.ListItem.Title]')</onclick>
Reply
Ok I now have now changed this line on the DialogSongInfo.xml on my skin.

<item id="1"><!-- Get Thumb -->
<label>13405</label>
<onclick>RunScript(script.globalsearch,searchstring=$INFO[Listitem.Artist])</onclick>
<visible>!Skin.HasSetting(kioskininfo)</visible>
</item>

Just as a test I assumed this would now work, it doesn't show anything ??

Noticed for the extnedinfo script on that page there is a line

<animation effect="slide" start="0" end="-1280" time="400" tween="cubic" easing="inout" condition="StringCompare(Window.Property(script.extendedinfo.isactive),1)">Conditional</animation>

Do I need one of these for The Search Script ??

Anything else i Need to "IMPORT" or refernece to get this to call the Script ??

Thanks
Reply
(2016-03-09, 13:52)Silki Wrote: Ok I now have now changed this line on the DialogSongInfo.xml on my skin.

<item id="1"><!-- Get Thumb -->
<label>13405</label>
<onclick>RunScript(script.globalsearch,searchstring=$INFO[Listitem.Artist])</onclick>
<visible>!Skin.HasSetting(kioskininfo)</visible>
</item>

Just as a test I assumed this would now work, it doesn't show anything ??

code is correct, it works fine at my end.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Ronie,

its working my end now too (Needed to update to you new script)

So now I have a button (Label) that when clicked passes the artist over to you search that then returns some matches.

Great ...

The catch seems to be when I then click on that result it takes me back to the DialogSongInfo.xml screen

Any ideas Huh
Reply
The tweak I have done -

<item id="1"><!-- Get Thumb -->
<label>$INFO[Listitem.Artist]</label>
<onclick>RunScript(script.globalsearch,searchstring=$INFO[Listitem.Artist])</onclick>
<visible>!Skin.HasSetting(kioskininfo)</visible>
</item>

The whole XML :

<?xml version="1.0" encoding="UTF-8"?>
<window><!-- Aeon MQ 6 -->
<defaultcontrol always="true">149</defaultcontrol>
<onload condition="System.HasAddon(script.artistslideshow)">RunScript(script.artistslideshow)</onload>


<controls>
<control type="group"><!-- default group -->
<include>Animation_Window</include>
<animation effect="slide" start="0" end="-1280" time="400" tween="cubic" easing="inout" condition="StringCompare(Window.Property(script.extendedinfo.isactive),1)">Conditional</animation>
<control type="multiimage"><!-- Multi Fanart -->
<include>WindowBG</include>
<imagepath fallback="special://skin/backgrounds/music.jpg" background="true">$VAR[value_musicfanart]</imagepath>
</control>
<control type="image"><!-- Single Fanart -->
<include>WindowBG</include>
<texture background="true">$VAR[value_defaultmusicfanart]</texture>
</control>
<control type="multiimage" id="5032"><!-- Extra Fanart Artist/Album -->
<include>WindowBG</include>
<imagepath background="true">$INFO[Skin.String(CustomMusicLogoPath)]$INFO[ListItem.Artist,,/extrafanart/]</imagepath>
<visible>[Container.Content(artists) | Container.Content(albums)] + SubString(skin.string(musicfanart),extra)</visible>
</control>
<control type="multiimage" id="5033"><!-- Extra Fanart Song -->
<include>WindowBG</include>
<imagepath background="true">$INFO[ListItem.Path]extrafanart/</imagepath>
<visible>Container.Content(songs) + SubString(skin.string(musicfanart),extra)</visible>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<height>150</height>
<width>1280</width>
<texture flipy="true">shadow_mask.png</texture>
<colordiffuse>75000000</colordiffuse>
</control>
<control type="label"><!-- Artist -->
<left>30</left>
<top>8</top>
<width>1100</width>
<height>40</height>
<font>Font_40</font>
<label>$VAR[value_music_title]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
</control>
<control type="label">
<left>30</left>
<top>50</top>
<width>1100</width>
<height>25</height>
<font>Font_21</font>
<label>$VAR[value_music_subtitle]</label>
<textcolor>90FFFFFF</textcolor>
<scroll>true</scroll>
</control>
<control type="image"><!-- Star -->
<left>1179</left>
<top>5</top>
<width>73</width>
<height>73</height>
<align>center</align>
<aligny>center</aligny>
<texture>star.png</texture>
<colordiffuse>$VAR[value_headercolor]</colordiffuse>
</control>
<control type="label">
<left>1185</left>
<top>15</top>
<width>60</width>
<height>60</height>
<align>center</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Rating]</label>
<textcolor>FF101010</textcolor>
</control>
<control type="image">
<left>0</left>
<top>80</top>
<width>1280</width>
<height>386</height>
<texture>darkgrey.png</texture>
<colordiffuse>$VAR[value_texturecolor]</colordiffuse>
<include>Animation_DefaultGlass</include>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>1280</width>
<height>80</height>
<texture>gradient_small.png</texture>
</control>
<control type="image">
<left>205</left>
<top>80</top>
<height>190</height>
<width>2</width>
<texture>separator_v.png</texture>
</control>
<control type="image">
<left>0</left>
<top>136</top>
<height>2</height>
<width>686</width>
<texture>separator.png</texture>
</control>
<control type="label"><!-- Year -->
<left>220</left>
<top>80</top>
<height>40</height>
<width>110</width>
<align>left</align>
<aligny>center</aligny>
<font>Font_24A</font>
<label>$INFO[ListItem.Year]</label>
<textcolor>FFFFFAF0</textcolor>
</control>
<control type="label"><!-- Genre -->
<left>220</left>
<top>103</top>
<height>40</height>
<width>490</width>
<align>left</align>
<aligny>center</aligny>
<font>Font_24A</font>
<label>$INFO[ListItem.Genre]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
</control>
<control type="label"><!-- Track -->
<left>-10</left>
<top>140</top>
<height>27</height>
<width>200</width>
<align>right</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label>$LOCALIZE[554]</label>
<textcolor>$VAR[value_headercolor]</textcolor>
</control>
<control type="label">
<left>220</left>
<top>140</top>
<height>27</height>
<width>440</width>
<align>left</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label fallback="161">$VAR[value_songinfo_track]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
</control>
<control type="label"><!-- Duration -->
<left>-10</left>
<top>160</top>
<height>27</height>
<width>200</width>
<align>right</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label>$LOCALIZE[180]</label>
<textcolor>$VAR[value_headercolor]</textcolor>
</control>
<control type="label">
<left>220</left>
<top>160</top>
<height>27</height>
<width>440</width>
<align>left</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label fallback="161">$VAR[value_songinfo_duration]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
</control>
<control type="label"><!-- Data -->
<left>-10</left>
<top>180</top>
<height>27</height>
<width>200</width>
<align>right</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label>$LOCALIZE[31942]</label>
<textcolor>$VAR[value_headercolor]</textcolor>
<visible>Player.HasAudio</visible>
</control>
<control type="label">
<left>220</left>
<top>180</top>
<height>27</height>
<width>440</width>
<align>left</align>
<aligny>center</aligny>
<font>Font_18A</font>
<label>$LOCALIZE[31333] $INFO[MusicPlayer.Channels][COLOR=80ffffff] | [/COLOR]$INFO[MusicPlayer.SampleRate,,KHZ][COLOR=80ffffff] | [/COLOR]$INFO[MusicPlayer.BitRate,,Kbps][COLOR=80ffffff] | [/COLOR]$INFO[MusicPlayer.BitsPerSample,,Bits]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<visible>Player.HasAudio</visible>
</control>
<control type="image">
<left>0</left>
<top>270</top>
<height>2</height>
<width>686</width>
<texture>separator.png</texture>
</control>
<control type="textbox"><!-- Plot -->
<left>30</left>
<top>280</top>
<width>635</width>
<height>175</height>
<align>justify</align>
<font>Font_18A</font>
<label>$VAR[value_songinfo_plot]</label>
<textcolor>FFFFFAF0</textcolor>
<autoscroll delay="15000" time="5000" repeat="15000">!Skin.HasSetting(noinfoplotscroll)</autoscroll>
</control>
<control type="image"><!-- Thumb -->
<left>687</left>
<top>80</top>
<height>386</height>
<width>563</width>
<aspectratio align="left">keep</aspectratio>
<texture background="true">$VAR[value_songinfo_thumb]</texture>
<visible>IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
</control>
<control type="multiimage"><!-- Artist -->
<left>687</left>
<top>80</top>
<height>386</height>
<width>563</width>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>FanartCrossFadeTime</fadetime>
<aspectratio align="left">keep</aspectratio>
<imagepath fallback="DefaultAudioCover.png" background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
</control>
<control type="image">
<left>686</left>
<top>80</top>
<height>386</height>
<width>2</width>
<texture>separator_v.png</texture>
</control>
<control type="image">
<left>0</left>
<top>80</top>
<height>2</height>
<width>1280</width>
<texture>separator.png</texture>
</control>
<control type="image"><!-- Fundo do rodape -->
<left>0</left>
<top>650</top>
<width>1280</width>
<height>70</height>
<texture>shadow_mask.png</texture>
<colordiffuse>$VAR[value_floorcolor]</colordiffuse>
<include>Animation_FloorGlass</include>
</control>
<control type="grouplist"><!-- Etiquetas -->
<left>20</left>
<top>682</top>
<orientation>horizontal</orientation>
<itemgap>33</itemgap>
<animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
<animation effect="slide" start="0,0" end="0,300" time="500" tween="sine" easing="in">Hidden</animation>
<visible>Control.HasFocus(149)</visible>
<control type="image"><!-- Audio Codec -->
<include>FlagImage</include>
<texture>$VAR[value_songinfo_codec]</texture>
</control>
<control type="image"><!-- Channels -->
<include>FlagImage</include>
<texture>$VAR[value_songinfo_channels]</texture>
</control>
</control>
<control type="group"><!-- Discografia -->
<left>0</left>
<top>685</top>
<animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,300" end="0,0" time="500" tween="sine" easing="out">Visible</animation>
<animation effect="slide" start="0,0" end="0,300" time="500" tween="sine" easing="in">Hidden</animation>
<visible>Control.HasFocus(50)</visible>
<control type="label">
<left>0</left>
<top>9</top>
<width>1280</width>
<align>center</align>
<aligny>center</aligny>
<label>31939</label>
<font>Font_18A</font>
<textcolor>$VAR[value_flagscolor]</textcolor>
<visible>IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName))</visible>
</control>
<control type="label">
<left>30</left>
<top>0</top>
<width>400</width>
<height>27</height>
<align>left</align>
<aligny>center</aligny>
<font>Font_18A</font>
<textcolor>$VAR[value_flagscolor]</textcolor>
<visible>IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName)) + !IsEmpty(Window.Property(ArtistSlideshowRunning))</visible>
</control>
<control type="label"><!-- Discografia -->
<left>30</left>
<top>8</top>
<width>650</width>
<align>left</align>
<aligny>center</aligny>
<font>Font_15</font>
<label>$LOCALIZE[21888]: $INFO[Container(50).NumItems] $LOCALIZE[132]</label>
<textcolor>$VAR[value_flagscolor]</textcolor>
<scroll>true</scroll>
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName))</visible>
</control>
<control type="label">
<left>30</left>
<top>12</top>
<width>400</width>
<height>27</height>
<align>left</align>
<aligny>center</aligny>
<font>Font_15</font>
<textcolor>$VAR[value_flagscolor]</textcolor>
<label>$LOCALIZE[31941]: 50 $LOCALIZE[31040]</label>
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName))</visible>
</control>
<control type="label"><!-- Nome do album -->
<left>315</left>
<top>16</top>
<width>650</width>
<align>center</align>
<aligny>center</aligny>
<font>Font_24</font>
<label>$INFO[Container(50).ListItem.Label]</label>
<textcolor>$VAR[value_flagscolor]</textcolor>
<scroll>true</scroll>
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName))</visible>
</control>
</control>
<control type="image">
<left>0</left>
<top>680</top>
<height>43</height>
<width>1280</width>
<texture>gradient_small.png</texture>
</control>

<control type="image"><!-- Cast -->
<left>0</left>
<top>679</top>
<width>1280</width>
<height>30</height>
<texture flipy="true">shadow_h.png</texture>
<colordiffuse>C3FFFFFF</colordiffuse>
</control>
<control type="image">
<left>0</left>
<top>494</top>
<height>186</height>
<width>1280</width>
<texture>darkgrey.png</texture>
<colordiffuse>$VAR[value_texturecolor]</colordiffuse>
<include>Animation_DefaultGlass2</include>
</control>
<control type="group">
<visible>Player.HasAudio + system.hasaddon(script.artistslideshow)</visible>
<control type="list" id="50">
<viewtype label="List">List Info</viewtype>
<left>52</left>
<top>492</top>
<width>1200</width>
<height>220</height>
<onup>149</onup>
<ondown>Skin.Reset(artistzoom)</ondown>
<ondown>SetFocus(160)</ondown>
<ondown>Skin.SetBool(coverzoom)</ondown>
<orientation>horizontal</orientation>
<scrolltime>350</scrolltime>
<focusposition>2</focusposition>
<movement>2</movement>
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName))</visible>
<itemlayout height="170" width="248">
<control type="image">
<left>0</left>
<top>5</top>
<width>180</width>
<height>180</height>
<aligny>center</aligny>
<align>left</align>
<aspectratio>scale</aspectratio>
<texture fallback="DefaultAudioCover.png" background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="-2">black.png</bordertexture>
<colordiffuse>FF909090</colordiffuse>
</control>
</itemlayout>
<focusedlayout height="170" width="248">
<control type="image">
<left>0</left>
<top>5</top>
<width>180</width>
<height>180</height>
<aligny>center</aligny>
<align>left</align>
<aspectratio>scale</aspectratio>
<texture fallback="DefaultAudioCover.png" background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="-2">black.png</bordertexture>
<colordiffuse>FF909090</colordiffuse>
<include>Animation_Fade</include>
<visible>!Control.HasFocus(50)</visible>
</control>
<control type="image">
<left>0</left>
<top>5</top>
<width>180</width>
<height>180</height>
<aligny>center</aligny>
<align>left</align>
<aspectratio>scale</aspectratio>
<texture fallback="DefaultAudioCover.png" background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="-2">grey.png</bordertexture>
<include>Animation_Fade</include>
<visible>Control.HasFocus(50)</visible>
</control>
</focusedlayout>
<include>AlbumContent</include>
</control>
</control>
<control type="group"><!-- Menu bar -->
<left>0</left>
<top>465</top>
<control type="image">
<left>0</left>
<top>-30</top>
<width>1280</width>
<height>30</height>
<texture>shadow_h.png</texture>
<colordiffuse>C3FFFFFF</colordiffuse>
</control>
<control type="image">
<left>0</left>
<top>29</top>
<width>1280</width>
<height>30</height>
<texture flipy="true">shadow_h.png</texture>
<colordiffuse>C3FFFFFF</colordiffuse>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>1280</width>
<height>30</height>
<texture>darkgrey.png</texture>
<colordiffuse>$VAR[value_texturecolor]</colordiffuse>
<include>Animation_DefaultGlass2</include>
</control>
<control type="list" id="149">
<left>0</left>
<top>3</top>
<width>1280</width>
<height>25</height>
<onup condition="Container(149).HasFocus(4)">IncreaseRating</onup>
<ondown condition="Container(149).HasFocus(4)">DecreaseRating</ondown>
<ondown condition="![Container(149).HasFocus(4) | IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName))]">50</ondown>
<orientation>horizontal</orientation>
<pagecontrol>-</pagecontrol>
<scrolltime>300</scrolltime>
<focusposition>3</focusposition>
<itemlayout height="25" width="182">
<control type="image">
<left>0</left>
<top>0</top>
<width>1</width>
<height>25</height>
<texture>separator_v.png</texture>
</control>
<control type="label">
<left>10</left>
<top>0</top>
<height>25</height>
<width>162</width>
<align>center</align>
<aligny>center</aligny>
<font>Font_18</font>
<label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
<textcolor>80FFFAF0</textcolor>
</control>
</itemlayout>
<focusedlayout height="25" width="182">
<control type="image">
<left>0</left>
<top>-1</top>
<width>182</width>
<height>27</height>
<texture>settings_button_focus.png</texture>
<visible>Control.Hasfocus(149)</visible>
</control>
<control type="image">
<left>6</left>
<top>3</top>
<width>20</width>
<height>20</height>
<texture>arrow_down.png</texture>
<colordiffuse>FF101010</colordiffuse>
<visible>Container(149).HasFocus(4)</visible>
</control>
<control type="image">
<left>156</left>
<top>3</top>
<width>20</width>
<height>20</height>
<texture>arrow_up.png</texture>
<colordiffuse>FF101010</colordiffuse>
<visible>Container(149).HasFocus(4)</visible>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>1</width>
<height>25</height>
<texture>separator_v.png</texture>
</control>
<control type="label">
<left>10</left>
<top>0</top>
<height>25</height>
<width>162</width>
<align>center</align>
<aligny>center</aligny>
<font>Font_18</font>
<label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
<textcolor>FF101010</textcolor>
<visible>Control.Hasfocus(149)</visible>
</control>
<control type="label">
<left>10</left>
<top>0</top>
<height>25</height>
<width>162</width>
<align>center</align>
<aligny>center</aligny>
<font>Font_18</font>
<label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
<textcolor>B6FFFFFF</textcolor>
<visible>!Control.Hasfocus(149)</visible>
</control>
</focusedlayout>
<content>
<item id="1"><!-- Get Thumb -->
<label>$INFO[Listitem.Artist]</label>
<onclick>RunScript(script.globalsearch,searchstring=$INFO[Listitem.Artist])</onclick>
<visible>!Skin.HasSetting(kioskininfo)</visible>
</item>
<item id="2"><!-- Get Fanart -->
<label>10523</label>
<onclick>SendClick(12)</onclick>
<visible>!Skin.HasSetting(kioskininfo)</visible>
</item>
<item id="3"><!-- Artist Info -->
<label>31885</label>
<onclick>RunScript(script.extendedinfo,$INFO[Listitem.Artist])</onclick>
<visible>System.HasAddon(script.extendedinfo)</visible>
</item>
<item id="4"><!-- Rating -->
<label>31936</label>
<onclick>SendClick(10)</onclick>
<visible>!Skin.HasSetting(kioskininfo)</visible>
</item>
<item id="5"><!-- Artist Zoom -->
<label>31944</label>
<onclick>Skin.Reset(coverzoom)</onclick>
<onclick>Skin.SetBool(artistzoom)</onclick>
<onclick>SetFocus(160)</onclick>
</item>
<item id="6"><!-- Video Clips -->
<label>31949</label>
<onclick>Dialog.Close(135)</onclick>
<onclick>Skin.SetBool(musictrailers)</onclick>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[ListItem.Artist],return)</onclick>
</item>
<item id="7"><!-- Song Video Clip -->
<label>31951</label>
<onclick>Dialog.Close(135)</onclick>
<onclick>Skin.SetBool(musictrailers)</onclick>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[ListItem.Title],return)</onclick>
</item>
</content>
</control>
</control>
</control>
<control type="button" id="160">
<include>InvisibleButton</include>
<onup condition="Skin.HasSetting(artistzoom)">SetFocus(149)</onup>
<onup condition="Skin.HasSetting(coverzoom)">SetFocus(50)</onup>
<ondown condition="Skin.HasSetting(artistzoom)">SetFocus(149)</ondown>
<ondown condition="Skin.HasSetting(coverzoom)">SetFocus(50)</ondown>
<onleft condition="Skin.HasSetting(artistzoom)">SetFocus(149)</onleft>
<onleft condition="Skin.HasSetting(coverzoom)">SetFocus(50)</onleft>
<onright condition="Skin.HasSetting(artistzoom)">SetFocus(149)</onright>
<onright condition="Skin.HasSetting(coverzoom)">SetFocus(50)</onright>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>1280</width>
<height>720</height>
<texture>darkgrey.png</texture>
<animation effect="fade" start="0" end="100" time="200">Visible</animation>
<animation effect="fade" start="100" end="0" time="400">Hidden</animation>
<visible>Control.HasFocus(160)</visible>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>1280</width>
<height>720</height>
<texture>hive_back.png</texture>
<animation effect="fade" start="0" end="100" time="200">Visible</animation>
<animation effect="fade" start="100" end="0" time="400">Hidden</animation>
<visible>Control.HasFocus(160)</visible>
</control>
<control type="group">
<left>-1280</left>
<top>15</top>
<animation effect="slide" start="0,0" end="1280,0" time="400" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
<animation effect="slide" start="0,0" end="0,-25" time="600" delay="1000" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
<control type="image">
<description>Cover image</description>
<left>35</left>
<top>32</top>
<width>1280</width>
<height>640</height>
<aspectratio>keep</aspectratio>
<texture diffuse="thumb_cdcover_mask.png" background="true">$INFO[Container(50).ListItem.Icon]</texture>
<visible>Skin.HasSetting(coverzoom)</visible>
</control>
<control type="image"><!-- Thumb -->
<left>35</left>
<top>32</top>
<width>1200</width>
<height>640</height>
<aspectratio align="center">keep</aspectratio>
<texture background="true">$INFO[Listitem.Icon]</texture>
<visible>!IsEmpty(ListItem.Thumb) + Skin.HasSetting(artistzoom)</visible>
</control>
<control type="multiimage"><!-- Artist -->
<left>35</left>
<top>32</top>
<width>1200</width>
<height>640</height>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>FanartCrossFadeTime</fadetime>
<aspectratio align="center">keep</aspectratio>
<imagepath fallback="DefaultAudioCover.png" background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
<visible>IsEmpty(ListItem.Thumb) + Skin.HasSetting(artistzoom)</visible>
</control>
</control>

<control type="group">
<visible>Control.HasFocus(160)</visible>
<animation effect="slide" start="0,0" end="0,-80" time="600" delay="1000" tween="cubic" easing="inout" condition="Control.HasFocus(160)">Conditional</animation>
<control type="image">
<left>0</left>
<top>760</top>
<height>40</height>
<width>1280</width>
<texture>darkgrey.png</texture>
<colordiffuse>$VAR[value_texturecolor]</colordiffuse>
<include>Animation_DefaultGlass2</include>
</control>
<control type="label">
<left>0</left>
<top>760</top>
<height>40</height>
<width>1280</width>
<align>center</align>
<aligny>center</aligny>
<label>$VAR[value_audioinfo_zoomlabel]</label>
<font>Font_24</font>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
</control>
<control type="image">
<left>0</left>
<top>760</top>
<height>40</height>
<width>1280</width>
<texture>gradient_small.png</texture>
</control>
<include>BGBlack</include>
</control>
</controls>
</window>
Reply
you need to use the context menu in the globalsearch results screen.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
On the results If I then press I then play it plays the track but artist matches I see Browse when i press i that then takes me back to the SONG INFO page.

Now I know this is working (Well I'm calling you script Ronnie)

I might try and look at adding this to the context menu, would this solve this navigation issue too maybe ?? I'm assuming it something to do with what Dialogue is diplayed or something.

Again forgive my ignorance i'm new to this

--------------------------------------------------------------------------

Just seen your reply ... anyway this can be changed just to press ok ??
Reply
nope.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 42

Logout Mark Read Team Forum Stats Members Help
GlobalSearch Script1