Programmatically getting state and location of current media?

View previous topic View next topic Go down

Programmatically getting state and location of current media?

Post by aditus on Thu Mar 27, 2014 2:34 pm

Hi!

Is it possible to programmatically get the state (playing / not) and location (offset & total length) of the current media? If so, where can I look to get started?

The reason I'm asking is that in a theatre environment, I want to display progress bars on other monitors backstage.

Thanks
Gareth

aditus

Posts : 2
Join date : 2014-03-27

View user profile

Back to top Go down

Re: Programmatically getting state and location of current media?

Post by Admin on Thu Mar 27, 2014 7:49 pm

MPC-HC has an API for such things.

Here you can find the API details:
https://github.com/mpc-hc/mpc-hc/blob/master/src/mpc-hc/MpcApi.h

I am not able to provide any help with this, as I have never used it myself. You need to visit the MPC-HC bug tracker if you need assistance.

Admin
Admin

Posts : 3170
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Programmatically getting state and location of current media?

Post by aditus on Sat Apr 05, 2014 11:12 am

Thank you!  Very Happy 

aditus

Posts : 2
Join date : 2014-03-27

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum