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: Artist Slideshow addon (with skin and addon integration) - Libre888 - 2024-10-08 (2024-10-08, 12:10)pkscout Wrote:(2024-10-08, 04:14)Libre888 Wrote: Hi @pkscoutI'd need a debug log (with both Kodi and ArtistSlideshow set to debug) to see what might be happening. AS uses Kodi's built in virtual file system to store and retrieve things, and it's possible it doesn't know what to do with WebDAV. It's also possible it's a skin issue, as AS doesn't actually display anything, it just tells the skin where the image is. I need some help to get log files from Android system. I am using your mod skin. RE: Artist Slideshow addon (with skin and addon integration) - pkscout - 2024-10-09 (2024-10-08, 14:17)Libre888 Wrote:https://kodi.wiki/view/Log_file(2024-10-08, 12:10)pkscout Wrote:(2024-10-08, 04:14)Libre888 Wrote: Hi @pkscoutI'd need a debug log (with both Kodi and ArtistSlideshow set to debug) to see what might be happening. AS uses Kodi's built in virtual file system to store and retrieve things, and it's possible it doesn't know what to do with WebDAV. It's also possible it's a skin issue, as AS doesn't actually display anything, it just tells the skin where the image is. RE: Artist Slideshow addon (with skin and addon integration) - Libre888 - 2024-10-09 (2024-10-09, 00:38)pkscout Wrote:(2024-10-08, 14:17)Libre888 Wrote:https://kodi.wiki/view/Log_file(2024-10-08, 12:10)pkscout Wrote: I'd need a debug log (with both Kodi and ArtistSlideshow set to debug) to see what might be happening. AS uses Kodi's built in virtual file system to store and retrieve things, and it's possible it doesn't know what to do with WebDAV. It's also possible it's a skin issue, as AS doesn't actually display anything, it just tells the skin where the image is. It took me some time to create the log. Please help. RE: Artist Slideshow addon (with skin and addon integration) - pkscout - 2024-10-09 (2024-10-09, 09:57)Libre888 Wrote:From what I see in the log, the webdav URL being passed to Artist Slideshow is invalid. For instance, on line 2267 there is a line that ends with:(2024-10-09, 00:38)pkscout Wrote:(2024-10-08, 14:17)Libre888 Wrote: I need some help to get log files from Android system. I am using your mod skin.https://kodi.wiki/view/Log_file Code: Failed: URL using bad/illegal format or missing URL(3) There are a number of those entries, and they all correspond to Artist Slideshow trying to access whatever webdav directory you configured in the AS settings. I don't use webdav and have no way of testing it. All I can say is that you have to figure out how to enter the webdav directory path correctly. Maybe someone else who uses AS also uses webdav and can help. RE: Artist Slideshow addon (with skin and addon integration) - Libre888 - 2024-10-10 (2024-10-09, 23:06)pkscout Wrote:(2024-10-09, 09:57)Libre888 Wrote:From what I see in the log, the webdav URL being passed to Artist Slideshow is invalid. For instance, on line 2267 there is a line that ends with:(2024-10-09, 00:38)pkscout Wrote: https://kodi.wiki/view/Log_file It failed in Line 2267 CCurlFile::Exists - <dav://USERNAME[email protected]:5678/ where USERNAMEASSWORD is inserted by Kodi and 1.2.3.4:5678 is something I replaced to avoid info leak. However, AS seems to be able to access WebDAV in those following lines (eg. Line 2273 [Artist Slideshow] checking for dav://user:[email protected]:5678 and Line 2274 [Artist Slideshow] dav://user:[email protected]:5678/ where user:passwd is changed by me) RE: Artist Slideshow addon (with skin and addon integration) - wags1 - 2024-12-20 When using a fallback folder, is their a way to force it to re-randomize the pictures? RE: Artist Slideshow addon (with skin and addon integration) - pkscout - 2024-12-20 (2024-12-20, 00:24)wags1 Wrote: When using a fallback folder, is their a way to force it to re-randomize the pictures?Not really. I would have to go digging through the code (it's been awhile since I've looked at this set of code), but I couldn't sworn that when it got to the end of the list of files (which in the case of the fallback folder is the folder of stuff) that it would reload and rerandomize them. RE: Artist Slideshow addon (with skin and addon integration) - wags1 - 2024-12-20 (2024-12-20, 02:00)pkscout Wrote:Update - I have it set to use override folder not fallback, sorry.(2024-12-20, 00:24)wags1 Wrote: When using a fallback folder, is their a way to force it to re-randomize the pictures?Not really. I would have to go digging through the code (it's been awhile since I've looked at this set of code), but I couldn't sworn that when it got to the end of the list of files (which in the case of the fallback folder is the folder of stuff) that it would reload and rerandomize them. The reason I ask is that during this time of year I listen to Christmas music and use a override folder that contains family Christmas pics, 420 pics at current count, and every time I restart it starts with exactly the same picture and seems to go in the same order. Yesterday I noticed that it was most definitely displaying the pics in the order they are in the folder and not random at all. RE: Artist Slideshow addon (with skin and addon integration) - pkscout - 2024-12-20 (2024-12-20, 14:51)wags1 Wrote:Let me look at the logic. For all of those I really thought they randomized, and when AS gets to the end of the image list, it randomizes it again.(2024-12-20, 02:00)pkscout Wrote:Update - I have it set to use override folder not fallback, sorry.(2024-12-20, 00:24)wags1 Wrote: When using a fallback folder, is their a way to force it to re-randomize the pictures?Not really. I would have to go digging through the code (it's been awhile since I've looked at this set of code), but I couldn't sworn that when it got to the end of the list of files (which in the case of the fallback folder is the folder of stuff) that it would reload and rerandomize them. edit: I checked the code, and AS definitely randomizes everything (artists, fallbacks, and overrides). I just tested with my development machine running Kodi 21, and with the override set it definitely shuffled the images before it started. I don't think a debug log is going to tell me anything (there aren't any debug log lines around this set of logic), but you can post one if you'd like. edit 2: I will say that the random.shuffle function is pseudo random, and I think if you restart, there's a decent likelihood you will get the same order after every restart. Why that is also the order of the files in the folder I don't know. It would be interesting to see what happens if your restart, start some music (and go to the visualization window) stop it, and then start playing some music again. If that doesn't force a different order, I'm not sure what will. RE: Artist Slideshow addon (with skin and addon integration) - wags1 - 2024-12-20 (2024-12-20, 16:36)pkscout Wrote:(2024-12-20, 14:51)wags1 Wrote:Let me look at the logic. For all of those I really thought they randomized, and when AS gets to the end of the image list, it randomizes it again.(2024-12-20, 02:00)pkscout Wrote: Not really. I would have to go digging through the code (it's been awhile since I've looked at this set of code), but I couldn't sworn that when it got to the end of the list of files (which in the case of the fallback folder is the folder of stuff) that it would reload and rerandomize them.Update - I have it set to use override folder not fallback, sorry. Really appreciate you taking the time to look. I thought maybe it had something to do with the number of pics in the folder (420 or so) so I tried trimming it down a bit (basically deleted half to 200 or so) but that didn’t seem to make any difference. I’ll try some of the testing you mentioned and post back. RE: Artist Slideshow addon (with skin and addon integration) - wags1 - 2024-12-21 (2024-12-20, 16:36)pkscout Wrote:Restarting, playing, stoping, and then starting some music again AFAICT did not kick off a re-randomization. The only thing I could find that seemed to was to reinstall the addon (go to the addon, click on Version, click on the current version and let it install over). Not a big deal but again thanks for taking the time to look. Do you think file names have any effect on how it works? The files in the override folder I’m using are named like this 2002 001, 2002 002, 2010 001, 2010 002, etc.(2024-12-20, 14:51)wags1 Wrote:Let me look at the logic. For all of those I really thought they randomized, and when AS gets to the end of the image list, it randomizes it again.(2024-12-20, 02:00)pkscout Wrote: Not really. I would have to go digging through the code (it's been awhile since I've looked at this set of code), but I couldn't sworn that when it got to the end of the list of files (which in the case of the fallback folder is the folder of stuff) that it would reload and rerandomize them.Update - I have it set to use override folder not fallback, sorry. RE: Artist Slideshow addon (with skin and addon integration) - pkscout - 2024-12-21 (2024-12-21, 16:47)wags1 Wrote:The file names really shouldn't matter. The way the logic works, the main AS thread loads a list of all the images in that folder and then passes to a thread for the slideshow. That thread takes the file names and randomizes them. When it runs out of images (or another gets added while the slideshow is running), it randomizes them again. That's why I can't figure out how yours *aren't* getting randomized. There should be no way that would ever happen.(2024-12-20, 16:36)pkscout Wrote:Restarting, playing, stoping, and then starting some music again AFAICT did not kick off a re-randomization. The only thing I could find that seemed to was to reinstall the addon (go to the addon, click on Version, click on the current version and let it install over). Not a big deal but again thanks for taking the time to look. Do you think file names have any effect on how it works? The files in the override folder I’m using are named like this 2002 001, 2002 002, 2010 001, 2010 002, etc.(2024-12-20, 14:51)wags1 Wrote: Update - I have it set to use override folder not fallback, sorry.Let me look at the logic. For all of those I really thought they randomized, and when AS gets to the end of the image list, it randomizes it again. RE: Artist Slideshow addon (with skin and addon integration) - wags1 - 2024-12-22 (2024-12-21, 23:47)pkscout Wrote:Thanks for that explanation. It helps me understand how it's working. I have so many pics in the file that it would take almost 3 hours to run out. Typically I'm only running it for around 1.5 - 2 hours. I'm surprised it doesn't re-randomize on restart though.(2024-12-21, 16:47)wags1 Wrote:The file names really shouldn't matter. The way the logic works, the main AS thread loads a list of all the images in that folder and then passes to a thread for the slideshow. That thread takes the file names and randomizes them. When it runs out of images (or another gets added while the slideshow is running), it randomizes them again. That's why I can't figure out how yours *aren't* getting randomized. There should be no way that would ever happen.(2024-12-20, 16:36)pkscout Wrote: Let me look at the logic. For all of those I really thought they randomized, and when AS gets to the end of the image list, it randomizes it again.Restarting, playing, stoping, and then starting some music again AFAICT did not kick off a re-randomization. The only thing I could find that seemed to was to reinstall the addon (go to the addon, click on Version, click on the current version and let it install over). Not a big deal but again thanks for taking the time to look. Do you think file names have any effect on how it works? The files in the override folder I’m using are named like this 2002 001, 2002 002, 2010 001, 2010 002, etc. |