Codec Guide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Programmatically getting state and location of current media?

Go down

Programmatically getting state and location of current media? Empty 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

Back to top Go down

Programmatically getting state and location of current media? Empty 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 : 5465
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

Programmatically getting state and location of current media? Empty 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

Back to top Go down

Programmatically getting state and location of current media? Empty Re: Programmatically getting state and location of current media?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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