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
#151
2012-01-21, 01:09 AM
UncleJohnsBand Wrote:Proxy?
Working on it tonight, decided to hold off on movies/trailers until we sort that out. I'm probably going to try a couple of different methods and see which gives the best results.

UncleJohnsBand Wrote:Ok...got it working on NMT.....had to set the default video to be MP4 in the settings on the PC. But video stick chunks when playing.
Hmm... I must have flubbed up something in the code. I'll check it later. Can you post logs showing an attempt to play a file with it set to webm?
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#152
2012-01-21, 01:10 AM
McBainUK Wrote:"Unzip the file to either your NextPVR data folder."
Typo?

Plugin look good. Having a play with it now.
That's what I get for just editing the original post. Big Grin

The plugin can go in the program files folder or the data folder but I was being lazy when doing that post.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#153
2012-01-23, 12:03 AM
whurlston any chance you could you create a Notify Event where I could pass a url and then you could parse and play it with the default settings? When I am browsing the movie listings in SearchLite deciding what to record, the YouTube trailer is often available from themoviedb.org and it would help me with the decision.

Here is what I get for 2001: A Space Odyssey of course I'd just pass the url
<trailer>http://www.youtube.com/watch?v=E8TABIFAN4o</trailer>

SearchLite also would allow text searching for movies not in the EPG, today I wanted to see what Contagion was about typed it in SearchLite got the attached and I'd love a Trailer button. The url for it is

<trailer>http://www.youtube.com/watch?v=4sYSyuuLk5g</trailer>

It is easy to send them to you if you have the Notify covered.

EventBus.GetInstance().Notify("YOUTUBE_PLUGIN_PLAY", "http://www.youtube.com/watch?v=4sYSyuuLk5g");

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#154
2012-01-23, 12:31 AM
I actually just implemented Notify attempting to deal with another issue. Responding to YOUTUBE_PLUGIN_PLAY would be simple. When you say that you want it played with the default settings, do you mean actual default or the user specified settings?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#155
2012-01-23, 12:37 AM
whurlston Wrote:I actually just implemented Notify attempting to deal with another issue. Responding to YOUTUBE_PLUGIN_PLAY would be simple. When you say that you want it played with the default settings, do you mean actual default or the user specified settings?

That would be great and easy (I think) for me too. I meant the user preference for the device that it is on PC/NMT.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#156
2012-01-23, 12:40 AM
Sure. I'll go ahead and implement it for the next build. I've been working on the video playback proxy and I've got a good one but it's throwing a cross thread exception when I try to call PlayFile(). As soon as I can sort that out tonight, I'll have a build for you.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#157
2012-01-23, 06:16 AM
I think I've got a download cache working now. I have some code cleanup and testing to do tomorrow and then I will put up a build for download. I'm afraid that if I mess with the code any longer I'll flub something up in my tired state. (And I want to try to get a couple hours sleep before the storms hit.)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#158
2012-01-23, 06:20 AM
I'm just to bed myself, but I'm ready for you tomorrow. Would it be better to pass the url in a HashTable with the metadata, or should I should just use

PluginHelperFactory.GetPluginHelper().SetPlayerMetaData(metadata);

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#159
2012-01-23, 11:41 PM
Send a hashtable with the following parameters:

@url
@name
@description
@previewImage (only send this one if you have the image and the value should be the image, not a string to the image location).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#160
2012-01-23, 11:56 PM
Ok, but I found with PlayVideo(stream,metadata) @title (@name) and @coverArt (@previewImage) worked nicely during playback. Do your @'s work the same?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


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