iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.19k stars 1.79k forks source link

[Bug] Don't cache videoplayback if player has been updated #4837

Open unixfox opened 1 month ago

unixfox commented 1 month ago

Continuation of https://github.com/iv-org/invidious/pull/4772#issuecomment-2284243481

To also write it here: Video caching in invidious also caches and reuses data from player so if the player changes the video that is pulled from cache will cause 403s to be returned for videoplayback requests.

Yeah, I should rewrite the URLs during parsing (i.e before caching) not during use.

@SamantazFox