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
#161
2012-01-24, 12:19 AM
I'm currently using the names I listed above in my uiList and those are what I use when I parse the streams. When I call PlayFile(), I create a new hashtable and convert them to the @title/@coverart.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,180
Threads: 958
Joined: May 2006
#162
2012-01-24, 12:25 AM
If send in metadata format, you could just pass it as is. Mine test yesterday already had @url and sub ignores it.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#163
2012-01-24, 12:32 AM
I can't just pass it as is because it has to go through a few processes before I even get to PlayFile(). I have to download the page, parse the video streams, select the appropriate one start the proxy download if necessary, then I get to call PlayFile(). Those processes were already coded to use the names I listed above. I can change them if you want.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,180
Threads: 958
Joined: May 2006
#164
2012-01-24, 12:35 AM
No it's a five second change, here, I figured you wouldn't need them and thought I'd save you some time.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#165
2012-01-24, 12:40 AM
Actually, don't do the change on your end, I've already started doing it. I may be able to eliminate some of the code I have by doing it that way.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,180
Threads: 958
Joined: May 2006
#166
2012-01-24, 01:07 AM
Easy, my wife says I am very good at doing nothing. Unfortunately I think she includes anything I do related to NextPVR as "nothing"

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#167
2012-01-24, 01:15 AM
I think I married her sister.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#168
2012-01-24, 01:20 AM
She must have had a few sisters
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#169
2012-01-24, 03:51 AM
Ok, I'm not able to fully test this at the moment but it should work.

@ UJB/Martin: It will buffer the videos to the live tv folder and they should be playable on the NMT. It does not currently do any cleanup so you will need to delete all the youtube-* files afterwards. It's buffering for both PC and NMT and it always saves it with a .mp4 extension. This is because the default settings for LAV will not play a file with a .webm extension automatically so I had to trick it to load.

@Martin: It should respond to your YOUTUBE_PLUGIN_PLAY notifications. If it doesn't email me a build of the plugin so I can debug my end.

This is only a test to see if the above two functions are working as expected. This build is not meant for general consumption.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,180
Threads: 958
Joined: May 2006
#170
2012-01-24, 04:20 AM
Before I send it what I see in your logs is

Code:
2012-01-23 23:13:27.315    [DEBUG][1]    YouTube: IEventNotification(YOUTUBE_PLUGIN_PLAY, System.Collections.Hashtable)
2012-01-23 23:13:27.440    [DEBUG][1]    OnKeyDown() done. Took 129 ms
2012-01-23 23:13:33.278    [DEBUG][7]    YouTube: Video Downloader: Started : Starting download of "C:\temp\youtube-E8TABIFAN4o.PC.mp4" : Filesize is 19874374
2012-01-23 23:13:33.313    [DEBUG][7]    YouTube: Video Downloader: ReadyToWatch : C:\temp\youtube-E8TABIFAN4o.PC.mp4
2012-01-23 23:13:39.757    [DEBUG][7]    YouTube: Video Downloader: Completed : C:\temp\youtube-E8TABIFAN4o.PC.mp4

The video doesn't ever start to play, but it is valid.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (65): « Previous 1 … 15 16 17 18 19 … 65 Next »
Jump to page 


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