[Request/Question] DialogProgress.xml to show progress of movie loading
#1
Question 
From the debug output I see that Alaska (and other skins) load a dialog box of some sort. I want to ask if it is possible to have this dialog visible to see the progress of the movie loading.
This might not be a issue for many but as you can see from the times in may take 20 secs (more on the appletv) to start playing the movie, in the mean time there is no indication if the movie is starting or not.
My system is;
- AppleTV 3.0.1 or Mac OS 10.6.2
- Camelot Beta 2

PHP Code:
17:59:47 T:2957225984 M:315326464    INFOLoading skin fileDialogProgress.xml
17
:59:47 T:2957225984 M:315297792   DEBUGLoad DialogProgress.xml7.49ms
17
:59:47 T:2957225984 M:315297792   DEBUGDialogProgress::StartModal called
17
:59:47 T:2957225984 M:315297792   DEBUG: ------ Window Init (DialogProgress.xml) ------
17:59:47 T:2957225984 M:315297792   DEBUGAlloc resources0.03ms (0.00 ms skin load)
17:59:57 T:2955096064 M:314462208   DEBUGThread 2955096064 terminating (autodelete)
17:59:57 T:2955628544 M:314511360   DEBUGThread 2955628544 terminating (autodelete)
18:00:03 T:2956693504 M:314175488   DEBUGThread 2956693504 terminating (autodelete)
18:00:10 T:2956161024 M:314290176   DEBUGThread 2956161024 terminating (autodelete)
18:00:15 T:2957758464 M:314241024   DEBUGCacheSubtitlesDone (time29961 ms)
18:00:15 T:2957758464 M:314241024   DEBUGCacheSubtitlesEND (total time30423 ms)
18:00:15 T:2957758464 M:314241024    INFOCDVDFactorySubtitle::GetSubtitlessearching subtitles done
18
:00:15 T:2957758464 M:314241024  NOTICECreating Demuxer
18
:00:15 T:2957758464 M:314232832   DEBUGOpen probing detected format [avi
Reply
#2
Ooh ooh, I would like to see this as well.
Reply
#3
so any skinner want to comment?
Reply
#4
sure, though it will be of little use...

what you're looking for is dialogbusy.xml, it will show a 'busy animation' during the loading of a movie.
it's implemented in most skins as far as i know, but for reasons unknown to me it's only visible on the xbox.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
I think dialogbusy.xml was disabled from all platforms but xbox, but DialogProgress.xml as you can see from the dump is loaded.

It will have some use as It will show the user that the movie is loading, this especially needed on the appletv.
Reply
#6
DialogProgress maps the actual length/progress of the file.
Reply
#7
Would love to see dialogbusy.xml available on platforms other than xbox. Most of my media is on external drives which go to sleep when idle and spinup time is about 3-5 seconds during which time its hard to know anything is happening in XBMC. A dialog which shows that XBMC recieved the command to start the media but is waiting for the file to be available would be a very nice user interface addition.
Reply
#8
Seeing as this isn't a skin issue it might be better to post it here.
Reply
#9
while it might seems trivial, getting the busy dialogs on other platforms is very involved. rendering happens in app thread, if a busy dialog is to be shown rendering has to be moved to a separate thread. xbox allowed render calls from several thread concurrently, we cannot do this safely on all platforms (osx gl drivers for instance was a bitch iirc).
Reply
#10
How about an dialog/intersitual page is shown instead of some progress type meter (i.e. something static that could be set before the media playback call is made and thus hopefully getting round the mutli-thread access to the rederer). Would that be any easier?

Personally I'd just like to see that 'something' has happened when I press the play button. Currently it's impossible to tell if you pressed the button or not until the drive spins up and the media starts playing.
Reply
#11
tossing up a message dialog could be doable. problem with that is people starts expecting the cancel button to function Wink
Reply
#12
please, please make this happen, I will not ask for a cancel button I promise ...
Reply
#13
I think the real issue you need to fix is
Quote:This might not be a issue for many but as you can see from the times in may take 20 secs (more on the appletv) to start playing the movie
Thats just rediculous I'd be more looking into why your videos are taking so long to play
Reply
#14
I agree 20 seconds is silly and he needs to address that separately. However in my case 3-5 seconds while a external USB drive spins up is normal (and not reducible without stopping them powering down) but still too long to show no feedback to the user that something is in progress.
Reply
#15
trimmed xbmc.log file. I can't tell anything about this setup. Could be a file on a smb share that has spun down the disk. Who knows.
Reply

Logout Mark Read Team Forum Stats Members Help
[Request/Question] DialogProgress.xml to show progress of movie loading0