2015-06-10, 04:36
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
2015-06-10, 04:36
2015-06-14, 17:13
Hi Phil,
As I can't get "Artworkdownloader : Choose Art" i.e. Sendclick*2003,10) to work from within a new version of DIaloginfo.xml with extendedinfo calls or from the context menu ( as a possible placement to allow moving to new DialogVideoInfo), then I'm trying to update the current DialogVideoInfo and move away from moreinfo / metadata actors and replace with extendedinfo calls
The code at the moment for actors is:
Which I've changed to:
When I select an actor now I get dialogbusy but then nothing? it seems script-ExtendedInfo Script-DialogInfo executes but nothing appears on screen and I've lost focus, if I press esc then it seems to exit script-ExtendedInfo Script-DialogInfo and return to the actors?
Here's my logfile > Logfile
Any ideas & pointers on what I've got wrong?
Mike
Edit:> Found it is loading but in the background see screenshot, you can see the text below dialogvideoinfo:

As I can't get "Artworkdownloader : Choose Art" i.e. Sendclick*2003,10) to work from within a new version of DIaloginfo.xml with extendedinfo calls or from the context menu ( as a possible placement to allow moving to new DialogVideoInfo), then I'm trying to update the current DialogVideoInfo and move away from moreinfo / metadata actors and replace with extendedinfo calls
The code at the moment for actors is:
Code:
<item>
<label>$INFO[Container(50).ListItem(0).Label]</label>
<label2>$INFO[Container(50).ListItem(0).Label2]</label2>
<thumb>$INFO[Container(50).ListItem(0).Thumb]</thumb>
<visible>!IsEmpty(Container(50).ListItemNoWrap(0).Label)</visible>
<onclick>SetProperty(Position,0)</onclick>
<onclick>SetFocus(599)</onclick>
</item>
Which I've changed to:
Code:
<item>
<label>$INFO[Container(50).ListItem(0).Label]</label>
<label2>$INFO[Container(50).ListItem(0).Label2]</label2>
<thumb>$INFO[Container(50).ListItem(0).Thumb]</thumb>
<visible>!IsEmpty(Container(50).ListItemNoWrap(0).Label)</visible>
<!--onclick>SetProperty(Position,0)</onclick-->
<!--onclick>SetFocus(599)</onclick-->
<onclick>RunScript(script.extendedinfo,info=extendedactorinfo,name=$INFO[Container(50).Listitem(0).Label])</onclick>
</item>
When I select an actor now I get dialogbusy but then nothing? it seems script-ExtendedInfo Script-DialogInfo executes but nothing appears on screen and I've lost focus, if I press esc then it seems to exit script-ExtendedInfo Script-DialogInfo and return to the actors?
Here's my logfile > Logfile
Any ideas & pointers on what I've got wrong?
Mike
Edit:> Found it is loading but in the background see screenshot, you can see the text below dialogvideoinfo:

2015-06-14, 17:36
Change the zorder.
2015-06-14, 17:43
Thanks Hither, looked it up in wiki and gave updated script-ExtendedInfo Script-DialogInfo to have <zorder>2</zorder> and it's no looking ok.
The only thing puzzling is that no zorder exists in any of xmls being used and also when I use the new version of DialogVideoInfo then when selecting an actor script script-ExtendedInfo Script-DialogInfo executes and works correctly i.e. displayed on top, strange?
Mike.
The only thing puzzling is that no zorder exists in any of xmls being used and also when I use the new version of DialogVideoInfo then when selecting an actor script script-ExtendedInfo Script-DialogInfo executes and works correctly i.e. displayed on top, strange?
Mike.
2015-06-14, 20:18
Hi,
Is there a extendedinfo replacement for this from metadata.actors:
---
** HOME WIDGET : Most Popular Artists Born Today **
Parameters:
RunScript(script.metadata.actors,borntoday[,limit,random])
limit : 1 - 100 max
random : random and choice limit in 100 peoples
For example:
<onload condition="System.HasAddon(script.metadata.actors)">RunScript(script.metadata.actors,borntoday,10,random)</onload>
---
I've searched the Readme for both extendedinfo and skin.info and couldn't find anything so just making sure?
If there isn't anything is there another solution for doing this available today?
Thanks,
Mike.
Is there a extendedinfo replacement for this from metadata.actors:
---
** HOME WIDGET : Most Popular Artists Born Today **
Parameters:
RunScript(script.metadata.actors,borntoday[,limit,random])
limit : 1 - 100 max
random : random and choice limit in 100 peoples
For example:
<onload condition="System.HasAddon(script.metadata.actors)">RunScript(script.metadata.actors,borntoday,10,random)</onload>
---
I've searched the Readme for both extendedinfo and skin.info and couldn't find anything so just making sure?
If there isn't anything is there another solution for doing this available today?
Thanks,
Mike.
2015-06-15, 02:27
(2015-06-14, 17:43)Mike_Doc Wrote: [ -> ]Thanks Hither, looked it up in wiki and gave updated script-ExtendedInfo Script-DialogInfo to have <zorder>2</zorder> and it's no looking ok.
The only thing puzzling is that no zorder exists in any of xmls being used and also when I use the new version of DialogVideoInfo then when selecting an actor script script-ExtendedInfo Script-DialogInfo executes and works correctly i.e. displayed on top, strange?
Mike.
That´s because the xml is opened via python .doModal(), that somehow fucks up zorder. Needs a fix in core I think, you have to workaround it for now.
2015-06-15, 02:28
(2015-06-14, 20:18)Mike_Doc Wrote: [ -> ]Hi,
Is there a extendedinfo replacement for this from metadata.actors:
---
** HOME WIDGET : Most Popular Artists Born Today **
Parameters:
RunScript(script.metadata.actors,borntoday[,limit,random])
limit : 1 - 100 max
random : random and choice limit in 100 peoples
For example:
<onload condition="System.HasAddon(script.metadata.actors)">RunScript(script.metadata.actors,borntoday,10,random)</onload>
---
I've searched the Readme for both extendedinfo and skin.info and couldn't find anything so just making sure?
If there isn't anything is there another solution for doing this available today?
Thanks,
Mike.
info=popularpeople is available, but no direct replacement for that function.
2015-06-15, 09:19
Thanks for letting me know Phil.
I'll look into either replacing with your suggestion or removing as I think this metadata call has just recently broken for whatever reason and as such needs replaced / removed.
I'll look into either replacing with your suggestion or removing as I think this metadata call has just recently broken for whatever reason and as such needs replaced / removed.
2015-06-15, 11:01
Another last bigger feature for 3.0:
The script should now properly detect tvshows which are available locally. (needs a button with id 120 in dialogvideoinfo, see ref implementation)
Again, like for movies, this relies on tvshows havin the same name locally and online (or a dbid passed to info=extendedtvshowinfo). No way I can improve that atm.
Still needs bit of tweaking, but the largest parts should work now.
The script should now properly detect tvshows which are available locally. (needs a button with id 120 in dialogvideoinfo, see ref implementation)
Again, like for movies, this relies on tvshows havin the same name locally and online (or a dbid passed to info=extendedtvshowinfo). No way I can improve that atm.
Still needs bit of tweaking, but the largest parts should work now.
2015-06-15, 22:16
Great changes. So far everything works really well.
2015-06-16, 01:31
Made another bigger change and implemented a basic WindowManager class which manages the opening/closing of all dialogs (last change, I promise
)
I also changed behaviour so that when switching dialogs, the previoius dialog stays open until the new one has finished loading (before it closed instantly) I hope that doesnt cause side-effects. If it does, tell me.
Would be nice to get at least 3 ACKs from skinners to make sure nothing important is broken. Please test esp. opening the dialog from different places (plugin section, program section, context menu, calls from DialogVideoInfo)

I also changed behaviour so that when switching dialogs, the previoius dialog stays open until the new one has finished loading (before it closed instantly) I hope that doesnt cause side-effects. If it does, tell me.

Would be nice to get at least 3 ACKs from skinners to make sure nothing important is broken. Please test esp. opening the dialog from different places (plugin section, program section, context menu, calls from DialogVideoInfo)
2015-06-17, 00:14
I haven't experienced any problems yet with latest Github 
I will keep testing the next couple of days as I'm currently adding more features...

I will keep testing the next couple of days as I'm currently adding more features...
2015-06-17, 10:05
Hi,
Attempting to do multiple executes onload of DialogAlbumInfo as such:
<onload condition="Container.Content(artists)">RunScript(script.extendedinfo,info=artistdetails,artistname=$ESCINFO[ListItem.Artist],silent=False)</onload>
<onload condition="Container.Content(artists)">RunScript(script.extendedinfo,info=artistevents&&artistname=$INFO[ListItem.Artist],silent=False)</onload>
I'm only getting one execution in the logfile for the artistdetails:
The artistevents doesn't seem to be working, so what have I got wrong?
Mike
Attempting to do multiple executes onload of DialogAlbumInfo as such:
<onload condition="Container.Content(artists)">RunScript(script.extendedinfo,info=artistdetails,artistname=$ESCINFO[ListItem.Artist],silent=False)</onload>
<onload condition="Container.Content(artists)">RunScript(script.extendedinfo,info=artistevents&&artistname=$INFO[ListItem.Artist],silent=False)</onload>
I'm only getting one execution in the logfile for the artistdetails:
Code:
08:59:55 T:11056 DEBUG: script.extendedinfo: found artist id for Fleetwood Mac: bd13909f-1c29-4c27-a874-d4aaf27c5b1a
08:59:55 T:11056 DEBUG: script.extendedinfo: {
"artist_mbid": "bd13909f-1c29-4c27-a874-d4aaf27c5b1a",
"artistname": "Fleetwood Mac",
"control": null,
"default.py": "",
"handle": null,
"silent": "False"
}
08:59:55 T:11056 DEBUG: script.extendedinfo: [
"artistdetails"
]
08:59:55 T:11056 DEBUG: script.extendedinfo: prop load for http://www.theaudiodb.com/api/v1/json/58353d43204d68753987fl/search.php?s=Fleetwood+Mac. time: 0.002000
08:59:55 T:11056 NOTICE: finished
08:59:55 T:11056 INFO: CPythonInvoker(73, C:\Users\Mike\AppData\Roaming\Kodi\addons\script.extendedinfo-master\default.py): script successfully run
08:59:55 T:11056 INFO: Python script stopped
The artistevents doesn't seem to be working, so what have I got wrong?
Mike
2015-06-17, 13:04
Why do you want that call? You probably dont even know what it is doing (it's not documented yet), so you shouldnt need it.
2015-06-17, 13:20
DialogAlbumInfo has all these items within a content for 'upcoming concerts' and the relevant widget is empty so I presumed the call was missing as only the 'artistdetails' existed so I added the artistevents after it was confirmed extendedinfo is responsible for these infolabels
These may have existed from when the skin used moreinfo and I'm trying to remove moreinfo from the skin at the moment.
Mike.
Code:
<content>
<item id="1">
<label>$INFO[Window(Home).Property(ArtistEvents.1.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.1.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.1.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.1.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.1.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),0)</visible>
</item>
<item id="2">
<label>$INFO[Window(Home).Property(ArtistEvents.2.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.2.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.2.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.2.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.2.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),1)</visible>
</item>
<item id="3">
<label>$INFO[Window(Home).Property(ArtistEvents.3.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.3.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.3.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.3.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.3.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),2)</visible>
</item>
<item id="4">
<label>$INFO[Window(Home).Property(ArtistEvents.4.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.4.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.4.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.4.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.4.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),3)</visible>
</item>
<item id="5">
<label>$INFO[Window(Home).Property(ArtistEvents.5.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.5.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.5.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.5.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.5.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),4)</visible>
</item>
<item id="6">
<label>$INFO[Window(Home).Property(ArtistEvents.6.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.6.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.6.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.6.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.6.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),5)</visible>
</item>
<item id="7">
<label>$INFO[Window(Home).Property(ArtistEvents.7.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.7.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.7.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.7.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.7.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),6)</visible>
</item>
<item id="8">
<label>$INFO[Window(Home).Property(ArtistEvents.8.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.8.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.8.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.8.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.8.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),7)</visible>
</item>
<item id="9">
<label>$INFO[Window(Home).Property(ArtistEvents.9.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.9.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.9.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.9.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.9.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),8)</visible>
</item>
<item id="10">
<label>$INFO[Window(Home).Property(ArtistEvents.10.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.10.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.10.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.10.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.10.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),9)</visible>
</item>
<item id="11">
<label>$INFO[Window(Home).Property(ArtistEvents.11.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.11.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.11.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.11.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.11.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),10)</visible>
</item>
<item id="12">
<label>$INFO[Window(Home).Property(ArtistEvents.12.Artists)]</label>
<label2>$INFO[Window(Home).Property(ArtistEvents.12.Date)]</label2>
<property name="City">$INFO[Window(Home).Property(ArtistEvents.12.City)]</property>
<property name="Name">$INFO[Window(Home).Property(ArtistEvents.12.Name)]</property>
<onclick>ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Window(Home).Property(ArtistEvents.12.Artists)],return)</onclick>
<onclick>Dialog.Close(musicinformation)</onclick>
<visible>IntegerGreaterThan(Window(Home).Property(ArtistEvents.Count),11)</visible>
</item>
</content>
These may have existed from when the skin used moreinfo and I'm trying to remove moreinfo from the skin at the moment.
Mike.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155