NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 6 … 20 Next »
YouTube Plugin

 
  • 0 Vote(s) - 0 Average
YouTube Plugin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#201
2012-01-26, 03:08 AM
Ok, let's try this again. This should fix the problem with playing from the web instead of the proxy.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#202
2012-01-26, 04:16 AM
Sorry whurlston, I still get back the direct URL in both the plugin and the API.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#203
2012-01-26, 04:19 AM
For both PC and NMT? I only tested the PC but it works as expected here for me. I can't test on the NMT at the moment because my wife is sleeping.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#204
2012-01-26, 04:29 AM
Yes on the PC too, it plays fine.

Code:
2012-01-25 23:24:43.682    [DEBUG][1]    Graph filter list:
2012-01-25 23:24:43.682    [DEBUG][1]     - Default DirectSound Device
2012-01-25 23:24:43.682    [DEBUG][1]     - EVR Renderer
2012-01-25 23:24:43.682    [DEBUG][1]     - ffdshow Audio Decoder
2012-01-25 23:24:43.682    [DEBUG][1]     - LAV Video Decoder
2012-01-25 23:24:43.682    [DEBUG][1]     - LAV Splitter
2012-01-25 23:24:43.682    [DEBUG][1]     - http://o-o.preferred.rogers-yyz1.v1.lscache6.c.youtube.com....

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#205
2012-01-26, 04:30 AM
Did you remember to change youtube.xml?
Quote:<Settings>
<General hqThumbs="true" useBufferForNMT="true" useBufferForPC="true" sticky="true">
...
</Settings>

It's defaulted to false.

I did forget to pass the tinyUrl though (which I've now fixed in my code) but that won't affect buffering.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#206
2012-01-26, 04:33 AM
Nevermind I missed the attributes in YouTube.xml.

Edit: As you just wrote!

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#207
2012-01-26, 04:33 AM
Whew. I thought my mind had finally gone.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#208
2012-01-26, 05:01 AM
I'm finding it a bit hit and miss on the NMT some files that are mp4 keep saying "Could not play" from the plugin. I added 5 more seconds on the callback and it seems to be better in SearchLite.

Also you don't handle this message http://www.youtube.com/watch?v=rBSbHInLQ3c on the PC it is 404 on the NMT it crashes.

Also on the NMT I get the please wait buffering but the ShowMessage doesn't disappear on it's own, I have to hit a key when I think it should be ready.


Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#209
2012-01-26, 05:20 AM
mvallevand Wrote:I'm finding it a bit hit and miss on the NMT some files that are mp4 keep saying "Could not play" from the plugin. I added 5 more seconds on the callback and it seems to be better in SearchLite.

Also you don't handle this message http://www.youtube.com/watch?v=rBSbHInLQ3c on the PC it is 404 on the NMT it crashes.
Is this with or without buffering? Can you post the logs showing them so I can try to reproduce them.

I have some more work to do on teh buffering in regards to error handling. If buffering is not used, I have no way to know which streams are valid and which are not. I'm just passing the stream URL youtube gives me in that case.
mvallevand Wrote:Also on the NMT I get the please wait buffering but the ShowMessage doesn't disappear on it's own, I have to hit a key when I think it should be ready.


Martin
I'll look into it.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#210
2012-01-26, 05:34 AM
whurlston Wrote: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. ---&amp;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
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (65): « Previous 1 … 19 20 21 22 23 … 65 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using R5000-HD with Network Recorder Plugin checkbin99 255 51,228 2021-08-24, 07:50 PM
Last Post: checkbin99
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,117 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,352 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,221 2017-02-07, 07:10 AM
Last Post: petenshari
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,732 2016-09-25, 08:26 AM
Last Post: imilne
  Movies2 Plugin Problem... Anyone using it? ga_mueller 5 4,472 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Plex Plugin Nikkie300 4 6,186 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,638 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,833 2015-05-19, 02:20 PM
Last Post: imilne
  Files Plugin crashes when there is an ' in the file name. cbgifford 89 29,386 2015-01-28, 05:19 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode