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

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#551
2014-07-21, 10:43 PM
Success! ta :-)
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#552
2014-08-19, 05:41 AM
There was a change to youtube in the last couple of days that broke the plugin for me to where no videos played. Changing line 37 of parser.aspx will fix it (additions in bold/red):
Code:
    System.Text.RegularExpressions.Match m = new System.Text.RegularExpressions.Regex("(?<=ytplayer.config = )[^\\n]*}(?=;)").Match(s1t[B][color=#FF0000].Replace("};ytplayer.", "};\nytplayer.")[/color][/B]);

Crude workaround to add back a removed newline until I can figure out the proper Regex.
Jaggy
Online

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#553
2014-12-11, 11:29 PM
I'm fairly sure I have all the current files on & I have made the change above to parser.aspx & up until today it has been working fine....

I have been trying to play
https://www.youtube.com/watch?feature=pl...RxH9EZ0cTM
but it won't play, this is what's in the web log

Code:
2014-12-12 12:20:58.267    [INFO][4]    **********************************************
2014-12-12 12:20:58.267    [INFO][4]    *                                            *
2014-12-12 12:20:58.267    [INFO][4]    *                                            *
2014-12-12 12:20:58.267    [INFO][4]    *  NEWA Application Now Started              *
2014-12-12 12:20:58.267    [INFO][4]    *                                            *
2014-12-12 12:20:58.267    [INFO][4]    *                                            *
2014-12-12 12:20:58.267    [INFO][4]    **********************************************
2014-12-12 12:20:59.047    [INFO][4]    YouTube Web: Calling parser
2014-12-12 12:20:59.051    [INFO][4]    YouTube Web: Start of YtConfigParser
2014-12-12 12:20:59.051    [INFO][4]    YouTube Web: Creating StreamerPost
2014-12-12 12:20:59.051    [INFO][4]    YouTube Web: StreamerPost created.
2014-12-12 12:20:59.051    [INFO][4]    YouTube Web: StreamerPost sending request.
2014-12-12 12:20:59.069    [DEBUG][14]    Loading FanArt from: C:\Progs\NPVR\Media\Shows
2014-12-12 12:20:59.153    [DEBUG][14]    FanArt Dictionary Count: 0
2014-12-12 12:20:59.153    [DEBUG][14]    Clearing Dictionary
2014-12-12 12:20:59.153    [DEBUG][14]    FanArt Dictionary Count: 0
2014-12-12 12:20:59.205    [DEBUG][14]    FanArt loaded from directory....  start time:    12/12/2014 12:20:59 p.m.     end time: 12/12/2014 12:20:59 p.m.       total elapsed seconds: 0.135
2014-12-12 12:20:59.206    [DEBUG][14]    FanArt Dictionary Count: 195
2014-12-12 12:20:59.206    [DEBUG][14]    Folders processed: 0
2014-12-12 12:20:59.206    [DEBUG][14]    Fanart files processed: 195
2014-12-12 12:20:59.206    [DEBUG][14]    Total files processed: 341
2014-12-12 12:21:02.533    [INFO][4]    YouTube Web: StreamerPost completed.
2014-12-12 12:21:02.533    [INFO][4]    YouTube Web: Searching for ytplayer.config.
2014-12-12 12:21:02.542    [INFO][4]    YouTube Web: ytplayer.config found.
2014-12-12 12:21:02.551    [INFO][4]    YouTube Web: Encrypted signatures detected.
2014-12-12 12:21:02.568    [INFO][4]    YouTube Web: Getting signatures decryption script.
2014-12-12 12:21:02.569    [INFO][4]    YouTube Web: Checking for local copy: C:\\Progs\\NPVR\\web\\public\youtube\scripts\html5player.js
2014-12-12 12:21:02.569    [INFO][4]    YouTube Web: http://s.ytimg.com/yts/jsbin/html5player-en_US-vflkOb-do/html5player.js
2014-12-12 12:21:11.890    [INFO][4]    YouTube Web: Crash:  Error in UpdateDecodeSig call: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Progs\NPVR\web\public\youtube\scripts\html5player.js'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding)
   at System.IO.File.WriteAllText(String path, String contents)
   at ASP.public_youtube_parser_aspx.YtConfigParser(String videoID, String& html) in c:\Progs\NPVR\web\public\youtube\parser.aspx:line 83
   at ASP.public_youtube_parser_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Progs\NPVR\web\public\youtube\parser.aspx:line 189
2014-12-12 12:21:28.023    [DEBUG][4]    **********  Checking VLC Heartbeat Dictionary
2014-12-12 12:21:28.023    [DEBUG][4]    +++++No entries in VLC Heartbeat Dictionary.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#554
2014-12-29, 07:34 PM
Sorry, been AWOL for a little while. As soon as I get up to speed with the latest release I will look into this.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#555
2014-12-30, 03:41 PM
That video is geo blocked for me. Does it play if you go to it in a browser?
Jaggy
Online

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#556
2014-12-30, 05:38 PM
I did wonder about geo blocking at the time, but it does play in my browser (I just re-checked now), our isp has some sort of global roaming implemented which may be why it plays for me.... when I was playing I did also try <Url name="MyRegion">UK</Url> in my youtube.xml file.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#557
2014-12-31, 12:09 AM
I will add some more logging to the parser later tonight to try to figure out what is causing the problem.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#558
2015-01-14, 04:56 PM
@ Jaggy: I've been overthinking your issue. It's not the parsing that's failing. It's crashing when it tries to cache the javascript files. Can you make sure the web/public/youtube/scripts folder exists on your server? I've added some checks to parser.aspx to handle this better but I can't post it right now because it's not compatible with the current release.
Jaggy
Online

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#559
2015-01-14, 07:09 PM
It only goes down as far as NPVR\web\public\youtube there is currently no scripts sub directory.... should I create one? if so what should be in it??
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#560
2015-01-15, 02:12 AM
Sorry, lost power right after my last post. You can create the empty scripts folder and the parser.aspx will use it to cache some scripts when you select a video. You might get a couple of other errors though. I'm working on packaging an update with several bug fixes and should have it posted within the hour. It will also create the scripts folder if it does not exist.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (65): « Previous 1 … 54 55 56 57 58 … 65 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using R5000-HD with Network Recorder Plugin checkbin99 255 50,020 2021-08-24, 07:50 PM
Last Post: checkbin99
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,069 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,549 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,877 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