Sehelitar / Kick.bot

A powerful Kick integration for Streamer.bot
https://sehelitar.tv/
GNU Affero General Public License v3.0
19 stars 4 forks source link

[BUG] GetClips #42

Closed Jyojibh closed 6 months ago

Jyojibh commented 6 months ago

So I've been messing around as I've been trying to do a ShoutOut command that plays the video Direct from the URL and i was hoping thats exactly what i would be able to do with this HOWEVER!

Upon looking at the clip[x].video It gives a playlist of the .m3u8 file rather than the specific video, So I did some digging to do the old way of downloading the clip to see if it still does the same thing and it seems Kick has changed how this works as it does indeed give a "Playlist.m3u8" file instead of the clip name .mp4 like it used to.

I've asked in the Community Dev area on their discord, But it seems like this has changed not sure when?

image

To add onto this, When you go in and check like you used to for the clip/video URL it has indeed changed, I guess this is a kick change?

image

Sehelitar commented 6 months ago

Yeah, it's something Kick changed, can't say exactly when, but it actually makes sense :

Since OBS' Media source can play HLS streams, it shouldn't be a problem though. Do you have a use case where this doesn't work? This is not something I can fix anyway, the only way to get a mp4 file is through trancoding. 🫤

Sehelitar commented 6 months ago

Ok, I actually found out a way to force Kick to do the transcoding part and give us a link to a mp4 file. 👀 Is it still necessary though.

Jyojibh commented 6 months ago

So basically the idea behind what i was after was to do the Better Shoutouts from Twitch, Basically if i can get that link to wherever the video is stored and the actual file link not to the small clip player itself, I can then have Streamerbot add the file link to the source and then it plays and then clears the source again before turning off.

Hopefully that makes sense 😛

Jyojibh commented 6 months ago

As it currently stands it just links to the small clip player but wont play... And then if you use the playlist file location its just broken and doesnt actually play at all..

Sehelitar commented 6 months ago

Alright then, I'll see what I can do. If the method I found is usable, I'll try to add it to the next release.

Jyojibh commented 6 months ago

The method works Perfectly for what it should do! I think its more just Kick messing with things! So now its kinda ruined what i had planned 😅 Because I wanted to be able to take the direct URL and have it run into a VLC / Media Player run the URL and then have it remove said URL until the next shoutout. But sadly because of the changes to that M3u8 file they had... It no longer works as i had intended it to.

Sehelitar commented 6 months ago

If what I have in mind works, you'll be able to choose between the new HLS .m3u8 URL or the old more standard .mp4 URL. 😎

Jyojibh commented 6 months ago

AMAZING! My guy you are truly gods work! Also was meaning to ask do you have a discord group at all ?

Jyojibh commented 6 months ago

Just an update as well, As i've got good standing with Kick Support on my Dashboard, After requesting Direct Link access like twitch does this was their response.

We appreciate your understanding and cooperation!

Your feedback and suggestions are greatly appreciated, and we would like to inform you that we have forwarded the direct links suggestion to our relevant team for further evaluation.

While we cannot guarantee immediate implementation, please know that your voice matters to us, and we are glad that you reached out to us! 💚