Skip to content

"Clips Related" functionality introduced in v4.0.0 no longer appearing #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jayjay181818 opened this issue Feb 9, 2025 · 7 comments

Comments

@jayjay181818
Copy link

jayjay181818 commented Feb 9, 2025

Version
Commit:1bafb4f Tag:v4.0.3

I'm not sure if it's just me with my deployments, but has the Clips related/Video Clips section underneath vods now missing? This is the functionality added in v4.0.0, I've checked tens of VOD's which have clips archived, but none of them have any related clips nor any reference to the old menu for this. I haven't seen this menu for a few weeks as far as I can remember. The chat activity appears as you can see from my screenshot -->

Image

Image

@Zibbp
Copy link
Owner

Zibbp commented Feb 9, 2025

If you view the video info using the video menu for the VOD, does the ext_id match the clip_ext_vod_id of the clips for the VOD?

Screenshot from a clip video info

Image

Screenshot from the vod

Image

@jayjay181818
Copy link
Author

Interestingly, "clip_ext_vod_id" doesn't exist under video information on the clip.
Screenshot from the clip:

Image

And the clip screenshot:

Image

@Zibbp
Copy link
Owner

Zibbp commented Feb 10, 2025

Usually this means the VOD on Twitch is gone (deleted, expired, etc) so it wipes out the ID on Twitch's end.

The Twitch API doesn't have a video_id populated so that's why.

{
  "data": [
    {
      "id": "GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5",
      "url": "https://clips.twitch.tv/GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5",
      "embed_url": "https://clips.twitch.tv/embed?clip=GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5",
      "broadcaster_id": "789384294",
      "broadcaster_name": "XTASIAEGO",
      "creator_id": "1100446688",
      "creator_name": "luigiama94",
      "video_id": "",
      "game_id": "509658",
      "language": "en",
      "title": "gnam gnam mood ahahah",
      "view_count": 147,
      "created_at": "2024-11-22T14:08:06Z",
      "thumbnail_url": "https://static-cdn.jtvnw.net/twitch-clips-thumbnails-prod/GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5/34a7a31d-9b80-449b-856d-a496d7b94c23/preview-480x272.jpg",
      "duration": 30,
      "vod_offset": null,
      "is_featured": false
    }
  ],
  "pagination": {}
}

Maybe I can add something that allows manually linking clips to videos? You would need to know that clip goes to that video which might be difficult.

@jayjay181818
Copy link
Author

Usually this means the VOD on Twitch is gone (deleted, expired, etc) so it wipes out the ID on Twitch's end.

The Twitch API doesn't have a video_id populated so that's why.

{
  "data": [
    {
      "id": "GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5",
      "url": "https://clips.twitch.tv/GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5",
      "embed_url": "https://clips.twitch.tv/embed?clip=GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5",
      "broadcaster_id": "789384294",
      "broadcaster_name": "XTASIAEGO",
      "creator_id": "1100446688",
      "creator_name": "luigiama94",
      "video_id": "",
      "game_id": "509658",
      "language": "en",
      "title": "gnam gnam mood ahahah",
      "view_count": 147,
      "created_at": "2024-11-22T14:08:06Z",
      "thumbnail_url": "https://static-cdn.jtvnw.net/twitch-clips-thumbnails-prod/GrotesqueLuckyWrenchSquadGoals-QlQs2cINzSdi0lP5/34a7a31d-9b80-449b-856d-a496d7b94c23/preview-480x272.jpg",
      "duration": 30,
      "vod_offset": null,
      "is_featured": false
    }
  ],
  "pagination": {}
}

Maybe I can add something that allows manually linking clips to videos? You would need to know that clip goes to that video which might be difficult.

Ah, so I will mention that they don't publish their VOD's. Could this be the reasoning? The hope was to have all clips archived and tagged to the relevant VOD for easier content discovery for creators. A manual link would be helpful for sure, but I may have to re-think archiving all clips if it would have to be a manual process.

Thanks

@Zibbp
Copy link
Owner

Zibbp commented Feb 10, 2025

If the original video the clip was taken from is not on Twitch then it's impossible to get that information. For some reason Twitch removes the ID from that field if the video is removed or not published.

@jayjay181818
Copy link
Author

If the original video the clip was taken from is not on Twitch then it's impossible to get that information. For some reason Twitch removes the ID from that field if the video is removed or not published.

Apologies for the delay in getting back, hectic week... That's frustrating, I don't suppose there could be a workaround? For example my friend I host Ganymede doesn't want their vods published, but if they were temporarily published, would that enable a the possibility of a manual sync if that kind of functionality was added? And after that we unpublish them again? If not, being able to sort by 48 hour intervals and then being able to manually link would be handy. Maybe some kind of tick box to link the highlighted clips to a vod. Not sure if that would be a nightmare to implement however.

@Zibbp
Copy link
Owner

Zibbp commented Feb 17, 2025

would that enable a the possibility of a manual sync if that kind of functionality was added? And after that we unpublish them again?

Clips are tied to the VOD and not the live stream so the channel presumably has to enable "auto publishing" or whatever the setting is that the VOD is available as the channel is streaming. Without that there is no other way. You'd have to experiment more on your end

Maybe some kind of tick box to link the highlighted clips to a vod. Not sure if that would be a nightmare to implement however.

I could add a button to link a clip to a VOD in the video menu but having to do that for a lot of clips per VOD is going to get old quick.

If you know your way around SQL you might be able to write a small script that automate this, somehow. The video in the database needs the clip_ext_vod_id column set to the external ID of the video for the clip and video to be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants