
Originally Posted by
whurlston
Is this with or without buffering? Can you post the logs showing them so I can try to reproduce them.
With buffering on the PC and PCH. Nothing in the logs for the PC for the URL above (which is "A Passage to India")
Code:
************** Exception Text **************
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
and the NMT
Code:
[1676] <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>NextPVR.exe</AppDomain><Exception><ExceptionType>System.Reflection.TargetInvocationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>An exception occurred during the operation, making the result invalid. Check InnerException for exception details.</Message><StackTrace> at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
[1676] at NextPVR.YouTube.VideoStream.GetVideoStreamsCompletedEventArgs.get_Result() in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 166
[1676] at NextPVR.YouTube.YouTubePlugin.thisVs_GetVideoStreamsCompleted(Object sender, GetVideoStreamsCompletedEventArgs e) in F:\Projects\NextPVR\YouTube\YouTube\NewStyleButtonListPlugin.cs:line 416
[1676] at NextPVR.YouTube.VideoStream.OnGetVideoStreamsCompleted(GetVideoStreamsCompletedEventArgs e) in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 178
[1676] at NextPVR.YouTube.VideoStream.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e) in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 52
[1676] at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
[1676] at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
[1676] at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
[1676] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[1676] at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
[1676] at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)</StackTrace><ExceptionString>System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---&gt; System.Net.WebException: The remote server returned an error: (404) Not Found.
[1676] at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
[1676] at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
[1676] at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
[1676] --- End of inner exception stack trace ---
[1676] at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
[1676] at NextPVR.YouTube.VideoStream.GetVideoStreamsCompletedEventArgs.get_Result() in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 166
[1676] at NextPVR.YouTube.YouTubePlugin.thisVs_GetVideoStreamsCompleted(Object sender, GetVideoStreamsCompletedEventArgs e) in F:\Projects\NextPVR\YouTube\YouTube\NewStyleButtonListPlugin.cs:line 416
[1676] at NextPVR.YouTube.VideoStream.OnGetVideoStreamsCompleted(GetVideoStreamsCompletedEventArgs e) in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 178
[1676] at NextPVR.YouTube.VideoStream.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e) in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 52
[1676] at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
[1676] at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
[1676] at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
[1676] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[1676] at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
[1676] at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)</ExceptionString><InnerException><ExceptionType>System.Net.WebException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The remote server returned an error: (404) Not Found.</Message><StackTrace> at Sy
[1676] stem.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
[1676] at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
[1676] at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)</StackTrace><ExceptionString>System.Net.WebException: The remote server returned an error: (404) Not Found.
[1676] at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
[1676] at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
[1676] at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)</ExceptionString></InnerException></Exception></TraceRecord>
For the cannot play error on the NMT, basically without a few more seconds most files don't play for me.
Martin