Posts: 8,283
Joined: Jul 2014
(2015-11-14, 06:34)Mr. V Wrote: Hi Marcel,
Having Some issues with what I would like to do. I am trying to get discart to display in a dynamic list panel container on the home screen for library data provider music widgets.
I'm actually thinking it may be a limitation of the script so it may border on a feature request or quite possibly something I have missed.
For music artwork such as Window(Home).Property(SkinHelper.Music.DiscArt).
In the home.xml I have <onload>SetProperty(SkinHelper.WidgetContainer,8001,home)</onload>
It works fine using $INFO[Window(Home).Property(SkinHelper.Music.DiscArt)] outside of container 8001.
So I have two issues
1. Within the panel container 8001 it will not show any discart.
2. I have two containers for widget 1 (8001) and widget 2 (8002). So setting the onload property will not work for each container.
You can't use $INFO properties (home properties or skin settings) inside a container, it's a Kodi limitation.
Even if that would work it wouldn't be a great idea because this method will only provide you the details for the current focused listitem.
I have 2 solutions for your 2 problems
1) Look in the documentation for the webservice which you can use inside panels/containers. For example:
<texture background="true">http://localhost:52307/getmusicart&dbid=$INFO[Listitem.DBID]&type=banner,clearlogo,discart&contenttype=artists</texture>
2) You can set onfocus on the panel/container itself, so on your 8001 panel <onfocus>SetProperty(SkinHelper.WidgetContainer,8001,home)</panel>
Posts: 8,283
Joined: Jul 2014
(2015-11-14, 04:30)SeedyEvil Wrote: Just starting to use this great script on a small mod of a MusicVisualisation.xml. I'm using the following to display artist logo.
Code:
<texture>$INFO[Window(Home).Property(SkinHelper.Player.Music.ClearLogo)]</texture>
From what I've seen it uses the Album Artist to find the logo. Would it be possible to use the Track Artist instead as this would work better for the likes of compilation CDs
Hmm, it should use the track artist... At least, that's what it's supposed to do ;-)
I will look into it right away.
Posts: 8,283
Joined: Jul 2014
(2015-11-14, 04:30)SeedyEvil Wrote: From what I've seen it uses the Album Artist to find the logo. Would it be possible to use the Track Artist instead as this would work better for the likes of compilation CDs
Can you test with the latest Git ? I changed it a bit to prefer the real artist instead of the artist belonging to the album.
Remember to flush the cache before testing in the addon settings..
Posts: 1,470
Joined: Aug 2011
Reputation:
46
im85288
Skilled Python Coder
Posts: 1,470
Marcel did you get a chance to check the track list order? If your busy I can dig in myself and perhaps do a PR if needed. Cheers
Posts: 8,283
Joined: Jul 2014
(2015-11-15, 21:12)im85288 Wrote: Marcel did you get a chance to check the track list order? If your busy I can dig in myself and perhaps do a PR if needed. Cheers
I'll take a look tomorrow. Been busy today with family stuff
Posts: 8,283
Joined: Jul 2014
(2015-11-15, 21:12)im85288 Wrote: Marcel did you get a chance to check the track list order? If your busy I can dig in myself and perhaps do a PR if needed. Cheers
Track listing should be fixed with latest Git, can you check please ?
Note to flush the cache first
Posts: 8,283
Joined: Jul 2014
(2015-11-15, 20:13)tomer953 Wrote: Marcel, Since your color picker is become very advanced, I am now Integrating my own color picker with your script.
I moved all my colors, to extras\colors folder and created colors.xml file.
I also made script-skin_helper_service-ColorPicker.xml file,
and I get this error when trying to pick a color:
I have looked at the code and the only error I could spot is when the dialog was closed (back/exit button) when no color was selected it would throw this error. I have just fixed that on Git.
Posts: 1,157
Joined: Aug 2014
Reputation:
48
Jayz2K
Skilled Skinner
Posts: 1,157
Hi Marcel,
I'm fine tuning my autoconfig and just noticed using the backup restore in silent mode doesn't show the progress and "completed" notification as it was previously. Is this a normal behavior or did I miss something ?
I first thought it wasn't working but I see my views changing realtime, so it writes the settings correctly.
But since it works in background without notifications, I'm also able to browse my designer and change the settings that are writing by your script the same time (and my restore takes about 2/3 mins to write everything).
Thanks
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project
If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Posts: 8,283
Joined: Jul 2014
(2015-11-15, 13:34)Solo0815 Wrote: I can't confirm that. skin.helper isn't loading any logo for some compilations or is loading the "Various Artists" logo for an album which logo was displayed correctly before.
Maybe you can have a look
I changed the code a bit more in the quest to get the music artwork right.
Can you please test with the latest Git version ?
Posts: 8,283
Joined: Jul 2014
(2015-11-16, 14:55)Jayz2K Wrote: I'm fine tuning my autoconfig and just noticed using the backup restore in silent mode doesn't show the progress and "completed" notification as it was previously. Is this a normal behavior or did I miss something ?
There has never been any notification, it is silent, right...
What was there was a dialogbusy while the action is running but I accidentaly removed that.
Now the busdy dialog is back for silent operations, can you confirm with latest Git ?