INTERACT FORUM

Please login or register.

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

Author Topic: Seek/Position API request  (Read 1671 times)

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Seek/Position API request
« on: November 02, 2021, 10:08:53 am »

When I'm trying to assemble a video, I have MC open to find clips to import to the editor and usually, I use Playback/Position to scan a clip to decide if I want to use it.   When clips are short, I may only get 2 or 3 seeks but when they're longer it may take 20 or 30.  What would make this easier would be to be able to seek by track duration percentage so if I were to seek  by 10% then I'd always get 10 seek operations regardless of the clip length.  Right now I do this by calling /Playback/Info to get the track duration, do the math to get the new relative position, then call Playback/Position to set it but I'd like to avoid the extra call and the math so I can do this with a single REST call.   So, think we could get an enhancement to Playback/Position to specify by percentage?


Logged
Fedora 40 x86_64 Xfce
Pages: [1]   Go Up