NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 17 18 19 20 21 … 93 Next »
c# ==> c++/cpp Need Help

 
  • 0 Vote(s) - 0 Average
c# ==> c++/cpp Need Help
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#11
2010-12-28, 10:24 PM
Hey, sub

Only one thing to implement before release: Progress of currrent track/movie.

Where can we get the time, or progress of i.e. an mp3, video that is currently playing?
I've been looking in the GBPVR documentation and in the NPVRUtillity, still, can't figure it out...

Off the record, What about the current codec type?
I guess that's something that nPVR does not know?

greetings,
nick
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#12
2010-12-28, 11:24 PM
It only knows this type of information sometimes. When you're playing a video you can call PluginHelperFactory.GetPluginHelper().GetPlaybackProxy() to get the IPlaybackProxy object. This has methods like GetDuration() and GetPosition(). There is no equivalent for audio files.

When you're playing .TS files it knows the what audio and video codec are in use (not currently exposed via any API). For other file types it doesnt know.
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#13
2010-12-29, 01:48 AM
Thx!
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#14
2011-01-01, 05:31 PM (This post was last modified: 2011-01-02, 05:24 AM by kindt nick.)
Hey sub,

I released the plugin, still couldn't find a right place to post it.
So I posted the installers and sourcecode in the "Plugin & Skin Support"
http://forums.nextpvr.com/showthread.php...post398630
Feel free to move it if it's not correct.

grtz,
Nick
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#15
2011-01-06, 01:52 AM (This post was last modified: 2011-01-07, 07:49 AM by kindt nick.)
Hey,

Is there a keyboard shortcut for pausing of returning to main menu?
Or do we have to write something on out own with he IKeyPress class?

Thx in advance,
Nick
CPU: Core i3 530 @2.93GHz, Intel; _ RAM: 4GB DDR3 1333MHz, Corsair; _ MoBo: GA-H55M-D2H, Gigabyte
HD: 64MB SSD Drive ; _ OS: Win 7 Ultimate x86, Microsoft
Case: Fusion 430 Black, Antec; _ LCD Display: ODM/OEM LCD, iMON; _ Remote/ir-Blaster: MCE-Remote 2, Microsoft
TV: 40" Full HD LCD, Samsung
kindt nick
Offline

Member

Posts: 128
Threads: 9
Joined: May 2008
#16
2011-01-07, 09:50 AM
Never mind,

switched to native control with mce-remote (no eventghost) and all the keys are natively supported,,,

Sweeeet!
CPU: Core i3 530 @2.93GHz, Intel; _ RAM: 4GB DDR3 1333MHz, Corsair; _ MoBo: GA-H55M-D2H, Gigabyte
HD: 64MB SSD Drive ; _ OS: Win 7 Ultimate x86, Microsoft
Case: Fusion 430 Black, Antec; _ LCD Display: ODM/OEM LCD, iMON; _ Remote/ir-Blaster: MCE-Remote 2, Microsoft
TV: 40" Full HD LCD, Samsung
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


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

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

Linear Mode
Threaded Mode