2012-03-08, 20:30
Hi,
I am working on an addon where I have to fetch data from remote source. Once finished fetching, I build an item directory with it and present it to the user (using built-in xbmc classes/methods). The problem is that this take sometime, and while waiting for the data to fill it in the directory, xbmc first show the "Please wait", then after two seconds or so show the "Loading directory" with incorrect progress. I assume this to fill the void of waiting. After finishing fetching the data, and proceeding to filling the directory, xbmc show the Loading directory again, but this time with the correct progress (because I have the items now).
I am trying to disable the "Please wait" and the first inccorrect "Loading directory", and replacing them with my own progress bar. I know how to do the progress bar thing, but those two messages keep my progress bar in the back. Is there a way to override them and use my progress bar instead?
I know it is a lengthy thread, but I had to explain the issue and to make myself clear (or I hope I was )
Any help will be greatly appreciated.
I am working on an addon where I have to fetch data from remote source. Once finished fetching, I build an item directory with it and present it to the user (using built-in xbmc classes/methods). The problem is that this take sometime, and while waiting for the data to fill it in the directory, xbmc first show the "Please wait", then after two seconds or so show the "Loading directory" with incorrect progress. I assume this to fill the void of waiting. After finishing fetching the data, and proceeding to filling the directory, xbmc show the Loading directory again, but this time with the correct progress (because I have the items now).
I am trying to disable the "Please wait" and the first inccorrect "Loading directory", and replacing them with my own progress bar. I know how to do the progress bar thing, but those two messages keep my progress bar in the back. Is there a way to override them and use my progress bar instead?
I know it is a lengthy thread, but I had to explain the issue and to make myself clear (or I hope I was )
Any help will be greatly appreciated.