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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#481
2013-12-30, 05:50 AM
whurlston Wrote:Some of the encryption algorithms have changed and the youtube-dl project have moved to an auto decrypt routine instead of updating the decryption routines that I was pulling from them. I've known about the issue for a while but never had time to look into it until now.

Attached is a patch that should fix the problem.

Instructions for patch:
  1. Replace the "Plugins\YouTube\youtube.*" files with the matching files in the zip (.dll and .pdb). (Exit NextPVR first.)
  2. Place "parser.aspx" from the zip in your "web\public\youtube" folder. All other files in this folder can be removed because they are no longer used by this patch. It doesn't hurt anything to leave them though.

This patch no longer relies on the youtube-dl project. It now finds and uses the javascript decryption routines directly from youtube.


Separate error. Are you able to copy and post the error text (wrap in a code tag or upload it as an attachment)?

Thanks... I will give it a go.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#482
2013-12-30, 05:58 AM
It probably needs more logging in there but I just wanted to get it out. So far it's worked with every video I've tried.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,027
Threads: 957
Joined: May 2006
#483
2013-12-30, 06:09 AM
Hi whurlston nice to hear from you.


Unfortunately it doesn't work with any for me with stream

Code:
2013-12-30 01:02:18.281    [DEBUG][1]    Looking for missing assembly(1): C:\Users\Public\NPVR\Plugins\YouTube\Microsoft.mshtml.dll
2013-12-30 01:02:18.281    [DEBUG][1]    Looking for assembly in (2) C:\Users\Public\NPVR\Plugins\common\Microsoft.mshtml.dll
2013-12-30 01:02:18.281    [DEBUG][1]    Looking for assembly in (3) C:\Program Files\NPVR\Plugins\common\Microsoft.mshtml.dll
2013-12-30 01:02:18.284    [DEBUG][1]    YouTube: Parsed pconfig in 325ms
2013-12-30 01:02:18.284    [ERROR][1]    YouTube: Could not get streams for W1tzURKYFNs
2013-12-30 01:02:18.284    [DEBUG][1]    Parsing failed due to an unknown error occured. (P1)

When I copied a version I had on my system in Plugins\Common it got rid of the error but the parsing error continues.

On my client it doesn't even register in the main menu.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#484
2013-12-30, 03:09 PM
What version of Windows are you using and do you have .Net 4 installed or just the .Net 4 client profile? The only thing that really changed in the dll is that I now use a System.Windows.Forms.WebBrowser instead of a System.Net.WebClient (both .Net 4.0) since the webclient will not fire the JavaScript code to replace the encrypted signatures with the unencrypted ones.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,027
Threads: 957
Joined: May 2006
#485
2013-12-30, 03:41 PM
whurlston Wrote:What version of Windows are you using and do you have .Net 4 installed or just the .Net 4 client profile? The only thing that really changed in the dll is that I now use a System.Windows.Forms.WebBrowser instead of a System.Net.WebClient (both .Net 4.0) since the webclient will not fire the JavaScript code to replace the encrypted signatures with the unencrypted ones.

Vista 32 for the backend that doesn't work .NET 4 client profile

Win7 64 for the client that won't load. .NET 4.5.1


Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#486
2013-12-30, 04:16 PM
I'm pretty sure that you need the .Net 4 Full package. You can try that or I can try to send you the project code later this evening and you can debug.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#487
2013-12-30, 04:21 PM
I just checked my dev machine and it is running the following:

2.0 SP2
3.0 SP2
3.5 SP1
4.5 Client
4.5 Full
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,027
Threads: 957
Joined: May 2006
#488
2013-12-30, 04:52 PM
I half-solved my client problem, I didn't have the current version running and I needed to update NextUtilies. Now I just get the parsing error on pconfig there too and it has the full 4.5.1 I can look at the code if you email it to me.

This new YouTube is working from the WebClient to XBMC though so it is not a major issue for me.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#489
2013-12-30, 04:53 PM
Martin, can you try placing this version of the mshtml.dll in your common folder?

Edit: Posted this before I saw your last post.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,027
Threads: 957
Joined: May 2006
#490
2013-12-30, 05:01 PM
whurlston Wrote:Martin, can you try placing this version of the mshtml.dll in your common folder?

Edit: Posted this before I saw your last post.

With that file on the backend (not full install) it still fails

Code:
2013-12-30 11:56:28.614    [DEBUG][1]    Looking for assembly in (2) C:\Users\Public\NPVR\Plugins\common\Microsoft.mshtml.dll
2013-12-30 11:56:28.743    [DEBUG][1]    YouTube: Parsed pconfig in 527ms
2013-12-30 11:56:28.743    [ERROR][1]    YouTube: Could not get streams for AphM9UNdhgY
2013-12-30 11:56:28.749    [DEBUG][1]    Parsing failed due to an unknown error occured. (P1)

If it helps the stream that plays in XBMC for that id is

Code:
http://r2---sn-gvbxgn-tt1l.googlevideo.com/videoplayback?sver=3&ipbits=0&fexp=935623,942000,914070,916625,909717,932295,936912,936910,923305,936913,907231,907240,921090&mt=1388422019&id=02984cf5435d8606&key=yt5&mv=m&upn=bCAYXs-rH0k&expire=1388444153&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&ip=removed&itag=22&ms=au&source=youtube&ratebypass=yes&gcr=ca&signature=5A3CA281844DFED45AC49E035CFCF870BF48390A.8ADC7923E18551BC9BB965CF18E2AAB817DCC0E4

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (65): « Previous 1 … 47 48 49 50 51 … 65 Next »
Jump to page 


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