haishinio / haishin

A website to transcribe japanese language livestreams and then translate them into english
2 stars 0 forks source link

Improve the current streams section by adding more info #75

Closed tomouchuu closed 1 year ago

tomouchuu commented 1 year ago

At the moment it's just a link but it'd be cool to add information we currently have such as the current duration / how many viewers.

But it needs a centre piece which should really be a thumbnail of the stream. Most likely will need to capture this ourselves using something like https://github.com/transitive-bullshit/ffmpeg-extract-frame but worth exploring if streamlink can pull this information for sites that do already have one or if we can pull it directly from sites

tomouchuu commented 1 year ago

Base of this work is in 60732cc33572f2c884f86b1043c2a9f6c8ef54af

tomouchuu commented 1 year ago

So viewers isn't possible now with the change to hls, but we could now get the duration and show that.