Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jellyfin-media-player: 1.10.1 -> 1.11.1 #318854

Merged

Conversation

javaes
Copy link
Contributor

@javaes javaes commented Jun 10, 2024

Description of changes

Client now uses jellyfin-web provided by server.

Solves #318121

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@nadir-ishiguro
Copy link
Contributor

Result of nixpkgs-review pr 318854 run on x86_64-linux 1

1 package built:
  • jellyfin-media-player

Copy link
Contributor

@nadir-ishiguro nadir-ishiguro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be wrong but could it be that we still need jellyfin-web to linked? Otherwise, were would the "external" jellyfin-web jellyfin-media-player is looking for come from?

With 1.10.1, the patches make sure the external nixpkgs version of jellyfin-web gets bundled. That's 10.9.6 right now.

With 1.11.1 in an overlay I get Web version: 10.9.3. Same for Build version

My overlay:


    (final: prev: {
      jellyfin-media-player = prev.jellyfin-media-player.overrideAttrs (old: rec {
        pname = "jellyfin-media-player";
        version = "1.11.1";
        src = prev.fetchFromGitHub {
          # inherit pname version;
          owner = "jellyfin";
          repo = "jellyfin-media-player";
          rev = "v${version}";
          sha256 = "sha256-Jsn4kWQzUaQI9MpbsLJr6JSJk9ZSnMEcrebQ2DYegSU=";
        };
        patches = [
          # fix the location of the jellyfin-web path
          ./patches/disable-update-notifications.patch
        ];
        preConfigure = "";
      });
    })

@nadir-ishiguro
Copy link
Contributor

You wrote:

Client now uses jellyfin-web provided by server.

The changelog says:

This release switches Jellyfin Media Player to always use the external web client so that updates to jellyfin-web take effect immediately instead of when I get a chance to release the application.

Note: It is normal to have to log into your servers again after installing this update.

Correct me if I'm wrong, but the local jellyfin-media-player still needs access to a local jellyfin-web instance, right?

@javaes
Copy link
Contributor Author

javaes commented Jun 12, 2024

You wrote:

Client now uses jellyfin-web provided by server.

The changelog says:

This release switches Jellyfin Media Player to always use the external web client so that updates to jellyfin-web take effect immediately instead of when I get a chance to release the application.
Note: It is normal to have to log into your servers again after installing this update.

Correct me if I'm wrong, but the local jellyfin-media-player still needs access to a local jellyfin-web instance, right?

No, jellyfin-web is not required. The comment you quoted intends to say tat the jellyfin-media-player should not need to be updated each time jellyfin-web (the web frontend deployed on the server) receives an updated, instead jellyfin-web is fetched directly from the server.

I tested the build by running the resulting binary locally and connecting to one of my jellyfin servers, it works as intended.

@K900 K900 merged commit 1870514 into NixOS:master Jun 18, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants