Need Help: How to tell MP that i want to play a video file? (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    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
     

    Users who are viewing this thread

    Top Bottom