WifiRemote - a tcp remote control server 0.8.3 [2014-07-20] | Page 47

Discussion in 'MediaPortal 1 Plugins' started by Shukuyen, May 5, 2011.

  1. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    I'm still not able to play a file. Here is a section from the log showing the errors., Any ideas?





    [2015-04-28 09:26:50,062] [Error ] [25 ] [ERROR] - LoadSkin: Running on wrong thread - StackTrace: ' at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
    at System.Environment.get_StackTrace()
    at MediaPortal.GUI.Library.GUIWindow.LoadSkin()
    at MediaPortal.GUI.Library.GUIWindow.AllocResources()
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    at MediaPortal.GUI.Video.GUIVideoFullscreen.OnMessage(GUIMessage message)
    at MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow(Int32 newWindowId, Boolean replaceWindow, Boolean skipHistory, String loadParameter, Boolean skipAnimation, Int32 focusControlId)
    at WifiRemote.Communication.PlayVideoFile(String video, Int32 position, String fileHandler)
    at WifiRemote.SocketServer.newSocket_DidRead(AsyncSocket sender, Byte[] data, Int64 tag)
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Delegate.DynamicInvokeImpl(Object[] args)
    at Deusty.Net.AsyncSocket.ProcessEvent()
    at Deusty.Net.AsyncSocket.OnSocketWillClose(Exception e)
    at Deusty.Net.AsyncSocket.CloseWithException(Exception e)
    at Deusty.Net.AsyncSocket.stream_DidRead(IAsyncResult iar)
    at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
    at System.Net.ContextAwareResult.CompleteCallback(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Net.ContextAwareResult.Complete(IntPtr userToken)
    at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
    at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)'
    [2015-04-28 09:26:50,226] [Log ] [25 ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : C:\Users\Public\Videos\Blended.MPG
    [2015-04-28 09:26:50,226] [Log ] [25 ] [INFO ] - g_Player.OnChanged()
    [2015-04-28 09:26:50,227] [Log ] [25 ] [INFO ] - RadioRecorded:OnPlayRecordingBackChanged TV C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
    [2015-04-28 09:26:50,227] [Log ] [25 ] [INFO ] - TvRecorded:OnPlayRecordingBackChanged TV C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
    [2015-04-28 09:26:50,231] [Log ] [25 ] [WARN ] - [WIFI_REMOTE] WifiRemote Communication Error: Unable to cast COM object of type 'System.__ComObject' to interface type 'DirectShowLib.IAMLine21Decoder'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6E8D4A21-310C-11D0-B79A-00AA003767A7}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    [2015-04-28 09:26:50,249] [Log ] [MPMain ] [INFO ] - TVHome:OnPageLoad
    [2015-04-28 09:26:50,250] [Log ] [MPMain ] [INFO ] - tv home init:KLRT
    [2015-04-28 09:26:50,250] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=KLRT
    [2015-04-28 09:26:50,255] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: OnZapping :128
    [2015-04-28 09:26:50,266] [Log ] [MPMain ] [INFO ] - succeeded:confused:ucceeded TvControl.VirtualCard
    [2015-04-28 09:26:50,266] [Log ] [MPMain ] [INFO ] - tvhome:confused:eektoEnd(174.0893125/378.991),True,rtsp=False
    [2015-04-28 09:26:50,267] [Log ] [MPMain ] [INFO ] - TsReaderPlayer:seekabs:3789910000 start:0 end:3789910000
    [2015-04-28 09:26:50,284] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: pos: 3789910000 start:0 end:3789910000
    [2015-04-28 09:26:50,285] [Log ] [MPMain ] [INFO ] - TsReaderPlayer seek done:0
    [2015-04-28 09:26:50,285] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: current pos:378.991 dur:378.991
    [2015-04-28 09:26:50,285] [Log ] [MPMain ] [INFO ] - TSReaderPlayer:Continue graph
    [2015-04-28 09:26:50,286] [Log ] [MPMain ] [INFO ] - tvhome:startplay
    [2015-04-28 09:26:50,287] [Log ] [MPMain ] [INFO ] - tvhome:file:C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
    [2015-04-28 09:26:50,288] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 1 - 2 ms - Done method initialization
    [2015-04-28 09:26:50,289] [Log ] [MPMain ] [INFO ] - tvhome:startplay:C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer - using rtsp mode:False
    [2015-04-28 09:26:50,290] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Cleanup DShow graph False
    [2015-04-28 09:26:50,302] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Cleanup Get hr value -2147467262
    [2015-04-28 09:26:50,302] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter MediaPortal DVBSub3
    [2015-04-28 09:26:50,303] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter Enhanced Video Renderer
    [2015-04-28 09:26:50,303] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter DirectSound: SAMSUNG (Intel(R) Display Audio)
    [2015-04-28 09:26:50,304] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter Line 21 Decoder 2
    [2015-04-28 09:26:50,304] [Log ] [MPMain ] [INFO ] - Disconnecting pin XForm Out
    [2015-04-28 09:26:50,304] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,304] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter ffdshow Audio Decoder
    [2015-04-28 09:26:50,305] [Log ] [MPMain ] [INFO ] - Disconnecting pin Out
    [2015-04-28 09:26:50,305] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,307] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter Microsoft DTV-DVD Video Decoder
    [2015-04-28 09:26:50,307] [Log ] [MPMain ] [INFO ] - Disconnecting pin Video Output 1
    [2015-04-28 09:26:50,308] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,308] [Log ] [MPMain ] [INFO ] - Disconnecting pin ~Line21 Output
    [2015-04-28 09:26:50,308] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,309] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter Core CC Parser
    [2015-04-28 09:26:50,309] [Log ] [MPMain ] [INFO ] - Disconnecting pin Pass Through
    [2015-04-28 09:26:50,310] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,310] [Log ] [MPMain ] [INFO ] - Disconnecting pin Line 21
    [2015-04-28 09:26:50,310] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,310] [Log ] [MPMain ] [INFO ] - Disconnecting all pins from filter TsReader
    [2015-04-28 09:26:50,311] [Log ] [MPMain ] [INFO ] - Disconnecting pin Audio
    [2015-04-28 09:26:50,311] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,311] [Log ] [MPMain ] [INFO ] - Disconnecting pin Video
    [2015-04-28 09:26:50,311] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,311] [Log ] [MPMain ] [INFO ] - Disconnecting pin Subtitle
    [2015-04-28 09:26:50,312] [Log ] [MPMain ] [INFO ] - Not connected
    [2015-04-28 09:26:50,317] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Disabling DX9 exclusive mode
    [2015-04-28 09:26:50,317] [Log ] [MPMain ] [INFO ] - Main: GUI_MSG_SWITCH_FULL_WINDOWED message is obsolete.
    [2015-04-28 09:26:50,318] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' disabled
    [2015-04-28 09:26:50,318] [Log ] [MPMain ] [INFO ] - g_Player.Play(C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer TV)
    [2015-04-28 09:26:50,318] [Log ] [MPMain ] [INFO ] - TSReaderPlayer play:C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer radio:False
    [2015-04-28 09:26:50,318] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: live tv
    [2015-04-28 09:26:50,319] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Enabling DX9 exclusive mode
    [2015-04-28 09:26:50,319] [Log ] [MPMain ] [INFO ] - Main: GUI_MSG_SWITCH_FULL_WINDOWED message is obsolete.
    [2015-04-28 09:26:50,319] [Log ] [MPMain ] [INFO ] - TSReaderPlayer:play C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
    [2015-04-28 09:26:50,319] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: GetInterfaces()
    [2015-04-28 09:26:50,321] [Log ] [MPMain ] [INFO ] - DirectShowUtils: First try to insert new audio renderer DirectSound: SAMSUNG (Intel(R) Display Audio)
    [2015-04-28 09:26:50,321] [Log ] [MPMain ] [INFO ] - DirectShowUtils: Found audio renderer
    [2015-04-28 09:26:50,323] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Add TsReader to graph
    [2015-04-28 09:26:50,323] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Open file: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
    [2015-04-28 09:26:50,342] [Log ] [MPMain ] [INFO ] - TSReaderPlayer:OnRequestAudioChange()
    [2015-04-28 09:26:50,343] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: AudioDualMonoMode switching not available. Audioswitcher filter not loaded
    [2015-04-28 09:26:50,343] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: AudioDualMonoMode switching not available. Audioswitcher filter not loaded
    [2015-04-28 09:26:50,343] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: AudioDualMonoMode switching not available. Audioswitcher filter not loaded
    [2015-04-28 09:26:50,343] [Log ] [MPMain ] [INFO ] - Audio stream: no preferred stream found - switching to audio stream 0
    [2015-04-28 09:26:50,344] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: AudioDualMonoMode switching not available. Audioswitcher filter not loaded
    [2015-04-28 09:26:50,353] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: OnVideoFormatChanged - streamtype=MPEG2 resolution=1280x720 aspect ratio=16:9 bitrate=0 isInterlaced=False
    [2015-04-28 09:26:50,357] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Add codecs
    [2015-04-28 09:26:50,578] [Log ] [MPMain ] [INFO ] - VMR9: added EVR Renderer to graph
    [2015-04-28 09:26:50,630] [Log ] [MPMain ] [INFO ] - Added filter: ffdshow Video Decoder to graph
    [2015-04-28 09:26:50,631] [Log ] [MPMain ] [INFO ] - Added filter: Core CC Parser to graph
    [2015-04-28 09:26:50,633] [Log ] [MPMain ] [INFO ] - Added filter: MediaPortal DVBSub3 to graph
    [2015-04-28 09:26:50,639] [Log ] [MPMain ] [INFO ] - Added filter: ffdshow Audio Decoder to graph
    [2015-04-28 09:26:50,640] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Render TsReader outputs
    [2015-04-28 09:26:50,945] [Log ] [MPMain ] [INFO ] - Prefered language 1 is eng
    [2015-04-28 09:26:50,945] [Log ] [MPMain ] [INFO ] - Prefered language 2 is spa
    [2015-04-28 09:26:50,946] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Cleanup Captions
    [2015-04-28 09:26:50,946] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Cleanup Captions
    [2015-04-28 09:26:50,947] [Error ] [MPMain ] [ERROR] - Exception while releasing COM object (NULL) - stacktrace: at DShowNET.Helper.DirectShowUtil.ReleaseComObject(Object obj)
    at DShowNET.Helper.DirectShowUtil.RenderUnconnectedOutputPins(IGraphBuilder graphBuilder, IBaseFilter baseFilter)
    at MediaPortal.Player.TSReaderPlayer.GetInterfaces(String filename)
    at MediaPortal.Player.BaseTSReaderPlayer.Play(String strFile)
    at MediaPortal.Player.g_Player.Play(String strFile, MediaType type, TextReader chapters, Boolean fromPictures, Int32 title, Boolean forcePlay, Boolean fromExtTS)
    at MediaPortal.Player.g_Player.Play(String strFile, MediaType type, String chapters, Boolean fromTVPlugin)
    at TvPlugin.TVHome.StartPlay()
    at TvPlugin.TVHome.ViewChannelAndCheck(Channel channel)
    at TvPlugin.TVHome.AutoTurnOnTv(Channel channel)
    at TvPlugin.TVHome.OnPageLoad()
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    at TvPlugin.TVHome.OnMessage(GUIMessage message)
    at MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow(Int32 newWindowId, Boolean replaceWindow, Boolean skipHistory, String loadParameter, Boolean skipAnimation, Int32 focusControlId)
    at MediaPortal.GUI.Library.GUIWindowManager.ShowPreviousWindow()
    at MediaPortal.GUI.Library.GUIWindowManager.ShowPreviousWindow()
    at MediaPortal.GUI.Video.GUIVideoFullscreen.Process()
    at MediaPortal.GUI.Library.GUIWindowManager.ProcessWindows()
    at MediaPortalApp.FrameMove()
    at MediaPortal.D3D.OnIdle(Object sender, EventArgs e)
    at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at MediaPortalApp.Main(String[] args)
    [2015-04-28 09:26:50,951] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Closed Captions Digital state change successful
    [2015-04-28 09:26:50,951] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Closed Captions Digital state change successful
    [2015-04-28 09:26:50,951] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Closed Captions Digital state change successful
    [2015-04-28 09:26:50,995] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: OnInitialized
    [2015-04-28 09:26:50,995] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: position:0, duration:379.369
    [2015-04-28 09:26:50,995] [Log ] [MPMain ] [INFO ] - g_Player.OnStarted() C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer media:TV
    [2015-04-28 09:26:50,999] [Log ] [MPMain ] [INFO ] - [WIFI_REMOTE] {"Type":"nowplaying","Duration":379,"File":"C:\\ProgramData\\Team MediaPortal\\MediaPortal TV Server\\timeshiftbuffer\\live4-0.ts.tsbuffer","Position":0,"IsTv":true,"IsFullscreen":false,"MediaInfo":{"MediaType":"tv","MpExtId":"56","MpExtMediaType":12,"MpExtProviderId":0,"ChannelId":56,"ChannelName":"KLRT","CurrentProgramId":0,"CurrentProgramName":null,"CurrentProgramDescription":null,"CurrentProgramBegin":"\/Date(-62135575200000-0600)\/","CurrentProgramEnd":"\/Date(-62135575200000-0600)\/","NextProgramId":0,"NextProgramName":null,"NextProgramDescription":null,"NextProgramBegin":"\/Date(-62135575200000-0600)\/","NextProgramEnd":"\/Date(-62135575200000-0600)\/"}}
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    I was revisiting this issue today. Has anyone else had trouble getting a file to play? I've tried everything I can think of to get this plugin to play a video file.
     
  4. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    I normally play media files using MPExtended ids, not sure if these commands are documented in the wiki. I also think I had issues with the playfile command, the file started but I instead got issues when playback stopped. However, using playing files with the playlist commands works fine.
     
  5. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    I'll look around and see if I can find any documentation for those MPExtended calls and report back here. Thanks for the suggestion.
     
  6. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    It seems that the MPExtended is only intended for display on an external monitor. I'm trying to send a command to play videos inside of the main MP system. I guess its back to square one.
     
  7. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    I have sent a pm to you with usage of the MPExt. info to start media in MediPortal. Basically you retrieve id of the media you want to play from MPExt. and send that to WifiRemote and it will start playing in MediaPortal. Otherwise you can use a playlist for playing the file directly if you don't want to involve MPExt.
     
  8. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Thank you for that. I'll take a look and see if I can figure it out. I'm not very good with JavaScript, but I'll give it a go. :)
     
  9. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Well, I just haven't had any luck getting video files to play. I did give PlayFile another try, but I guess it is no longer compatible with the newer versions of MP.
     
  10. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I will look into playFile in the next few days. Maybe I can find out where the problem is.
     
  11. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Thank you very much. I'm trying to provide a touch interface for sick kids to easily start up their movies. The WiFi remote interface along with PlayFile seems to fit the bill.
    .
     
Loading...

Users Viewing Thread (Users: 0, Guests: 1)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!