NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 62 63 64 65 66 … 93 Next »
Developing plugins

 
  • 0 Vote(s) - 0 Average
Developing plugins
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#51
2004-12-30, 05:03 PM
I've added the following for the next release.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> /// <summary>
/// Pauses audio playback
/// </summary>
void PausePlaylist();

/// <summary>
/// Resume audio playback. This only does anything if its currently paused
/// </summary>
void ResumePlaylistPlayback();

/// <summary>
/// Forces playback of a specific track in the current playlist
/// </summary>
/// <param name="number">track numebr</param>
void PlayPlaylistTrackNumber(int number);

/// <summary>
/// Used to force the playlist playback to loop
/// </summary>
/// <param name="loop"></param>
void LoopPlaylist(bool loop);

/// <summary>
/// Returns an indication of whether the playlist playback is paused
/// </summary>
/// <returns></returns>
bool IsPlaylistPaused();

/// <summary>
/// Moves to the next track in the playlist
/// </summary>
void NextPlaylistTrack();

/// <summary>
/// Moves to the previous track in the playlist
/// </summary>
void PrevPlaylistTrack();
[/QUOTE]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#52
2004-12-30, 05:30 PM
thanks sub, those will come in handy.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#53
2004-12-31, 05:56 AM
sub i thought up 4 other methods that might help touchscreen users.
mute, vol up, vol down, vol level (the percentage like 0 = mute, 100 is max vol etc, this could be used on a &quot;slidebar&quot; for a touchscreen user to quickly adjust volume).

happy new year sub [Image: smile.gif]
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#54
2004-12-31, 07:09 PM
There are already StopAudio(), VolumeIncrease(), and VolumeDecrease() in the plug-in helper class. Do these do what you need?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#55
2005-01-01, 01:46 AM
i new about stop, and i forgot about volumedecrease/increase.

i might, or someone else might (for touch screen users), and a volume slide bar in a plugin, so you can easily adjust the volume. which requires you to know volume level and its max/min, volume increase/decrease is insufficient for this. also im not sure if theres a mute.

the volume control isnt that big of a deal, but it might come in handy in the future, this can wait a while, just bringing it to subs attention, the ones hes already added where the main ones i needed.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#56
2005-01-02, 12:19 PM
sub someone posted in the support forum asking for a video file playlist, chances are you read it, since you read everything Tongue. i agree its a good idea (for movies that are split into multifiles, music videos etc). so am requesting you create a video file queue like with audio files. the methods that would be required are

AddVideoToQueue()
LoopVideoQueue = true/false (property)
GetVideoQueue()

i think thats it. but also it might be a good idea (might be to much work and slow gbpvr down a little thou) to add buttons when playback more than one video file to turn on/off repeat. also to turn on a &quot;random&quot; feature. which would be helpful when playing back music videos (i have a lot of these).

cheers,
reven.
Guest

Unregistered
 
#57
2005-01-10, 11:04 PM
Anyone know how to get rid of the screen saver? Or at least make it longer than 60 seconds?
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#58
2005-01-10, 11:29 PM
http://gbpvr.com/cgi-bin/ikonboard.cgi?act=ST;f=4;t=1


this link is dead???Trying read some video plugin code sample
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#59
2005-01-10, 11:36 PM
The forum software was reinstalled a month or so ago, and it broke some of the old link that had been posted. The posts are still all here, but you'll need to search for them.
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#60
2005-01-11, 12:46 AM
refernce error:not set to instance of object.

Now what
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (10): « Previous 1 … 4 5 6 7 8 … 10 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plugins and NPVR. Where do we start? sub 80 69,094 2020-11-26, 10:02 PM
Last Post: mandai
  Developing Android TV client fred250 2 1,840 2020-11-16, 06:33 PM
Last Post: fred250
  I want to start developing plugins...but how? OrenShapir 6 4,093 2014-11-18, 10:38 PM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,078 2013-07-03, 01:39 AM
Last Post: mvallevand
  Tuner Plugins - Output folders mvallevand 2 2,054 2013-02-19, 07:45 PM
Last Post: mvallevand
  .NET 4 plugins? McBainUK 20 7,777 2012-12-11, 08:48 PM
Last Post: sub
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,774 2012-10-18, 08:35 PM
Last Post: osx-addict
  Tuner plugins mvallevand 4 2,461 2012-08-05, 11:19 PM
Last Post: mvallevand
  Recorder plugins - Deleting tuners mvallevand 1 1,522 2012-03-29, 12:51 AM
Last Post: sub
  Recorder plugins - scheduling mvallevand 4 2,406 2012-03-26, 05:09 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