streamlink / streamlink-twitch-gui

A multi platform Twitch.tv browser for Streamlink
https://streamlink.github.io/streamlink-twitch-gui/
MIT License
2.66k stars 201 forks source link

Allow to completely hide vodcasts. #750

Closed Okxa closed 3 years ago

Okxa commented 3 years ago

Feature request

Description

Possibility to add a optional setting to not display streams which are vodcasts (rebroadcasts).

Currently it is only possible to fade them out.

Additional comments, screenshots, etc.

Either hide them from the visible list or remove from the stream list alltogether?

bastimeyer commented 3 years ago

I've already tried adding this in 2018 (I have some changes stashed in my local repo), but it didn't work out because I planned on implementing this by adding submenus to the various stream routes, so that all, only live stream or only reruns could be displayed. This is supported by the Twitch API v5 when requesting stream lists, although not documented IIRC. Filtering on the client side is however an absolute no-go, as I've explained plenty of times on this issue tracker in the past years already. The issue in the end was purely layout related though, which is very frustrating, and I didn't want to re-layout the entire application for this. This has to be done eventually as it's rather outdated now, but this depends on whether I will be still motivated in the future. Alternatively adding a dropdown/toggle in the settings, similar to language filtering, isn't a good solution for this I think.

bastimeyer commented 3 years ago

Reruns / vodcasts / watch parties / playlists or whatever Twitch is calling pre-recorded streams these months seem to be completely broken since a couple of weeks on the kraken v5 API. If this doesn't get fixed or restored, this feature can't be implemented. I will keep this thread open for a bit, but if there's no activity on the side of Twitch, I'll close this. This also doesn't mean that work has been done for getting this implemented.

See related threads on the Streamlink issue tracker:

Example:

https://dev.twitch.tv/docs/v5/reference/streams#get-live-streams

curl -s \
  -H "Accept: application/vnd.twitchtv.v5+json" \
  -H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
  "https://api.twitch.tv/kraken/streams?stream_type=playlist" \
  | jq
{
  "streams": []
}
bastimeyer commented 3 years ago

https://github.com/streamlink/streamlink/issues/3853#issuecomment-877596145