Open rakslice opened 7 years ago
@rakslice : have u seen this ? https://discuss.dev.twitch.tv/t/resume-watching-with-oauth-3-legs-connection-protocol/10196
No, but I had assumed as much. Perhaps one day they will want to support VODs in some third party native client and they will make this API public.
... or it's gated by client-id, :/
btw. why does this feature need to be using the twitch API? why cant it just work like normal video players do with local video files...aka just have a small database where to cache the previous watch time.
oc twitch api solution would be nice but it cant be done for now so why even bother?
it seems this works on the "retro" version, at least locally...which is fine...API lvl support would be nice when/if it comes.
PS. I would recommend trying KDE's clazy project to check for coding errors, it's designed for Qt app (not a KDE only thing)
"An opensource project spawned by KDAB’s R&D efforts for better C++ tooling, Clazy Static Code Analyzer is an LLVM/Clang-based static analyzer for Qt 5 that extends your compiler with approximately 50 Qt-oriented warnings.
Clazy Static Code Analyzer highlights Qt-related bugs, performance issues or unneeded memory allocations and performs a code rewrite for common tasks like porting to the Qt 5 connect syntax.
Clazy Static Code Analyzer integrates seamlessly with most existing build systems, and is bundled with the latest versions of QtCreator if you don’t want to compile it your self."
Twitch has an internal
resumewatching
API for storing VOD and live stream last positions that is used from the Twitch website video playback, and I've got code for querying it roughed in in theresumewatching
branch, however there is no known Twitch API OAuth scope that allows access to it, so it's just parked there for now