home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
General
Client stop opening when asked
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Brownard" data-source="post: 1290949" data-attributes="member: 48291"><p>Thanks for the report. Looking at the logs it looks like the client did not shut down cleanly at 15:46 on the 26/11 (Client.3.log) due to a background task not terminating as expected, from the log:</p><p>[CODE][2022-11-26 15:46:30,511] [304029 ] [Main ] [WARN ] - ThreadPool: Not all worker threads terminated[/CODE]</p><p>I suspect this would cause the later attempts to launch the client to fail as there are some checks to ensure that only a single instance of the client is allowed to run and if the process was still hanging around because it didn't close properly then this would fail. I can't pinpoint what prevented a clean shutdown was from the logs, however it looks like the client had lots of issues trying to playback videos when it was run, e.g.</p><p>[CODE][2022-11-26 15:46:22,873] [296392 ] [AMQ 'PlayerContextManager'] [WARN ] - MediaPortal.UI.Players.Video.VideoPlayer: Unable to play 'Resource '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///F:/Movies/Contact [FR.1997.720p].mp4' at system '12b50fe9-41ef-45a4-84ae-67a7c97f6bcb'</p><p>System.Runtime.InteropServices.COMException (0x80040265): Cannot play back the file. The format is not supported.</p><p> at DirectShow.Helper.HRESULT.Throw()</p><p> at MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle, MediaItem mediaItem)</p><p> at MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)</p><p>[2022-11-26 15:46:22,874] [296393 ] [AMQ 'PlayerContextManager'] [ERROR] - Unable to create media player for media item 'Contact (1997)'</p><p>System.Runtime.InteropServices.COMException (0x80040265): Cannot play back the file. The format is not supported.</p><p> at DirectShow.Helper.HRESULT.Throw()</p><p> at MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle, MediaItem mediaItem)</p><p> at MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)</p><p> at MediaPortal.UI.Services.Players.PlayerManager.BuildPlayer_NoLock(MediaItem mediaItem, ICollection`1& exceptions)[/CODE]</p><p>This looks like a file system or codec issue preventing playback and may have lead to some background operation getting hung, but again I can't see any further clues in the logs</p><p>A workaround in future would be to check Task Manager in Windows, either under the Processes tab or the Details tab, and see if you can see an instance of MP2Client still running unexpectedly and if so try closing it with End Task. This should allow you to start the client again without a full restart.</p></blockquote><p></p>
[QUOTE="Brownard, post: 1290949, member: 48291"] Thanks for the report. Looking at the logs it looks like the client did not shut down cleanly at 15:46 on the 26/11 (Client.3.log) due to a background task not terminating as expected, from the log: [CODE][2022-11-26 15:46:30,511] [304029 ] [Main ] [WARN ] - ThreadPool: Not all worker threads terminated[/CODE] I suspect this would cause the later attempts to launch the client to fail as there are some checks to ensure that only a single instance of the client is allowed to run and if the process was still hanging around because it didn't close properly then this would fail. I can't pinpoint what prevented a clean shutdown was from the logs, however it looks like the client had lots of issues trying to playback videos when it was run, e.g. [CODE][2022-11-26 15:46:22,873] [296392 ] [AMQ 'PlayerContextManager'] [WARN ] - MediaPortal.UI.Players.Video.VideoPlayer: Unable to play 'Resource '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///F:/Movies/Contact [FR.1997.720p].mp4' at system '12b50fe9-41ef-45a4-84ae-67a7c97f6bcb' System.Runtime.InteropServices.COMException (0x80040265): Cannot play back the file. The format is not supported. at DirectShow.Helper.HRESULT.Throw() at MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle, MediaItem mediaItem) at MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem) [2022-11-26 15:46:22,874] [296393 ] [AMQ 'PlayerContextManager'] [ERROR] - Unable to create media player for media item 'Contact (1997)' System.Runtime.InteropServices.COMException (0x80040265): Cannot play back the file. The format is not supported. at DirectShow.Helper.HRESULT.Throw() at MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle, MediaItem mediaItem) at MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem) at MediaPortal.UI.Services.Players.PlayerManager.BuildPlayer_NoLock(MediaItem mediaItem, ICollection`1& exceptions)[/CODE] This looks like a file system or codec issue preventing playback and may have lead to some background operation getting hung, but again I can't see any further clues in the logs A workaround in future would be to check Task Manager in Windows, either under the Processes tab or the Details tab, and see if you can see an instance of MP2Client still running unexpectedly and if so try closing it with End Task. This should allow you to start the client again without a full restart. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
Client stop opening when asked
Contact us
RSS
Top
Bottom