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 Fri Mar 28, 2014 1:34 am

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-28

View user profile

Back to top Go down

Re: Programmatically getting state and location of current media?

Post by Admin on Fri Mar 28, 2014 6:49 am

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 : 2987
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 9:12 pm

Thank you!  Very Happy 

aditus

Posts : 2
Join date : 2014-03-28

View user profile

Back to top Go down

Re: Programmatically getting state and location of current media?

Post by Sponsored content Today at 10:47 pm


Sponsored content


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