INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: is it possible?  (Read 8539 times)

mpg732

  • Junior Woodchuck
  • **
  • Posts: 96
is it possible?
« on: September 07, 2015, 02:45:37 pm »

I am in the process of creating my own interface for JR 17 and I am retrieving info through web command.  I was wondering if its possible to retrieve payer position in % instead of in seconds?  If it is possible than can you seek in % as well?

Thanks
Mike
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71331
  • Where did I put my teeth?
Re: is it possible?
« Reply #1 on: September 07, 2015, 03:04:40 pm »

Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5172
  • "Linux Merit Badge" Recipient
Re: is it possible?
« Reply #2 on: September 07, 2015, 03:26:58 pm »

I am in the process of creating my own interface for JR 17 and I am retrieving info through web command.  I was wondering if its possible to retrieve payer position in % instead of in seconds?  If it is possible than can you seek in % as well?

Thanks
Mike

It seems like it would be trivial to calculate a percentage programmatically from the Position (current position) and Duration (total length of file) elements of the "info" MCWS call, and use the same info to translate it back to seek?  Or would that not work in your application?
Logged

mpg732

  • Junior Woodchuck
  • **
  • Posts: 96
Re: is it possible?
« Reply #3 on: September 07, 2015, 03:33:24 pm »

I am doing this in iRule and as of right now we can't do any scripts/conversions with parsed feedback.
Logged
Pages: [1]   Go Up