summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorJohannes Schleifenbaum <johannes@js-webcoding.de>2021-04-20 08:19:18 +0200
committerJohannes Schleifenbaum <johannes@js-webcoding.de>2021-04-20 08:32:03 +0200
commit366f49e4ef5ab55c1faa3368b5074ca493077734 (patch)
treee77f6923209b2486028bbadfd618ec14631f4936 /pkgs/applications/video
parent4216cf5aee04260b8433cc8bd6eecaee8ed1e687 (diff)
downloadnixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.tar
nixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.tar.gz
nixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.tar.bz2
nixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.tar.lz
nixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.tar.xz
nixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.tar.zst
nixpkgs-366f49e4ef5ab55c1faa3368b5074ca493077734.zip
jellyfin-media-player: 1.4.0 -> 1.4.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/jellyfin-media-player/default.nix10
-rw-r--r--pkgs/applications/video/jellyfin-media-player/disable-update-notifications.patch13
2 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/applications/video/jellyfin-media-player/default.nix b/pkgs/applications/video/jellyfin-media-player/default.nix
index d5a1f9635b6..5e7ece88503 100644
--- a/pkgs/applications/video/jellyfin-media-player/default.nix
+++ b/pkgs/applications/video/jellyfin-media-player/default.nix
@@ -26,23 +26,25 @@
 
 mkDerivation rec {
   pname = "jellyfin-media-player";
-  version = "1.4.0";
+  version = "1.4.1";
 
   src = fetchFromGitHub {
     owner = "jellyfin";
     repo = "jellyfin-media-player";
     rev = "v${version}";
-    sha256 = "sha256-zNEjhBya2loqFYS8Rjs8CMCfvie2/UbxreF8CUwDWWk=";
+    sha256 = "sha256-500Qlxpqkf+9D/jrzkrYkkFwxs0soLG/I5mgFV1UOc8=";
   };
 
   jmpDist = fetchzip {
-    url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-1/dist.zip";
-    sha256 = "sha256-oTZyIh2m9z55sNIeKtHxVijBMcTtJgpojG5HUToMYoA=";
+    url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-2/dist.zip";
+    sha256 = "sha256-9oxOcSCV1Gm8WLpwVLanyUlhPx5PWUrkkWvKmwND94g=";
   };
 
   patches = [
     # the webclient-files are not copied in the regular build script. Copy them just like the linux build
     ./fix-osx-resources.patch
+    # disable update notifications since the end user can't simply download the release artifacts to update
+    ./disable-update-notifications.patch
   ];
 
   buildInputs = [
diff --git a/pkgs/applications/video/jellyfin-media-player/disable-update-notifications.patch b/pkgs/applications/video/jellyfin-media-player/disable-update-notifications.patch
new file mode 100644
index 00000000000..dd56d71f907
--- /dev/null
+++ b/pkgs/applications/video/jellyfin-media-player/disable-update-notifications.patch
@@ -0,0 +1,13 @@
+diff --git a/resources/settings/settings_description.json b/resources/settings/settings_description.json
+index 20fff81..9979de5 100644
+--- a/resources/settings/settings_description.json
++++ b/resources/settings/settings_description.json
+@@ -118,7 +118,7 @@
+       },
+       {
+         "value": "checkForUpdates",
+-        "default": true
++        "default": false
+       },
+       {
+         "value": "enableInputRepeat",