NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 87 88 89 90 91 … 93 Next »
Calling another menu button from another plugin..?

 
  • 0 Vote(s) - 0 Average
Calling another menu button from another plugin..?
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#1
2004-09-28, 04:32 PM
Does anyone know how I can call, say, the 'Live TV' or 'DVD' button/function from another plugin?
Thanks!
joshley
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2004-09-28, 04:38 PM
You cant current "switch" plugins using the plugin API. In the same way the pluginhelper has APIs for playing music and video files, there are also calls for playing DVDs. These were added in the last release.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> /// <summary>
/// Attempts to play any DVD in the GB-PVR configured DVD drive
/// </summary>
/// <param name="filename"></param>
void PlayDVD();

/// <summary>
/// Attempts to play a ripped DVD from the specified directory
/// </summary>
/// <param name="filename"></param>
void PlayDVDFromDirectory(String directory);

/// <summary>
/// Attempts to play a ripped DVD from a specified ISO file
/// (requires daemon tools to be installed and configured)
/// </summary>
/// <param name="filename"></param>
void PlayDVDFromISO(String filename);[/QUOTE]
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#3
2004-09-28, 05:08 PM
Thanks Sub! That's almost everything I need! Is there a method for calling Live TV? So I could have a plugin with a 'shortcut' to Live TV?
joshley
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#4
2004-09-28, 05:11 PM
I'll try an add this for the next release. I havn't really had much time for additions or bugs in the last coule of weeks. So far there has only been two small items added to the change.log for the next release.
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#5
2004-09-28, 05:17 PM
Cheers Sub! I'll keep an eye out!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,801 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,340 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,448 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,892 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,766 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,071 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,944 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,971 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,236 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,421 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode