NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 … 93 Next »
New Systems Plugin

 
  • 0 Vote(s) - 0 Average
New Systems Plugin
kirschey
Offline

Member

USA
Posts: 231
Threads: 62
Joined: May 2005
#1
2020-11-05, 12:00 AM
I would love to develop a new systems plugin for the windows client for v5, but I am not even sure this is possible. If anyone has the knowledge of where/how to add GUI elements to run a few commands, like shutdown -r, shutdown -s, and hard drive space, etc.
Intel NUC8i7BEH

OLD
Intel Core i3-530 Clarkdale 2.93GHz, ASUS P7H55D-M, 4GB DDR3 SDRAM DDR3 1333, 1.5TB SATA 3.0 HD, Windows 10 Pro, Hauppauge WinTV-HVR-2250 (depreciated), SiliconDust HDHomerun Prime, Harmony One
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2020-11-05, 02:16 AM
Unfortunately it's not plugins aren't currently possible in v5. There is no framework to look for them, and hook them up etc.

Under v4 there were very few plugins, and they were only used by a handful of people, so it was pretty far down the priority list when implementing v5.
kirschey
Offline

Member

USA
Posts: 231
Threads: 62
Joined: May 2005
#3
2020-11-05, 02:32 AM
I was thinking if there were a few api hooks, I could simply build a web framework in PHP or JavaScript etc. If I could help build it out in any way I would, but thank you.
Intel NUC8i7BEH

OLD
Intel Core i3-530 Clarkdale 2.93GHz, ASUS P7H55D-M, 4GB DDR3 SDRAM DDR3 1333, 1.5TB SATA 3.0 HD, Windows 10 Pro, Hauppauge WinTV-HVR-2250 (depreciated), SiliconDust HDHomerun Prime, Harmony One
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#4
2020-11-05, 02:41 AM
Hard drive space is in the web app already. Are you looking to shutdown reboot the server remotely? How often do you do that?


Martin
kirschey
Offline

Member

USA
Posts: 231
Threads: 62
Joined: May 2005
#5
2020-11-05, 02:50 AM
I want to display it in the windows client. Wife-friendly.
Intel NUC8i7BEH

OLD
Intel Core i3-530 Clarkdale 2.93GHz, ASUS P7H55D-M, 4GB DDR3 SDRAM DDR3 1333, 1.5TB SATA 3.0 HD, Windows 10 Pro, Hauppauge WinTV-HVR-2250 (depreciated), SiliconDust HDHomerun Prime, Harmony One
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2020-11-05, 04:05 AM
When you're logged into the web app (so the session is logged in), open the following in web browser tab:

http://localhost:8866/service?method=sys...ormat=json

You should see the available disk space.

To call this from application, you need a few extra steps to login a session. The easiest example is probably in the kodi addon at https://github.com/kodi-pvr/pvr.nextpvr/tree/Matrix/src. There has been a couple of forum posts that have discussed it in the past. If you decide to give this a go, and need help, just ask.

Alternatively you could run nscripthelper to make the call.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#7
2020-11-14, 08:43 AM
Are you saying you'll never implement what we need to update plugins, sub? I'm still using v4 for now but keep meaning to get around to setting up v5 properly, but I'd certainly miss the ability to add plugins. Certainly the System plugin was one of my most used; we shut the machine down at the end of every night.

Iain
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#8
2020-11-14, 07:01 PM
I'm not adverse to adding the plugin support back into nextpvr.exe, but any plugins would need to be rebuilt to target .net standard, instead of .net framework. (ie, so wouldn't be able to load existing plugins without changes by the developers)
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#9
2020-11-14, 07:35 PM
That'd be fine with me - I certainly never expected them to just work. No rush though, at least for me and while the rest of the household are still quite happy with v4. I should probably get things updated to Windows 10 too. Urgh.

Iain
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#10
2020-11-14, 07:54 PM
I actually thought NextPVR.exe was still net framework. I'm not sure how plugins work since they could still be exposed to non Windows platforms through UI Client. Most of Systems Plugin would be Windows specific I suspect.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,726 2022-10-17, 12:44 AM
Last Post: sgilani
  VIdeo playback from plugin mvallevand 5 3,421 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,857 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,735 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,027 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,932 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,930 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,211 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,406 2012-01-15, 08:33 PM
Last Post: imilne
  NSIS installer script for a NPVR plugin? McBainUK 6 3,178 2011-12-10, 03:23 PM
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