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,789
Threads: 769
Joined: Nov 2003
#41
2004-12-09, 06:58 PM
It expects an MPEG2 program stream.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#42
2004-12-10, 09:52 AM
can you set the track number position in the audio playlist directly? also can you quickly get the current track, and total number of tracks, without have to get the entire ilist?
something like pluginhelper.getcurrenttracknumber() pluginhelper.gettotalnumberoftracks()
if not sub would you consider adding these methods? the only one i can see is the PluginHelperFactory.getPluginHelper().GetAudioPlayList(out current,out length, out playback); which grabs the entire ilist, which i dont need.  also is there a boolean to loop through a playlist?
also could a shuffle boolean be added, i dont want to just randomize the playlist, i want to make it randomly play tracks in the playlist.  trying to save the playlists as they were added.

ps i bet you cant guess what im trying to make Tongue



reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#43
2004-12-12, 12:15 AM
sub im writing a "my music" plugin, and i was wondering if you could implement these methods in the next release
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">playlisttrack(int) plays a the nth song in the playlist and continues from there
numberoftracks() returns how many tracks are in the playlist
loopplaylist() a boolean to loop thru the playlist or not
getcurrenttracknumber() gets the current playing track number in the playlist
[/QUOTE]
i can shuffle it myself, so thats no really bigger, but those methods would really help me out.
cheers
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#44
2004-12-12, 12:23 AM
Remind me in about two weeks. I'm focusing on other stuff at the moment.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#45
2004-12-12, 12:28 AM
ok, cheers man.
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#46
2004-12-13, 10:47 AM
I've managed to get GraphEdit to save TV output to a mpeg file using the GB-PVR Writer, and then at the same time play the file using the GB-PVR File Source. Problem is the mpeg encoder I'm using is the evaluation moonlight one, and their mpeg muxer is broken (have to add second pin manually using properties dialog).

So basically all is proven, i can capture at ~700x500 at 70% cpu, the writer works, the reader works, but everything was done manually. Is there any chance that the GB-PVR writer will take div3, div4, divx, or xvid input? (not sure how i'd multiplex it anyways).
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#47
2004-12-15, 12:52 PM
Status update: I have managed to get the moonlight mux to add another pin using moonlight's custom config interface. This means that it's full st&reg;eam ahead to get the proof-of-concept recording module working. (just some finishing touches around the file writer, i have to join it and set the filename, i don't forsee any problems here).

I'll post the full code up here once it's complete, hopefully it shouldn't be too hard to incorporate it into the next version of GB-PVR (fully supporting the recorder plugin interface, right? *grin*)
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#48
2004-12-17, 11:32 AM
First Pass at WDM Capture into Software Compressor with test framework: http://gbpvr.com/cgi-bin/ikonboard.cgi?a...f=6;t=2756
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#49
2004-12-26, 02:02 PM
ok sub i dont know when you're coming back, but just to remind you can you add these methods in the next release. (2 weeks is up Tongue)
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">pause = pause music playback
playtracknumber(int n) = play the nth track in the current playlist
loopplaylist = a bool property which you can set so gbpvr will automatically loop the playlist once reaches the end
ispaused = a bool to indicate whether or not music playback is paused.
nextTrack = next audio track in the current playlist
prevTrack = previous audio track
[/QUOTE]
the last two can be down via playtracknumber(), but might be a good idea just to put those two in aswell. i want the pause, next,prev so i can add a control bar to the app, so touchscreen users/mouse users can click the buttons and control music playback (tried sending the appropriate keystrokes to keypress, but i had no joy with that). also the ispaused() will allow me to indicate (by changing an image) to the user that the music is paused.

cheers,
reven.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#50
2004-12-30, 04:15 PM
so sub u think these are doable?
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


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