Skip to content

Commit

Permalink
invidious: fix playback for proxied video streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Dec 2, 2024
1 parent 7df3282 commit 0cc5144
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/by-name/in/invidious/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
callPackage,
crystal,
fetchFromGitHub,
fetchpatch,
librsvg,
pkg-config,
libxml2,
Expand Down Expand Up @@ -86,6 +87,15 @@ crystal.buildCrystalPackage rec {
sqlite
];

patches = [
# Fix proxied video streaming: https://github.com/iv-org/invidious/pull/4992
(fetchpatch {
name = "invidious-fix-video-proxy.patch";
url = "https://github.com/iv-org/invidious/compare/aa33d9b7ec5a41867c256542653ad8465fe22e7f~1...3ac8978e96069e58a02e91fc29bf52b8fc651d5c.patch";
hash = "sha256-xENsVRfEE9ACLiniOgGMDfdC0ZtJge1e1Lak2orLJro=";
})
];

format = "crystal";
shardsFile = ./shards.nix;
crystalBinaries.invidious = {
Expand Down

0 comments on commit 0cc5144

Please sign in to comment.