• 1
  • 189
  • 190
  • 191
  • 192
  • 193(current)
Release Artist Slideshow addon (with skin and addon integration)
(2024-10-08, 12:10)pkscout Wrote:
(2024-10-08, 04:14)Libre888 Wrote: Hi @pkscout
I use NAS at home to store my music and artist image files.  WebDAV is used to access the files.  However, when I am away, I can play music, but Artist Slideshow can not display image files.  It shows a blank screen while music is playing.  I am pretty sure the Custom location setup in Storage is correct.
If I am at home and change the connection and other setup via SMB accordingly, everything is fine.

I am using an Android pad (Android V14) and Kodi 21.1.
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.

I need some help to get log files from Android system.  I am using your mod skin.
Reply
(2024-10-08, 14:17)Libre888 Wrote:
(2024-10-08, 12:10)pkscout Wrote:
(2024-10-08, 04:14)Libre888 Wrote: Hi @pkscout
I use NAS at home to store my music and artist image files.  WebDAV is used to access the files.  However, when I am away, I can play music, but Artist Slideshow can not display image files.  It shows a blank screen while music is playing.  I am pretty sure the Custom location setup in Storage is correct.
If I am at home and change the connection and other setup via SMB accordingly, everything is fine.

I am using an Android pad (Android V14) and Kodi 21.1.
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.

I need some help to get log files from Android system.  I am using your mod skin.
https://kodi.wiki/view/Log_file
Reply
(2024-10-09, 00:38)pkscout Wrote:
(2024-10-08, 14:17)Libre888 Wrote:
(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.

I need some help to get log files from Android system.  I am using your mod skin.
https://kodi.wiki/view/Log_file



It took me some time to create the log.

Please help.
Reply
(2024-10-09, 09:57)Libre888 Wrote:
(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



It took me some time to create the log.

Please help.
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:
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.
Reply
(2024-10-09, 23:06)pkscout Wrote:
(2024-10-09, 09:57)Libre888 Wrote:
(2024-10-09, 00:38)pkscout Wrote: https://kodi.wiki/view/Log_file



It took me some time to create the log.

Please help.
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:
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.

It failed in Line 2267 CCurlFile::Exists - <dav://USERNAMETongue[email protected]:5678/    where USERNAMETongueASSWORD 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)
Reply
When using a fallback folder, is their a way to force it to re-randomize the pictures?
Reply
(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.
Reply
(2024-12-20, 02:00)pkscout Wrote:
(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.
Update - I have it set to use override folder not fallback, sorry.

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.
Reply
(2024-12-20, 14:51)wags1 Wrote:
(2024-12-20, 02:00)pkscout Wrote:
(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.
Update - I have it set to use override folder not fallback, sorry.

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.
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.

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.
Reply
(2024-12-20, 16:36)pkscout Wrote:
(2024-12-20, 14:51)wags1 Wrote:
(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.

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.
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.

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.

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.
Reply
(2024-12-20, 16:36)pkscout Wrote:
(2024-12-20, 14:51)wags1 Wrote:
(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.

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.
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.

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.
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.
Reply
(2024-12-21, 16:47)wags1 Wrote:
(2024-12-20, 16:36)pkscout Wrote:
(2024-12-20, 14:51)wags1 Wrote: Update - I have it set to use override folder not fallback, sorry.

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.
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.

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.
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.
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.
Reply
(2024-12-21, 23:47)pkscout Wrote:
(2024-12-21, 16:47)wags1 Wrote:
(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.

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.
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.
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.
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.
Reply
  • 1
  • 189
  • 190
  • 191
  • 192
  • 193(current)

Logout Mark Read Team Forum Stats Members Help
Artist Slideshow addon (with skin and addon integration)5