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
#1
2011-11-18, 06:50 AM (This post was last modified: 2013-05-16, 06:33 AM by whurlston.)
Version 1.0.6.3 released (This version requires NextPVR 2.3.6 or higher)

Installation:
  1. Close all NextPVR processes.
  2. Unzip the file to your NextPVR data folder.
  3. Restart the NextPVR recording service.
  4. Start NextPVR.
  5. Go to Settings/Plugins and enable the "YouTube" plugin.
  6. Restart NextPVR.

Usage:
  1. Select the YouTube plugin from the main menu. (It may take a few seconds to start depending on your internet connection.)
  2. The default list is the "Most Recent" videos.
  3. Select the feed category you want from the top (hidden) menu by clicking "Feeds" and selecting the feed from the popup and then select a video list from that particular category.
  4. Authors, Searches and Custom Urls will only appear in the feed categories if you have entries for those categories.
  5. Play a video by selecting it.
  6. If your default list is set to Authors, CustomUrls, or Searches, the default feed will be the first in the corresponding list. If there are no entries in your default list, it will revert back to the default of Videos->"Most Recent".
  7. Settings are applied when starting the plugin so you do not need to exit NextPVR for them to take effect. Simply exit to the main menu, adjust settings in the plugin settings screen and reselect the plugin from the main menu.

Settings Screen:
  • You do not need to change anything in the settings screen to use the plugin. All defaults will be applied on first use.
  • To add Searchs, Authors or Custom URLs, just enter the values in the text fields and press "Add". Make sure to use the "v=2" parameter for custom urls.
  • To delete Searchs, Authors or Custom URLs, select it from the list and press "Remove".
  • To Sort Searchs, Authors or Custom URLs, click on an entry in the list, drag it to the position you want and drop it.

Keyboard/Remote Commands:
  1. Press "Stop" to toggle the list sort between the default and alphabetical
  2. Press "Play" to toggle through the default stream format (PC only).
  3. Press "Record" to toggle through the default stream quality.

Known limitations/bugs:
  1. NMT (ffmpeg) functionality has not been tested with this version. It may be broken.
  2. PC clients will only check for feeds of the configured default stream type.
  3. If you select a video for playback and select it a second time before the video starts playing, it will play two copies almost simultaneously. You will only be able to stop one copy and you will continue to hear the audio of the second playback but you will not be able to stop it. You will need to let it finish or restart NextPVR.
  4. My skinning abilities.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2011-11-18, 06:51 AM (This post was last modified: 2012-01-20, 06:29 AM by whurlston.)
Screenshots
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#3
2011-11-18, 06:51 AM (This post was last modified: 2012-01-20, 06:30 AM by whurlston.)
Screenshots2
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#4
2011-11-18, 11:21 AM
Nice - it's working for me on my PC. Just a couple of things...

whurlston Wrote:Known limitations/bugs:
  • Crashes NextPVR on the NMT when selecting a video.
  • Playback starts after 30% of the video is buffered. This will be configurable in a future release. If you need to buffer longer, just press pause when the video starts playing.
On the first point - do you expect you'll be able to get this to work on the NMT? On the second point, I've tried a few videos but it buffers to 100% before starting playback.

Cheers,
Brian
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#5
2011-11-18, 02:48 PM
NMT: The NMT is my first priority. I expect it to work, it's just starting playback before the buffering is complete for some reason. I just couldn't work on it last night after my wife went to bed because that's where my NMT is.

Buffering: the popup says "100%" but that is actually 100% of 30% of the total download. (e.ProgressPercentage * 100 / 30)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,175
Threads: 958
Joined: May 2006
#6
2011-11-18, 03:52 PM
Really nice to see YouTube in high quality mp4, much nicer than the PlayOn transcoding to Universe. Here are some points

Installing to Program works but you have to move the skins to the DataDirectory

I tried on the NMT but it crashes before playback starts because it looks like the full screen updates come very fast from what looks like multiple threads. NPVR doesn't manage this so you end up with collisions on the VNC socket.

The full screen updates with the buffering message on the NMT pretty much maximizes the throughput (3+ per second). If you want this kind of frequency maybe consider a skin which only sends the rectangle for the message text and not a message box.

Another option for the NMT is to trying passing the http://....mp4 URL and let the PCH buffer it, I've tried a few URL's to mono and the playback starts quite fast this way. I probably would need to tweak mvpmcx2 though.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#7
2011-11-18, 03:57 PM
mvallevand Wrote:Installing to Program works but you have to move the skins to the DataDirectory
:facepalm: I knew better.

mvallevand Wrote:I tried on the NMT but it crashes before playback starts because it looks like the full screen updates come very fast from what looks like multiple threads. NPVR doesn't manage this so you end up with collisions on the VNC socket.

The full screen updates with the buffering message on the NMT pretty much maximizes the throughput (3+ per second). If you want this kind of frequency maybe consider a skin which only sends the rectangle for the message text and not a message box.
I suspected it was my screen refreshes causing it. That's easy enough to fix. I'll have a new build shortly.

mvallevand Wrote:Another option for the NMT is to trying passing the http://....mp4 URL and let the PCH buffer it, I've tried a few URL's to mono and the playback starts quite fast this way. I probably would need to tweak mvpmcx2 though.
I was going to ask if this was possible. It would be my preferred method rather than caching to the PC and then streaming back to the NMT. I'll try it and see how it works.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2011-11-18, 06:06 PM
Martin, I get the following error when attempting to pass a url in PlayVideoFile:
Code:
2011-11-18 12:01:59.531    [DEBUG][3]    YouTube: Playing http://o-o.preferred.insight-sdf1.v15.lscache7.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Cratebypass%2Ccp&fexp=912206%2C914055%2C900504%2C911305%2C911107&itag=45&ip=74.0.0.0&signature=AEC7FFF56673DFE639D7C3EADC21E02E1F1C4987.96E7B1652347F6382E5FD9CD6167554A1776FA08&sver=3&ratebypass=yes&source=youtube&expire=1321660800&key=yt1&ipbits=8&cp=U0hRRlZRTl9FSkNOMV9OS1JJOkFMSlhNbVh4a2NV&id=2d48e7dd1a6470a6&quality=hd720&fallback_host=tc.v15.cache7.c.youtube.com&type=video/webm;
2011-11-18 12:01:59.531    [ERROR][3]    System.ArgumentException: String cannot be of zero length.
Parameter name: oldValue
   at System.String.Replace(String oldValue, String newValue)
   at NextPVR.Players.VideoPlayer.PlayFiles(List`1 playQueue, Int32 playQueueIndex, String& reason)
   at NextPVR.Players.VideoPlayer.PlayFile(String filename, String& reason)
   at NextPVR.MVP.MVPServerForm.PlayVideoFile(String filename)
   at NextPVR.YouTubePlugin.ActivateItem(ListObject selectedObject) in F:\Projects\NextPVR\YouTube\YouTube\Plugin.cs:line 184
   at NUtility.Controls.ListRenderers.UiListList.OnKeyDown(KeyEventArgs e)
   at NUtility.Controls.UiList.OnKeyDown(KeyEventArgs e)
   at NUtility.Base.NewStyleButtonListPlugin.OnKeyDown(KeyEventArgs e)
   at NextPVR.MVP.MVPServerForm.ControlThread()

Going to attempt without buffering updates.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,175
Threads: 958
Joined: May 2006
#9
2011-11-18, 06:50 PM
I'm not sure I just tried a similar URL in a plugin and it plays fine on the PC

Code:
2011-11-18 13:28:12.844    [DEBUG][1]    Playing video file: http://o-o.preferred.rogers-yyz1.v8.lscache3.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Cratebypass%2Ccp&fexp=909340&itag=37&ip=174.0.0.0&signature=6AC6E99264C8675E73F0669169EBFAE216A7ABDA.56DF43A0A627F3B60C5DCFAE0101ED842BF648FF&sver=3&ratebypass=yes&source=youtube&expire=1321653600&key=yt1&ipbits=8&cp=U0hRRlZQUV9FSkNOMV9OSlVHOldaVkh0MW5pM19v&id=2fda0ffc2291517e&ptchn=LadyGagaVEVO&ptk=vevo

What video is that? It's hard to test because the ISP's have their localized youtube cache.

The PCH won't be able to play that file even if it is cached, if it falls back to video/webm Also that URL has another problem because they are longer than the Hauppauge protocol allows for sending to an NMT.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#10
2011-11-18, 06:51 PM (This post was last modified: 2011-11-18, 06:56 PM by whurlston.)
Ok, no luck on getting playback working on the NMT. The only way I could get it to not crash NextPVR was to wait fpr the download to complete before playing. Even then, it just returned to NextPVR without displaying the video. I even tested playing a file directly from a share and that didn't work either. Apparently my A-100 can't handle the high quality mp4?

Edit: posted before I saw yours about the video/webm. Most of the files I'm coming across are using webm. (I thought it was just an MP4 but I see now that it's not.) I guess we will need to transcode those.

I'm not sure which video that was. It might have been Katie Perry. I just selected one from the list.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (65): 1 2 3 4 5 … 65 Next »
Jump to page 


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