Release Artist Slideshow addon (with skin and addon integration) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Release Artist Slideshow addon (with skin and addon integration) (/showthread.php?tid=124880) 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2012-07-22 (2012-07-17, 00:42)Wanilton Wrote: @pkscuot, thanks for info, there are many artists with more 50 albums, it´s normal...about off-line mode, my goal not is download image, but show images, but your script only work for us, if running one song first, imagine this situation i have artists, if press button info artist or info album, don´t show discography image, only work (show images) if first run one song (playlist) work very well, maybe more clear now for you. First, I fixed the issue with the 50th album information not being cleared out. There's an updated version here you can test. I'm going to wait at least a few days before sending in another pull request, as I don't like to do lots of pull requests in a short period of time. As for the issue above, I see what you are trying to do. Unfortunately, Artist Slideshow is designed to work based on the playing song, and it would be a major undertaking to rewrite it to do something different. That said, there is a potential work around. As of Artist Slideshow 1.3, external scripts can call Artist Slideshow and pass in information about an artist to use in a skin. If your skin ran a script that passed in the artist name, that would trick Artist Slideshow into downloading images (and artist information) even if there is no song playing. There is information on the wiki page about that, and I know XSqueeze is using this feature. Whether it can be adapted to what you are trying to do with the skin isn't clear to me, but it's the best option I have for you. RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Wanilton - 2012-07-22 @pkscuot, thanks for fix 50th album, work great now. Wanilton RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Hetoft - 2012-07-26 Ah, nice to see that you updated this brilliant little addon. THANK YOU! RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Lockos - 2012-07-31 @pkscout : this addon is really cool, I use it with the outstanding MQ4 but I wanted to talk about the discography feature. Sometimes you get pictures for another wrong artist. For instance, if I press "i" when listening to "Aaron", i get album pictures for the right artist (that is to say the band named "Aaron") but also album pictures of "Aaron Eckhart". ) In addition, sometimes you have double or triple album pictures for the same album, so it is not very representative of the real discography I don't get the interest of gathering pictures of a wrong artist or double album covers (just because the scrapping is automatic and does not see the difference between "Queen" and "The good, the bad and the queen" for instance) So my question is : for the discography feature, can we manually put album pictures in a specific folder so that we can personnaly chose the right ones for display ( I mean in the same way that we can create an extrafanart folder for artist slideshows) instead of using Last.fm or HT backdrops scrapers ? In other words, can we set up some kind of "extrafanart folder" for discography 50 albumes display ? I'm not talking about slideshow feature which works great, but only discography feature. I already discussed that point with Wanilton, and I wanted to know if you have some kind of answer to bring to us about this issue ! Thank you very much for your answers RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Hetoft - 2012-07-31 So, upon further testing I see that this is 99 % as good as it gets for me. However, there is one (perhaps small) thing... When you set it to use "both local and remote" images (that's how I like it, cus I have a lot of downloaded fanart locally), at first it shows a local image (if you have one), and then it goes on to display either a black background (or the "progress image" if you've set one), even if you have multiple local images of the same artist. So, my question is: Would it be possible to make it so that it WAITS to try to display remote images (or the progress image) UNTIL one is fully downloaded? That way, you won't have an interruption in the slideshow if you, like me, use both external and local fanart. So that, if you use both local and remote, the progress image simply doesn't show (if both local and remote images exist, that is). I hope you understand my question. It's a bit hard to explain! RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Hetoft - 2012-07-31 Oh, and another thing I noticed... Artist Slideshow works perfectly with the Spotimc (Spotify) plugin as well. However, it ONLY works if you first go play some local music (from XBMC's music library), let it download an image, and then enter Spotimc. If you don't do that and just go straight to Spotimc after opening XBMC, it simply displays a black background and continues to do so, no matter which track or artist you play. Not sure if this is an issue with Artist Downloader or Spotimc, but just thought I'd let you know! RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2012-07-31 (2012-07-31, 12:38)Lockos Wrote: Sometimes you get pictures for another wrong artist. For instance, if I press "i" when listening to "Aaron", i get album pictures for the right artist (that is to say the band named "Aaron") but also album pictures of "Aaron Eckhart". ) Yea, I've noticed that. The Last.FM search is kind of fuzzy, and I don't think there is any easy way to fix the search to be more specific. Here's what I'm thinking about to allow local override:
Thoughts? (2012-07-31, 13:50)Hetoft Wrote: So, my question is: Would it be possible to make it so that it WAITS to try to display remote images (or the progress image) UNTIL one is fully downloaded? That way, you won't have an interruption in the slideshow if you, like me, use both external and local fanart. So that, if you use both local and remote, the progress image simply doesn't show (if both local and remote images exist, that is). It is not suppose to ever show the blank image if there is any local artwork. I'll take a look at that. (2012-07-31, 14:08)Hetoft Wrote: Artist Slideshow works perfectly with the Spotimc (Spotify) plugin as well. However, it ONLY works if you first go play some local music (from XBMC's music library), let it download an image, and then enter Spotimc. I don't have a Spotify account, but if I can get a free one I'll see if I can get it setup and test on my end. RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Hetoft - 2012-07-31 Hanks for the replies. Pretty sure the Spotimc addon only works with Premium accounts though. But I could lend you my account if you want? Or, perhaps, just post two debug logs with the issues I'm experiencing. Would that be helpful to you? RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2012-07-31 (2012-07-31, 20:18)Hetoft Wrote: Pretty sure the Spotimc addon only works with Premium accounts though. But I could lend you my account if you want? Let's do that. Post the debug logs and I'll see what I can figure out. RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Hetoft - 2012-07-31 Cool. Here's the first debug log - of me opening XBMC, browsing my music, playing first Macy Gray and then Mos Def. Both times the same thing happens: a local image appears for around 5 seconds, and then it goes on to display the progress image for maybe 10 seconds, until the first remote image is downloaded. From that point on, it works as it should and doesn't display the progress image again. http://xbmclogs.com/show.php?id=5927 I'm using XBMC Eden with Aeon Nox 3.0.1. Also tried with a recent nightly. Using latest Artist Slideshow available from the official XBMC repo. These are my Artist Slideshow settings. In the "Background" folder I have one 1920x1080 JPEG image. Code: <settings> RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Hetoft - 2012-07-31 And here's the debug log with the other problem I described about Spotimc/Spotify. What I did this time was to open XBMC, let it initialize everything properly, enter Spotimc, selecting "Like a Rolling Stone" by Bob Dylan and going to the "Now Playing" screen, where Artist Slideshow is supposed to be. However, the background is just all black. I let it play for 1 minute just to make sure that it wasn't loading any pictures. I then quit Spotimc, went into my local music library, played a random song with Jack Johnson, went to Now Playing and let the slideshow begin. I then stopped the track, went back into Spotimc and played the same Bob Dylan track. Now all of a sudden, the slideshow works as it's supposed to. So, you HAVE to play a local track first before entering Spotimc in order for the Artist Slideshow to work. http://xbmclogs.com/show.php?id=5930 I hope some of this is helpful. Like I said, these are my only issues with this otherwise brilliant little addon. RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - mikebzh44 - 2012-08-01 Hello. Here is French strings.xml http://xbmclogs.com/show.php?id=5957 For addon.xml : Code: <summary lang="fr">Télécharger les images et les informations additionnelles de l'artiste en cours de lecture</summary> Now my questions Does your addon can be called from the skin in daemon mode without having song played. I have found in the wiki how to start script.artistslideshow in daemon mode : http://wiki.xbmc.org/index.php?title=Add-on:Artist_Slideshow#Accessing_Script_from_Other_Screens And your script can be called from another addon : http://wiki.xbmc.org/index.php?title=Add-on:Artist_Slideshow#How_to_call_this_addon_from_another_addon But can I call it directly from the skin ? Or do I have to write an addon/script to call your addon/script ? For example, at skin init, I start your script in daemon mode. When I enter a specific window (artist information window for example), I want to start slideshow, so if I set up property CURRENTARTIST to my windows and use : Code: <onload>RunScript(script.artistslideshow,windowid=WINDOW_ID&artistfield=CURRENTARTIST)</onload> And when exiting artist info window, I just have to set CURRENTARTIST to blank ? I'm a newbie in skin modding so before losing my hear scratching my head because it doesn't work, I ask if it's possible Thanks. RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Lockos - 2012-08-01 (2012-07-31, 20:05)pkscuot Wrote:(2012-07-31, 12:38)Lockos Wrote: Sometimes you get pictures for another wrong artist. For instance, if I press "i" when listening to "Aaron", i get album pictures for the right artist (that is to say the band named "Aaron") but also album pictures of "Aaron Eckhart". ) @pkscuot : Your addon (and Ronnie's ) would be just perfect if you could allow this. Is it in the changelog of next version ? I don't know what other users think about that, but for me, an easy way to make it work all together locally (with homepage slideshow) would be : - What already exists, that is to say a local folder at artist level called "extrafanart" with fanart.jpg, fanart2.jpg, fanart3.jpg....for artists slideshow. - A local folder at albums level (or at the same level as extrafanart if it is what you wanted) called "discography" with album, album2.jpg, album3.jpg...for artist's discography pictures - An easy way to create simple nfos manually for "similar artists" and "bio" information (this would avoid having nfos full of http jpg adresses for pictures). Those nfo's could be placed in the artist or album folders too. This is just some thoughts as you asked for it but if someone has other / better ideas... Anyway I am really liking the idea of a local override for discography Keep up the good work ! RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - mikebzh44 - 2012-08-01 Make some tests. First, I start script in daemon mode in Home.xml : Code: <onload>XBMC.RunScript(script.artistslideshow,daemon=True)</onload> And in DialogAlbumInfo, I set up properties and call script : Code: <?xml version="1.0" encoding="utf-8"?> and script get it but with an error : Code: 11:43:42 T:3632 DEBUG: script.artistslideshow: script version 1.4.1 started RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - mikebzh44 - 2012-08-01 Error is due to accented characters in French : Code: <string id="30301">Téléchargement de la première image de l'artiste</string> No error with Code: <string id="30301">Telechargement de la premiere image de l'artiste</string> Because of accented characters, you need to UTF8 encode strings : Code: xbmc.executebuiltin('XBMC.Notification("' + __language__(30300).encode("utf8") + '", "' + __language__(30301).encode("utf8") + '", 10000, ' + __addonicon__ + ')') |