Playing growing file (1 Viewer)

allengero

Portal Member
July 22, 2007
11
0
43
Home Country
Norway Norway
trying to make a plugin to play movies while it is downloading/unraring, but always get the same error:

Code:
2011-01-25 20:27:11.347500 [ERROR][MPMain(1)]: Exception while releasing COM object (NULL) - stacktrace:    ved DShowNET.Helper.DirectShowUtil.ReleaseComObject(Object obj)
   ved MediaPortal.Player.VideoPlayerVMR9.GetInterfaces()
   ved MediaPortal.Player.VideoPlayerVMR7.Play(String strFile)
   ved MediaPortal.Player.g_Player.Play(String strFile, MediaType type)
   ved MediaPortal.Player.g_Player.Play(String strFile)
   ved NzbPlay.NzbPlay.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
   ved MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
   ved MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
   ved MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
   ved MediaPortalApp.FrameMove()
   ved MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e)
   ved System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   ved System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   ved System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   ved System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   ved System.Windows.Forms.Application.Run(Form mainForm)
   ved MediaPortalApp.Main(String[] args)

2011-01-25 20:27:11.384500 [ERROR][MPMain(1)]: VideoPlayer9: Failed to render file -> vmr9

it works in vlc. and the movie starts in mediaportal if i let it finish unraring first.
is there any way to make g_player play a growing file with filesharing.read??
 

allengero

Portal Member
July 22, 2007
11
0
43
Home Country
Norway Norway
RARFileSource doesnt play until all rar files are present. my plugin unrars one rarpart at the time(while downloading chronologically) and extracting it to the moviefile. but mediaportal wont play the file until it has closed the moviefile. once its closed i will play half-finished or comleted. but not while the moviefile is still open and waiting for the next rarpart to be extracted.
 

Users who are viewing this thread

Top Bottom