Lost control in videomode after PREVIOUS_MENU is sent via IR (1 Viewer)

dimitri

Portal Member
February 10, 2006
13
0
Area: Media Portal Program
MediaPortal Version: 0.2.0.0 RC2 (2006-02-10)
MediaPortal Skin: mce
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
DirectX Version: 4.09.00.0904 (9.0c)
Audio Codec: MPEG/AC3/DTS/LPCM Audio Decoder
Video Codec: Mpeg2Dec Filter
CPU Type: AMD Athlon 64 3700+
Memory: 1 GB
Motherboard: MS-7125 (MICRO-STAR INTERNATIONAL CO., LTD)
TV Card Model: -
TV Card Type: -
TV Card Driver: -
Video Card Model: Msi Ms-starforce Geforce 6600 GT (nvidia Geforce 6600 Gt) (128 MB)
Video Card Driver: -
Video Card Resolution: 1216x684
Video Render Type: Overlay
Audio Card Model: Realtek AC'97 Audio
Audio Card Driver: -
Synopsis:: -

I am using SerialUIR Remote Control interface with TIRA2 driver. In main GUI all commands work fine, including PREVIOUS_MENU command. However, in video playback mode all control is lost after PREVIOUS_MENU command is sent. All commands work again after video is finished, and everything works before PREVIOUS_MENU is sent. Same happens in windowed mode, it's not a focus issue, no other windows exist in taskbar. Seems that PREVIOUS_MENU chokes the player until video is finished and player returns control back to GUI.

I use internal MP player, not external. I don't have Divx installed. I have very clean MP install, latest CSV.

If I use keyboard instead of IR, everything works, including PREVIOUS_MENU. Issue only occurs via SerialUIR.

Below is log file where I start small video clip, press pause, play ( works ) then Back ( PREVIOUS_MENU ) after which I pressed pause and stop 20 times, but no record of those in the log. Once clip is finished, everything is good again.
--------------------------------------------------------
2/11/2006 10:53:52 AM MediaPortal is starting up
2/11/2006 10:53:52 AM Set current directory to :C:\Program Files\Team MediaPortal\MediaPortal
2/11/2006 10:53:52 AM verify that directx 9 is installed
2/11/2006 10:53:52 AM verify that windows mediaplayer 9 or 10 is installed
2/11/2006 10:53:52 AM Windows media player version:10,0,0,3646 installed
2/11/2006 10:53:52 AM Check if mediaportal is already started
2/11/2006 10:53:52 AM delete old log\capture.log file...
2/11/2006 10:53:52 AM Check skin version
2/11/2006 10:53:52 AM Set registry keys for intervideo/windvd/hauppauge codecs
2/11/2006 10:53:52 AM Load key mapping from keymap.xml
2/11/2006 10:53:52 AM Init playlist player
2/11/2006 10:53:52 AM creating the SerialUIR device
2/11/2006 10:53:52 AM done creating the SerialUIR device
2/11/2006 10:53:52 AM Init players
2/11/2006 10:53:52 AM initializing DirectX
2/11/2006 10:53:52 AM start fullscreen
2/11/2006 10:53:52 AM ClientSize: 1216x684 screen:1216x684
2/11/2006 10:53:53 AM MAP: using default mappings for DirectInput
2/11/2006 10:53:53 AM texturemanager:dispose()
2/11/2006 10:53:53 AM TexturePacker:Dispose()
2/11/2006 10:53:53 AM Load key mapping from keymap.xml
2/11/2006 10:53:53 AM load localized strings from:language\English\strings.xml
2/11/2006 10:53:53 AM Load fonts from skin\mce\fonts.xml
2/11/2006 10:53:53 AM fonts.InitializeDeviceObjects()
2/11/2006 10:53:53 AM Loaded font:debug height:12 texture:256x256 chars:[32-255] miplevels:1
2/11/2006 10:53:53 AM Loaded font:font10 height:11 texture:512x512 chars:[32-513] miplevels:1
2/11/2006 10:53:53 AM Loaded font:font12 height:14 texture:512x512 chars:[32-513] miplevels:1
2/11/2006 10:53:53 AM Loaded font:font13 height:15 texture:512x512 chars:[32-513] miplevels:1
2/11/2006 10:53:54 AM Loaded font:font14 height:16 texture:512x512 chars:[32-513] miplevels:1
2/11/2006 10:53:54 AM Loaded font:font16 height:19 texture:1024x1024 chars:[32-513] miplevels:1
2/11/2006 10:53:54 AM Loaded font:font18 height:21 texture:1024x1024 chars:[32-513] miplevels:1
2/11/2006 10:53:54 AM Loaded font:dingbats height:28 texture:1024x1024 chars:[32-513] miplevels:1
2/11/2006 10:53:54 AM Loaded font:font32 height:38 texture:256x256 chars:[48-59] miplevels:1
2/11/2006 10:53:54 AM Loaded font:font48 height:57 texture:512x512 chars:[48-59] miplevels:1
2/11/2006 10:53:54 AM Loaded font:font72 height:85 texture:512x512 chars:[48-59] miplevels:1
2/11/2006 10:53:54 AM Loaded font:fontSVT height:15 texture:512x512 chars:[32-513] miplevels:1
2/11/2006 10:53:54 AM Load skin mce
2/11/2006 10:53:54 AM LoadWindowPlugins()
2/11/2006 10:53:54 AM Load plugins from :plugins\windows\Dialogs.dll
2/11/2006 10:53:54 AM Load plugins from :plugins\windows\WindowPlugins.dll
2/11/2006 10:53:54 AM Loading references from skin\mce\references.xml
2/11/2006 10:53:54 AM original skin size:720x576
2/11/2006 10:53:55 AM using sqlite 3.2.8
2/11/2006 10:53:55 AM Init MPScript
2/11/2006 10:53:55 AM C:\Program Files\Team MediaPortal\MediaPortal\scripts
2/11/2006 10:53:55 AM StartImportXML: Initialize
2/11/2006 10:53:55 AM StartImportXML: Initialize
2/11/2006 10:53:55 AM opening tvdatabase
2/11/2006 10:53:55 AM tvdatabase opened
2/11/2006 10:53:55 AM xml:skin\mce\tvOSD.xml image id:350 width:0 height:0 gfx:-
2/11/2006 10:53:55 AM xml:skin\mce\videoOSD.xml image id:350 width:0 height:0 gfx:-
2/11/2006 10:53:55 AM Exception:
The process cannot access the file 'C:\Program Files\Team MediaPortal\MediaPortal\log\tvcomLog.txt' because it is being used by another process. mscorlib at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at MediaPortal.GUI.Video.tvDotComParser..cctor()
2/11/2006 10:53:55 AM Load plugins from :plugins\windows\XihSolutions.DotMSN.dll
2/11/2006 10:53:55 AM WindowManager.Load
2/11/2006 10:53:55 AM load calibration1216x684.xml
2/11/2006 10:53:55 AM WindowManager.Preinitialize
2/11/2006 10:53:56 AM TexturePacker: Loaded skin\mce\packedgfx20.png texture:2048x2048 miplevels:1
2/11/2006 10:53:56 AM TexturePacker: fontengine add texure:199
2/11/2006 10:53:56 AM texturemanager:added:skin\mce\media\black.bmp total:0 mem left:306184192
2/11/2006 10:53:56 AM WindowManager.ActivateWindow
2/11/2006 10:53:56 AM xml:skin\mce\home.xml image id:1000 width:0 height:0 gfx:-
2/11/2006 10:53:56 AM window:MediaPortal.GUI.Home.HomeWindow init
2/11/2006 10:53:56 AM skin initialized
2/11/2006 10:53:56 AM DX9 size: 1216x684
2/11/2006 10:53:56 AM video ram left:299008 KByte
2/11/2006 10:53:57 AM running...
2/11/2006 10:53:57 AM Mediaportal.OnStartup()
2/11/2006 10:53:57 AM PlugInManager.Load()
2/11/2006 10:53:57 AM Load plugins from :plugins\process\ProcessPlugins.dll
2/11/2006 10:53:57 AM PlugInManager.Start()
2/11/2006 10:54:01 AM window:MediaPortal.GUI.Home.HomeWindow deinit
2/11/2006 10:54:01 AM texturemanager:CleanupThumbs()
2/11/2006 10:54:01 AM Recorder:disable dx9 exclusive mode
2/11/2006 10:54:01 AM goto windowed:True
2/11/2006 10:54:01 AM window:MediaPortal.GUI.Video.GUIVideoFiles init
2/11/2006 10:54:01 AM open folderdatabase
2/11/2006 10:54:02 AM opening video database
2/11/2006 10:54:02 AM video database opened
2/11/2006 10:54:07 AM GUIVideoFiles::OnPlayBackStopped idFile=14 timeMovieStopped=0 resumeData=
2/11/2006 10:54:07 AM PlaylistPlayer.Play(D:\HD Demo\Amazon_1080.wmv)
2/11/2006 10:54:07 AM player: file is not live tv, so stop timeshifting:D:\HD Demo\Amazon_1080.wmv
2/11/2006 10:54:07 AM g_Player.Play(D:\HD Demo\Amazon_1080.wmv)
2/11/2006 10:54:07 AM Loading external players plugins
2/11/2006 10:54:07 AM found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll
2/11/2006 10:54:07 AM player:Foobar2000. author: int_20h
2/11/2006 10:54:07 AM found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in plugins\ExternalPlayers\ExternalPlayers.dll
2/11/2006 10:54:07 AM player:iTunes audio player. author: Frodo
2/11/2006 10:54:07 AM found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll
2/11/2006 10:54:07 AM player:Winamp. author: int_20h
2/11/2006 10:54:07 AM VideoPlayer:play D:\HD Demo\Amazon_1080.wmv
2/11/2006 10:54:07 AM vmr9:ctor() done:True
2/11/2006 10:54:07 AM goto fullscreen:True
2/11/2006 10:54:07 AM app:confused:witch to fullscreen mode False
2/11/2006 10:54:07 AM app:confused:witched to fullscreen mode
2/11/2006 10:54:07 AM vmr9:addvmr9
2/11/2006 10:54:07 AM Command:confused:top radio
2/11/2006 10:54:07 AM VMR9: now active
2/11/2006 10:54:07 AM VMR9Helper:Vmr9 Added
2/11/2006 10:54:07 AM add filter:ffdshow raw video filter to graph
2/11/2006 10:54:08 AM added filter:ffdshow raw video filter to graph
2/11/2006 10:54:08 AM add filter:Default DirectSound Device to graph clock:Default DirectSound Device
2/11/2006 10:54:08 AM added filter:Default DirectSound Device to graph
2/11/2006 10:54:09 AM VideoPlayer:Duration:102.186
2/11/2006 10:54:09 AM g_Player.OnStarted() D:\HD Demo\Amazon_1080.wmv media:Video
2/11/2006 10:54:09 AM PlaneScene: video WxH : 1920x1080
2/11/2006 10:54:09 AM PlaneScene: video AR : 1920:1080
2/11/2006 10:54:09 AM PlaneScene: screen WxH : 1216x684
2/11/2006 10:54:09 AM PlaneScene: AR type : Normal
2/11/2006 10:54:09 AM PlaneScene: PixelRatio : 1
2/11/2006 10:54:09 AM PlaneScene: src : (0,0)-(1920,1080)
2/11/2006 10:54:09 AM PlaneScene: dst : (0,0)-(1216,684)
2/11/2006 10:54:09 AM window:MediaPortal.GUI.Video.GUIVideoFiles deinit
2/11/2006 10:54:09 AM texturemanager:CleanupThumbs()
2/11/2006 10:54:09 AM window:MediaPortal.GUI.Video.GUIVideoFullscreen init
2/11/2006 10:54:09 AM PlaneScene: video WxH : 1920x1080
2/11/2006 10:54:09 AM PlaneScene: video AR : 1920:1080
2/11/2006 10:54:09 AM PlaneScene: screen WxH : 1216x684
2/11/2006 10:54:09 AM PlaneScene: AR type : Normal
2/11/2006 10:54:09 AM PlaneScene: PixelRatio : 1
2/11/2006 10:54:09 AM PlaneScene: src : (0,0)-(1920,1080)
2/11/2006 10:54:09 AM PlaneScene: dst : (0,0)-(1216,684)
2/11/2006 10:54:09 AM VMR9Helper: playing->repaint
2/11/2006 10:54:09 AM VMR9Helper: repaint->playing 67
2/11/2006 10:54:14 AM VideoPlayer:confused:etRate to:10000
2/11/2006 10:54:14 AM VMR9Helper: repaint->playing 1
2/11/2006 10:54:16 AM window:MediaPortal.GUI.Video.GUIVideoFullscreen deinit
2/11/2006 10:54:16 AM texturemanager:CleanupThumbs()
2/11/2006 10:54:16 AM window:MediaPortal.GUI.Video.GUIVideoFiles init
2/11/2006 10:54:16 AM PlaneScene: video WxH : 1920x1080
2/11/2006 10:54:16 AM PlaneScene: video AR : 1920:1080
2/11/2006 10:54:16 AM PlaneScene: screen WxH : 1216x684
2/11/2006 10:54:16 AM PlaneScene: AR type : Normal
2/11/2006 10:54:16 AM PlaneScene: PixelRatio : 1
2/11/2006 10:54:16 AM PlaneScene: src : (0,0)-(1920,1080)
2/11/2006 10:54:16 AM PlaneScene: dst : (0,0)-(1216,684)
2/11/2006 10:54:55 AM key:120 0x78 (2)
2/11/2006 10:55:01 AM key:120 0x78 (2)
2/11/2006 10:55:01 AM key:27 0x1B (2)
2/11/2006 10:55:01 AM key:27 0x1B (2)
2/11/2006 10:55:01 AM window:MediaPortal.GUI.Video.GUIVideoFiles deinit
2/11/2006 10:55:01 AM texturemanager:CleanupThumbs()
2/11/2006 10:55:01 AM window:MediaPortal.GUI.Home.HomeWindow init
2/11/2006 10:55:08 AM key:32 0x20 (2)
2/11/2006 10:55:08 AM key:32 0x20 (2)
2/11/2006 10:55:52 AM VideoPlayer9:cleanup DShow graph
2/11/2006 10:55:52 AM state:confused:topped 0
2/11/2006 10:55:52 AM vmr9:Dispose
2/11/2006 10:55:52 AM VMR9: not active
2/11/2006 10:55:52 AM goto windowed:False
2/11/2006 10:55:52 AM app:confused:witch to windowed mode False
2/11/2006 10:55:52 AM app:confused:witched to windowed mode
2/11/2006 10:55:52 AM g_Player.Process() player stopped...
2/11/2006 10:55:52 AM g_Player.OnEnded()
2/11/2006 10:55:52 AM VideoPlayer:ended
2/11/2006 10:55:58 AM Minimizing to tray on GUI exit and restoring Start Bar
2/11/2006 10:56:02 AM Mediaportal.OnExit()
2/11/2006 10:56:08 AM PlugInManager.Stop()
2/11/2006 10:56:08 AM PluginManager: stopping ProcessPlugins.DiskSpace.DiskManagement
2/11/2006 10:56:08 AM PluginManager: stopping ProcessPlugins.DiskSpace.EpisodeManagement
2/11/2006 10:56:08 AM PluginManager: stopping ProcessPlugins.DiskSpace.RecordingManagement
2/11/2006 10:56:08 AM PluginManager: stopping ProcessPlugins.TVNotifies.NotifyManager
2/11/2006 10:56:08 AM MediaPortal done
2/11/2006 10:56:08 AM dbs:close:TVDatabaseV21.db3
2/11/2006 10:56:08 AM dbs:close:programDatabaseV4.db3
2/11/2006 10:56:08 AM dbs:close:VideoDatabaseV5.db3
2/11/2006 10:56:08 AM dbs:close:FolderDatabase3.db3
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
When you're in fullscreen video, the action you need is ACTION_SHOW_GUI, not ACTION_PREVIOUS_MENU.

That's what's causing your issue. If you change it, all is working as you expect.
 

dimitri

Portal Member
February 10, 2006
13
0
mPod,

you are absolutely correct, SHOW_GUI is working fine and I don't need PREVIOUS_MENU, but this button is programmed and sometimes my wife would press it by mistake and we lose control of the video.

If I don't map PREVIOUS_MENU at all, then I can't navigate in main GUI mode back to main menu.

Can it be fixed such that PREVIOUS_MENU is ignored in fullscreen video so it doesn't lock up the player?

Thanks for your quick reply!
 

Users who are viewing this thread

Top Bottom