2011-06-23, 09:05
oatty Wrote:Hey stoli, so tonight i refreshed I,Robot and I also looked at the debug log.
There isn't a problem playing the file in Night and Neon, but there is a problem playing the trailer. I also tested it in Confluence and its works fine playing both trailer and file.
Here is the snippet from the debug log:
20:01:25 T:9064 M:3992326144 DEBUG: CApplication::OnKey: 61480 pressed, action is Down
20:01:25 T:9064 M:3992240128 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.PlayMedia($INFO[ListItem.Trailer],1,noresume)
20:01:25 T:9064 M:3992240128 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.PlayMedia(smb://tower/Disc Collection/DVDs/I, Robot (2004)/I, Robot (2004) [DVD]-trailer.flv,1,noresume)
20:01:25 T:9064 M:3992059904 DEBUG: CPlayerCoreFactory::GetPlayers(smb://tower/Disc Collection/DVDs/I)
20:01:25 T:9064 M:3992059904 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
20:01:25 T:9064 M:3992059904 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
20:01:25 T:9064 M:3992059904 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
20:01:25 T:9064 M:3992068096 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
20:01:25 T:9064 M:3992076288 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
20:01:25 T:9064 M:3992076288 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
20:01:25 T:9064 M:3992076288 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
20:01:25 T:9064 M:3992076288 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
20:01:25 T:9064 M:3992076288 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
20:01:25 T:9064 M:3992084480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
20:01:25 T:9064 M:3992092672 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
20:01:25 T:9064 M:3992059904 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
20:01:25 T:9064 M:3992059904 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
20:01:25 T:9064 M:3992039424 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
20:01:25 T:9064 M:3992047616 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
20:01:25 T:9064 M:3992047616 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
20:01:25 T:9064 M:3992047616 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
20:01:25 T:9064 M:3992055808 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
20:01:25 T:9064 M:3992023040 NOTICE: DVDPlayer: Opening: smb://tower/Disc Collection/DVDs/I
20:01:25 T:9064 M:3992018944 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
20:01:25 T:4820 M:3992027136 DEBUG: thread start, auto delete: 0
20:01:25 T:4820 M:3991998464 NOTICE: Creating InputStream
20:01:25 T:9064 M:3992002560 DEBUG: ------ Window Init (DialogBusy.xml) ------
20:01:25 T:9064 M:3992002560 INFO: Loading skin file: DialogBusy.xml
20:01:25 T:4820 M:3990126592 ERROR: CDVDPlayer::OpenInputStream - error opening [smb://tower/Disc Collection/DVDs/I]
20:01:25 T:4820 M:3990081536 NOTICE: CDVDPlayer::OnExit()
20:01:25 T:4820 M:3990081536 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:01:25 T:4820 M:3990081536 DEBUG: Thread 4820 terminating
20:01:25 T:9064 M:3990126592 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
20:01:25 T:9064 M:3990102016 ERROR: XBMC.PlayMedia could not play media: smb://tower/Disc Collection/DVDs/I
20:01:25 T:9064 M:3990097920 NOTICE: CDVDPlayer::CloseFile()
20:01:25 T:9064 M:3990097920 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
20:01:25 T:9064 M:3990097920 NOTICE: DVDPlayer: waiting for threads to exit
20:01:25 T:9064 M:3990097920 NOTICE: DVDPlayer: finished waiting
20:01:25 T:9064 M:3990511616 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
It seems because the trailer path isn't enclosed in quotes the PlayMedia command is truncated and XBMC can't play it.
Hey Stoli,
I fixed the I, Robot trailer not playing issue.
I replaced the $INFO[ListItem.Trailer] with "$INFO[ListItem.Trailer]" (i.e enclosed in quotes) within the XBMC PlayMedia commands. Only 2 files have to be modified:
- Viewtype_Slide.xml
- Includes.xml
Now the I, Robot trailer plays within problems, woohoo!