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 1
Development
General Development (no feature request here!)
Need Help: How to tell MP that i want to play a video file?
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="disaster123" data-source="post: 662005" data-attributes="member: 74707"><p>Hi!</p><p></p><p>I'm starting through my own plugin the player like:</p><p>player.play('http://URL');</p><p></p><p>then MP tries to detect this path with mediainfo if it is a video or audio. But that can't work and then MP seems to think it is Audio and not video :-(</p><p></p><p>Stefan</p><p></p><p>Log:</p><p>[CODE]</p><p>2010-09-30 02:45:59.950195 [Debug][MPMain(1)]: MediaInfoWrapper: isTv:False, isRadio:False, isRTSP:False, isAVStream:True</p><p>2010-09-30 02:45:59.950195 [Debug][MPMain(1)]: MediaInfoWrapper: disabled for this content</p><p>2010-09-30 02:45:59.950195 [Debug][MPMain(1)]: g_Player.Play - Mediatype Unknown, forcing detection as Video</p><p>2010-09-30 02:46:00.000976 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: unable to guess framerate on file http://XXXX/FILE.mkv</p><p>2010-09-30 02:46:00.006835 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: could not find a matching refreshrate based on 0 fps (check config)</p><p>2010-09-30 02:46:00.006835 [Info.][MPMain(1)]: g_Player.Play(http://XXXX/FILE.mkv Video)</p><p>2010-09-30 02:46:00.023437 [Info.][MPMain(1)]: Loading external players plugins</p><p>2010-09-30 02:46:00.035156 [Info.][MPMain(1)]: found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll</p><p>2010-09-30 02:46:00.036132 [Info.][MPMain(1)]: player:Foobar2000. author: int_20h/rtv</p><p>2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll</p><p>2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: player:iTunes. author: Frodo</p><p>2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: found plugin:MediaPortal.WinampPlayer.WinampPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll</p><p>2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: player:Winamp. author: int_20h</p><p>2010-09-30 02:46:00.039062 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - http://XXXX/FILE.mkv</p><p>2010-09-30 02:46:00.323242 [Info.][MPMain(1)]: AudioPlayerWMP9: Disabling DX9 exclusive mode</p><p>2010-09-30 02:46:01.650390 [Info.][MPMain(1)]: Audioplayer:play http://XXXX/FILE.mkv</p><p>2010-09-30 02:46:02.558593 [Info.][MPMain(1)]: Audioplayer: failed to load http://XXXX/FILE.mkv</p><p>2010-09-30 02:46:02.558593 [Info.][MPMain(1)]: g_Player: ended</p><p>2010-09-30 02:46:02.560546 [Debug][MPMain(1)]: MediaInfoWrapper: isTv:False, isRadio:False, isRTSP:False, isAVStream:True</p><p>2010-09-30 02:46:02.560546 [Debug][MPMain(1)]: MediaInfoWrapper: disabled for this content</p><p>2010-09-30 02:46:02.597656 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogOK init</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="disaster123, post: 662005, member: 74707"] Hi! I'm starting through my own plugin the player like: player.play('http://URL'); then MP tries to detect this path with mediainfo if it is a video or audio. But that can't work and then MP seems to think it is Audio and not video :-( Stefan Log: [CODE] 2010-09-30 02:45:59.950195 [Debug][MPMain(1)]: MediaInfoWrapper: isTv:False, isRadio:False, isRTSP:False, isAVStream:True 2010-09-30 02:45:59.950195 [Debug][MPMain(1)]: MediaInfoWrapper: disabled for this content 2010-09-30 02:45:59.950195 [Debug][MPMain(1)]: g_Player.Play - Mediatype Unknown, forcing detection as Video 2010-09-30 02:46:00.000976 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: unable to guess framerate on file http://XXXX/FILE.mkv 2010-09-30 02:46:00.006835 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: could not find a matching refreshrate based on 0 fps (check config) 2010-09-30 02:46:00.006835 [Info.][MPMain(1)]: g_Player.Play(http://XXXX/FILE.mkv Video) 2010-09-30 02:46:00.023437 [Info.][MPMain(1)]: Loading external players plugins 2010-09-30 02:46:00.035156 [Info.][MPMain(1)]: found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll 2010-09-30 02:46:00.036132 [Info.][MPMain(1)]: player:Foobar2000. author: int_20h/rtv 2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll 2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: player:iTunes. author: Frodo 2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: found plugin:MediaPortal.WinampPlayer.WinampPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll 2010-09-30 02:46:00.037109 [Info.][MPMain(1)]: player:Winamp. author: int_20h 2010-09-30 02:46:00.039062 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - http://XXXX/FILE.mkv 2010-09-30 02:46:00.323242 [Info.][MPMain(1)]: AudioPlayerWMP9: Disabling DX9 exclusive mode 2010-09-30 02:46:01.650390 [Info.][MPMain(1)]: Audioplayer:play http://XXXX/FILE.mkv 2010-09-30 02:46:02.558593 [Info.][MPMain(1)]: Audioplayer: failed to load http://XXXX/FILE.mkv 2010-09-30 02:46:02.558593 [Info.][MPMain(1)]: g_Player: ended 2010-09-30 02:46:02.560546 [Debug][MPMain(1)]: MediaInfoWrapper: isTv:False, isRadio:False, isRTSP:False, isAVStream:True 2010-09-30 02:46:02.560546 [Debug][MPMain(1)]: MediaInfoWrapper: disabled for this content 2010-09-30 02:46:02.597656 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogOK init [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Need Help: How to tell MP that i want to play a video file?
Contact us
RSS
Top
Bottom