Kodi Community Forum

Full Version: Sendclick issue / query
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Afternoon,

The skin I use has an extras button in the DialogVideoInfo screen which within it has this option:

Code:
<control type="button" id="116">
                  <description>Artwork downloader button choose art</description>
                <include>Objects_CommonSettingsButton</include>
                <onclick>Dialog.Close(1119)</onclick>
                <onclick>SendClick(2003,10)</onclick>
                <label>$INFO[System.AddonTitle(script.artwork.downloader),,: $LOCALIZE[13511]]</label>
                <visible>System.HasAddon(script.artwork.downloader) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(episodes) | Container.Content(seasons)]</visible>
            </control>

This is basically an option run Artwork Downloader: Choose Art that should display a window listing all art options and allow selection to update.

I'm attempting to upgrade the DialogVideoInfo to get rid of metadata actors and the main problem I have right now is that all options on the extras menu work but this one when selected?

Would anyone know why the sendclick works in one instance and not another?

Regards,

Mike.
always post complete code (preferably on GitHub).
what does button with id 10 contain?
Hi Phil,

Sorry. My modded skin isn't on Github, only starting looking into that. Not 100% as I haven't fully located 2003,10 in the skin?.
(2015-06-09, 17:07)Mike_Doc Wrote: [ -> ]Hi Phil,

Sorry. My modded skin isn't on Github, only starting looking into that. Not 100% as I haven't fully located 2003,10 in the skin?.

2003 is DialogVideoInfo.xml (see Window IDs (wiki)), 10 would have to be a button inside that dialog.
Thanks Phil,

I'll have to go back to investigating it as there is no button 10 in the existing DialogVideoInfo so right now I don't understand how it is working in the existing configuration?

Mike.
just add some pseudo button, doesnt have to be visible.
http://kodi.wiki/view/List_of_Built_In_C...eoInfo.xml
This has nothing to do with Artwork downloader add-on though.