NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 403 404 405 406 407 … 433 Next »
Plugin development documenation for NextPVR?

Plugin development documenation for NextPVR?
peter_h
Offline

Member

Posts: 67
Threads: 24
Joined: Jan 2008
#1
2010-10-15, 01:06 AM
I'm considering taking up plugin development for NextPVR. However, I can't seem to find any documentation specifically for NPVR. I haven't done any GBPVR plugin development previously . I'm assuming it's different than writing GBPVR plugins?

My main reasons to contribute are to add the following functions:

1) Cloned video on multiple monitors: http://forums.gbpvr.com//showthread.php?...highlight=
2) Tracking multiple users' viewing history: http://forums.gbpvr.com//showthread.php?...tched-what
3) Adding the ability to play musical Playlists and AutoPlaylists that are from a MediaMonkey3 database.
4) Adding remote control, via a two-way IP socket, from multiple room-sensitive wi-fi PocketPC/Android/iPhone/iPodTouch devices running an Adobe Flash-GUI.

Given these requirements, do you think NPVR is the right choice? Or should I be looking at MediaPortal, given that its core is open source, in case I run into issues with things like adding T-filters into the DirectShow graph to support my AV cloning requirements?

Also, I remember Sub posting something about how, with NPVR, plugins will be able to add their own graphics to the core screens... is that still the case?

Thanks Smile
Pete
Karori, Wellington, NZ

HARDWARE: AMD x4 9550, WinXP sp3, Hauppauge HVR-4000 (Freeview/DVB-T only ATM); Hauppauge HVR-1700 (DVB-T); 2 x GeForce 9600GT; All latest drivers; SPDIF out;
UHF rooftop aerial with a direct line-of-sight 3km to Mt KauKau.
SOFTWARE: MediaPortal 1.1; NPVR; Latest HVR4000 drivers; WinTV7; ArcSoft TotalMedia; Cyberlink PowerDVD 7.0; MPV Decoder; AC3Filter; Mpeg2DecFilter.ax; mmaacd.ax (Morgan AAC decoder)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#2
2010-10-15, 01:44 AM
I dont have any documentation for you, but there was a few sample plugins posted.

Quote:1) Cloned video on multiple monitors: http://forums.gbpvr.com//showthread....ors&highlight=
You wouldnt be able to do this. Plugins dont have any low-level controls over media playback graphs.

Quote:2) Tracking multiple users' viewing history: http://forums.gbpvr.com//showthread....s-watched-what
You could write plugins to track viewing history of multiple users. Plugins get events about what files are played.

Quote:3) Adding the ability to play musical Playlists and AutoPlaylists that are from a MediaMonkey3 database.
Its easy to use the API to pass a list of files to play.

Quote:4) Adding remote control, via a two-way IP socket, from multiple room-sensitive wi-fi PocketPC/Android/iPhone/iPodTouch devices running an Adobe Flash-GUI.
It really depends how far you wanted to take this. You could certainly deliver keystrokes to the app from a plugin (much like a remote control would). Alternatively, you could initate playback of recordings, music, live tv etc, channels change etc, if you want to create your own rich UI on the remote device.

Quote:Also, I remember Sub posting something about how, with NPVR, plugins will be able to add their own graphics to the core screens... is that still the case?
Thats not something I said. I did say NPVR plugins can display images over video playback etc, which might be what you're thinking of. Plugins have no control over things shown in other screens.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#3
2010-10-15, 02:44 AM
I was planning to ask for #4 once I got my IPad clone so I could do things like browse recordings while something is playing. This can already be done via existing infrastructure like NEWA but once I found what I want, I could initiate it back on the main screen. Probably still doable via a plugin but it might be nice to have a built in TCP listener for keystrokes.

Think SideShow remote functionality.
peter_h
Offline

Member

Posts: 67
Threads: 24
Joined: Jan 2008
#4
2010-10-16, 01:04 AM
Thanks Sub, I appreciate the first-hand answers. Smile
All good news for me, except this one:

sub Wrote:1) Cloned video on multiple monitors:
You wouldnt be able to do this. Plugins dont have any low-level controls over media playback graphs.
Thought that might be the case. Sub, I wonder, in around 6 months time when NPVR is settled, and you maybe have more time and you're willing, what would be the chances of you adding some API functionality that specifies that a T-filter be added to the end of the graph, in order to support cloned screens? Smile (I've done this manuallly as an experiment in GraphStudio and managed to produce cloned video on multiple screens without a problem.)

Also, another question... Are plugins able to add their own fields to the DB record for a mediaItem?

Thanks again Smile
Pete
Karori, Wellington, NZ

HARDWARE: AMD x4 9550, WinXP sp3, Hauppauge HVR-4000 (Freeview/DVB-T only ATM); Hauppauge HVR-1700 (DVB-T); 2 x GeForce 9600GT; All latest drivers; SPDIF out;
UHF rooftop aerial with a direct line-of-sight 3km to Mt KauKau.
SOFTWARE: MediaPortal 1.1; NPVR; Latest HVR4000 drivers; WinTV7; ArcSoft TotalMedia; Cyberlink PowerDVD 7.0; MPV Decoder; AC3Filter; Mpeg2DecFilter.ax; mmaacd.ax (Morgan AAC decoder)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#5
2010-10-16, 01:44 AM
peter_h Wrote:TThought that might be the case. Sub, I wonder, in around 6 months time when NPVR is settled, and you maybe have more time and you're willing, what would be the chances of you adding some API functionality that specifies that a T-filter be added to the end of the graph, in order to support cloned screens? Smile (I've done this manuallly as an experiment in GraphStudio and managed to produce cloned video on multiple screens without a problem.)
To be honest, it's unlikely. There is more to it than just adding a tee filter. I think this is too niche to justify the effort that would be required.

Quote:Also, another question... Are plugins able to add their own fields to the DB record for a mediaItem?
Do you mean the video library etc? These are done purely from the file system, and doesnt store or retrieve information from the database to display the items.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#6
2010-10-16, 03:05 AM
sub Wrote:To be honest, it's unlikely. There is more to it than just adding a tee filter. I think this is too niche to justify the effort that would be required.

Do you mean the video library etc? These are done purely from the file system, and doesnt store or retrieve information from the database to display the items.

But plugins can have their own database (like Weather).

"I'd rather have a bottle in front of me than a frontal lobotomy"
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 141,506 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,257 2023-06-18, 03:54 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,168 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,682 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,431 2021-07-23, 07:01 PM
Last Post: sub
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,571 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,941 2021-02-03, 01:29 PM
Last Post: Graham
  NextPVR V4 Web Issue meccano 3 1,894 2021-01-30, 04:20 AM
Last Post: meccano
  TV very choppy after downgrade from Nextpvr v5 riverboat2001 18 4,815 2021-01-26, 01:51 PM
Last Post: mvallevand
  Configure NextPVR Server Pliedes 1 1,826 2020-10-07, 04:59 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode