Hi stanley87,
First of all, thanks for your script.
Concerning your problem, I have currently working on something similar, except what I wanted to do was download in background but displaying a progress bar to the user without blocking him (as you so xbmcgui dialogprogress block the user while it is open).
I extracted the code from the script I am currently developing and created a module xbmcguiExtension.py which include (for the moment) 2 classes:
-
backProgressBar: which is the class in charge of displaying the progress bar on your main window
-
guiCtrl which is used by backProgressBar for UI locking/unlocking, that means you will need to use in your UI the locking/unlocking of guiCtrl instead of lock/unlock provided by xbmcgui.
I have also included an example with the to type of progress bar, xbmcgui progressbar and backProgressBar.
It is far to be finished (at list the full module) but for those class, it is pretty completed and look pretty well for me.
The only issue I see, it XBMC (on my XBOX) doesn't like too much to do 2 things at the same time.
Here is the link where to get the library:
http://passion-xbmc.org/developpement/xb...attach=876
If you have any comments or see any ways to improve this library, do not hesitate.