twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
73 stars 6 forks source link

Clip vod_offset not always correct #1007

Open adsa95 opened 3 weeks ago

adsa95 commented 3 weeks ago

Brief description The vod_offset property of clips returned from the Get Clips endpoint is not always correct. My suspicion is that it will be incorrect if the clip has been edited, as I started noticing this after that feature was introduced a few months ago, but I havent done extensive tests to check this myself.

How to reproduce

  1. Get info about a clip, in this case GET https://api.twitch.tv/helix/clips?id=FreezingDarlingKoalaKevinTurtle-4_dSKTfIGaG2T_xi
  2. Check vod_offset is 6395s which is 1h46m35s
  3. Check the clip and the VOD and realize that the vod_offset property is in fact not accurate. In this case it should be about 12s earlier.

Expected behavior vod_offset should match where the clip starts in the VOD as stated in the docs:

vod_offset: The zero-based offset, in seconds, to where the clip starts in the video (VOD).

Additional context or questions This error also affects the Twitch site, as the links to "Watch Full Video" on the clip page (https://clips.twitch.tv/FreezingDarlingKoalaKevinTurtle-4_dSKTfIGaG2T_xi) also links to the wrong timestamp in the VOD.