[Request/Question] DialogProgress.xml to show progress of movie loading
#16
This is the full(er) log, post that the movie loads instantly.
My setup is: Mac OS 10.6.2/AppleTV 3.0.1 connecting to Time Capsule via 11n wireless or wired with files on it.

Wireless
PHP Code:
20:20:03 T:2689025280 M:295272448   DEBUGSDLKeyboardscancode36sym13unicode13modifier0
20
:20:03 T:2689025280 M:295272448   DEBUGOnKey61453 pressedaction is 7
20
:20:03 T:2689025280 M:295235584   DEBUG: new file set audiostream:0
20
:20:03 T:2689025280 M:295227392   DEBUGCPlayerCoreFactory::GetPlayers(smb://MogiTC.local/Data/movies/Black.Book(2006).avi)
20:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulesystem rules
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersmatches rulesystem rules
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulertv
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulehdhomerun/myth/rtmp/mms/udp
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulelastfm/shout
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulertsp
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulestreams
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering ruledvd
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering ruledvdfile
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering ruledvdimage
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulesdp/asf
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerSelectionRule::GetPlayersconsidering rulensv
20
:20:03 T:2689025280 M:295223296   DEBUGCPlayerCoreFactory::GetPlayersmatched 0 rules with players
20
:20:03 T:2689025280 M:295194624   DEBUGCPlayerCoreFactory::GetPlayersadding videodefaultplayer (1)
20:20:03 T:2689025280 M:295194624   DEBUGCPlayerCoreFactory::GetPlayers: for video=1audio=0
20
:20:03 T:2689025280 M:295194624   DEBUGCPlayerCoreFactory::GetPlayers: for video=1audio=1
20
:20:03 T:2689025280 M:295194624   DEBUGCPlayerCoreFactory::GetPlayersadding playerDVDPlayer (1)
20:20:03 T:2689025280 M:295194624   DEBUGCPlayerCoreFactory::GetPlayersadded 1 players
20
:20:03 T:2689025280 M:293875712  NOTICEDVDPlayerOpeningsmb://MogiTC.local/Data/movies/Black.Book(2006).avi
20:20:03 T:2953850880 M:293855232   DEBUGthread startauto delete1
20
:20:03 T:2689025280 M:293855232 WARNINGCDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20
:20:03 T:2957758464 M:293834752   DEBUGthread startauto delete0
20
:20:03 T:2957758464 M:293826560  NOTICECreating InputStream
20
:20:03 T:2957758464 M:293797888   DEBUGCFileSMB::Open opened Data/movies/Black.Book(2006).avifd=10001
20
:20:03 T:2957758464 M:293797888    INFOCDVDFactorySubtitle::GetSubtitlessearching subtitles
20
:20:03 T:2957758464 M:293793792   DEBUGCacheSubtitlesSTART
20
:20:03 T:2957758464 M:293793792   DEBUGCacheSubtitlesChecking for common subirs...
20:20:03 T:2957758464 M:293793792   DEBUGCacheSubtitlesDone (time461 ms)
20:20:03 T:2957758464 M:293793792   DEBUGCacheSubtitlesSearching for subtitles...
20:20:03 T:2957758464 M:293789696   DEBUGOpenDir Using authentication url smb://MogiTC%2elocal/Data/movies
20:20:06 T:2953850880 M:293060608    INFOLoading skin fileDialogProgress.xml
20
:20:06 T:2953850880 M:293023744   DEBUGLoad DialogProgress.xml55.95ms
20
:20:06 T:2953850880 M:293023744   DEBUGDialogProgress::StartModal called
20
:20:06 T:2953850880 M:293023744   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:20:06 T:2953850880 M:293023744   DEBUGAlloc resources0.03ms (0.00 ms skin load)
20:20:18 T:2957225984 M:298110976   DEBUGThread 2957225984 terminating (autodelete)
20:20:31 T:2956693504 M:298123264   DEBUGThread 2956693504 terminating (autodelete)
20:20:31 T:2955628544 M:298184704   DEBUGThread 2955628544 terminating (autodelete)
20:20:31 T:2956161024 M:298250240   DEBUGThread 2956161024 terminating (autodelete)
20:20:34 T:2957758464 M:298323968   DEBUGCacheSubtitlesDone (time30849 ms)
20:20:34 T:2957758464 M:298323968   DEBUGCacheSubtitlesEND (total time31310 ms)
20:20:34 T:2957758464 M:298323968    INFOCDVDFactorySubtitle::GetSubtitlessearching subtitles done
20
:20:34 T:2957758464 M:298311680  NOTICECreating Demuxer
20
:20:34 T:2957758464 M:298295296   DEBUGOpen probing detected format [avi

Wired
PHP Code:
20:27:42 T:2957758464 M:293797888   DEBUGCFileSMB::Open opened Data/movies/Black.Book(2006).avifd=10001
20
:27:42 T:2957758464 M:293797888    INFOCDVDFactorySubtitle::GetSubtitlessearching subtitles
20
:27:42 T:2957758464 M:293797888   DEBUGCacheSubtitlesSTART
20
:27:42 T:2957758464 M:293797888   DEBUGCacheSubtitlesChecking for common subirs...
20:27:42 T:2957758464 M:293806080   DEBUGCacheSubtitlesDone (time550 ms)
20:27:42 T:2957758464 M:293806080   DEBUGCacheSubtitlesSearching for subtitles...
20:27:42 T:2957758464 M:293806080   DEBUGOpenDir Using authentication url smb://MogiTC%2elocal/Data/movies
20:27:45 T:2953318400 M:293584896    INFOLoading skin fileDialogProgress.xml
20
:27:45 T:2953318400 M:293556224   DEBUGLoad DialogProgress.xml24.23ms
20
:27:45 T:2953318400 M:293556224   DEBUGDialogProgress::StartModal called
20
:27:45 T:2953318400 M:293556224   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:27:45 T:2953318400 M:293556224   DEBUGAlloc resources0.03ms (0.00 ms skin load)
20:28:04 T:2956693504 M:293502976   DEBUGThread 2956693504 terminating (autodelete)
20:28:11 T:2955628544 M:293572608   DEBUGThread 2955628544 terminating (autodelete)
20:28:11 T:2957225984 M:293638144   DEBUGThread 2957225984 terminating (autodelete)
20:28:11 T:2956161024 M:293699584   DEBUGThread 2956161024 terminating (autodelete)
20:28:19 T:2957758464 M:286359552   DEBUGCacheSubtitlesDone (time37103 ms)
20:28:19 T:2957758464 M:286359552   DEBUGCacheSubtitlesEND (total time37653 ms)
20:28:19 T:2957758464 M:286359552    INFOCDVDFactorySubtitle::GetSubtitlessearching subtitles done
20
:28:19 T:2957758464 M:286359552  NOTICECreating Demuxer
20
:28:19 T:2957758464 M:286273536   DEBUGOpen probing detected format [avi]
20:28:21 T:2957758464 M:284954624   DEBUGOpen av_find_stream_info starting
20
:28:21 T:2957758464 M:284708864   DEBUGffmpeg[B04BD000]: [NULLInvalid and inefficient vfw-avi packed B frames detected
20
:28:21 T:2957758464 M:284192768   DEBUGOpen av_find_stream_info finished
20
:28:21 T:2957758464 M:284192768    INFOffmpeg[B04BD000]: Input #0, avi, from 'smb://MogiTC.local/Data/movies/Black.Book(2006).avi':
20:28:21 T:2957758464 M:284192768    INFOffmpeg[B04BD000]:   Duration02:19:28.96start0.000000bitrate848 kb/s
20
:28:21 T:2957758464 M:284192768    INFOffmpeg[B04BD000]:     Stream #0.0: Video: mpeg4, yuv420p, 640x340 [PAR 1:1 DAR 32:17], 25 tbr, 25 tbn, 25 tbc
20:28:21 T:2957758464 M:284192768    INFOffmpeg[B04BD000]:     Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
20:28:21 T:2957758464 M:284192768  NOTICEOpening video stream0 source256
20
:28:21 T:2957758464 M:284192768  NOTICECreating video codec with codec id13
20
:28:21 T:2957758464 M:284192768   DEBUGFactoryCodec Video:  - Opening 
Reply
#17
The folder I am testing has 1000 files - these include avi/nfo/tbns

if I use a folder with less movies (50-100 files) - it starts instantly.

Also, this is not dependent on any skin. It looks like a smb issue, when it start instanly there is no mention in the log of:
PHP Code:
20:27:45 T:2953318400 M:293556224   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:27:45 T:2953318400 M:293556224   DEBUGAlloc resources0.03ms (0.00 ms skin load)
20:28:04 T:2956693504 M:293502976   DEBUGThread 2956693504 terminating (autodelete)
20:28:11 T:2955628544 M:293572608   DEBUGThread 2955628544 terminating (autodelete)
20:28:11 T:2957225984 M:293638144   DEBUGThread 2957225984 terminating (autodelete)
20:28:11 T:2956161024 M:293699584   DEBUGThread 2956161024 terminating (autodelete)
20:28:19 T:2957758464 M:286359552   DEBUGCacheSubtitlesDone (time37103 ms
Reply
#18
To add more.

When going to view "Files" instead of library

I get this in the logs:
PHP Code:
20:52:37 T:2689025280 M:370561024   DEBUGGetting Directory (smb://MogiTC.local/Data/movies/)
20:52:37 T:2689025280 M:370561024   DEBUGOpenDir Using authentication url smb://MogiTC%2elocal/Data/movies
20:52:55 T:2956693504 M:370614272   DEBUGThread 2956693504 terminating (autodelete)
20:52:55 T:2956161024 M:370651136   DEBUGThread 2956161024 terminating (autodelete)
20:52:56 T:2955096064 M:370712576   DEBUGThread 2955096064 terminating (autodelete)
20:52:56 T:2955628544 M:370683904   DEBUGThread 2955628544 terminating (autodelete

So it does seem like a smb issue.

So if some skinner can give me a piece of code that I can try putting into the DialogProgress.xml i would be grateful, if this is even possible.
Reply
#19
so hmmm... anyone care to comment?
Reply
#20
your still cutting up the logs and only posting snippits, make sure you put the full one on pastebin.com not on the forum
Reply

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