Kodi Community Forum
Delay when opening filebrowser - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Delay when opening filebrowser (/showthread.php?tid=36684)



Delay when opening filebrowser - Jeroen - 2008-09-03

I was in doubt whether to post this in the bug forum as it may not be considered as such. Please move in case this is not the proper place.
One thing I noticed when opening the xbmc filebrowser to choose a thumb for example is that it regularly takes quite a while to open the dialog (up to 5 seconds or so), which seems to be caused by xbmc waiting for my DVDR drive to spin up. As I think the user will want to access an HDD in most cases maybe it would be a better approach to mount the DVD drive when the user actually wants to access it?

edit: reporting for atlantis alpha 4 btw


- WiSo - 2008-09-03

Maybe related, I noticed that the first time I open the "add source" dialog takes quite a long time. All later requests go pretty fast. I didn't dig into it yet but if other noticed the same please open a trac with exactly the steps to reproduce.

As a side note on Windows we doesn't need to mount the DVD drive so I doubt that this is the reason but there could be a request to get the "free space" or something else also from the drive (old legacy code from xbox) which could cause the spin up.


- Jeroen - 2008-09-03

I think you could be right about the free space request. Because there's one other thing I encountered. In the system information screen as soon as I move to the storage info button xbmc kind of hangs for some thime before displaying the information. But you might be aware of this as I recently read a trac ticket about this. I just didn't put the two things together. Assuming that they are related though, it may very well not be Wink

Ticket created: http://trac.xbmc.org/ticket/4786


- WiSo - 2008-09-03

The system info thing is already addressed in svn but I don't think this will solve your problem.


- jmarshall - 2008-09-04

Hmm, seems like it could be hitting the drives for icons or something?

Certainly something to look in to.


- WiSo - 2008-09-08

I found my problem: Windows reports an A: drive which isn't there. GetVolumeInformation takes for A: more than 3 seconds. I fixed it by not asking removable media for the volume name.
The rest is fine for me no matter if a DVD is inserted or not.