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

kodi-upnext: init at 1.1.9+matrix1 #319239

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Conversation

sanzoghenzo
Copy link
Contributor

This adds the Up Next kodi addon to kodi packages.

Pinging @aanderse who has been very kind supporting me while testing this (see this forum discussion)

Description of changes

Up Next Kodi addon, taken directly form the Kodi repository.

more info

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.

I've tested it in a virtual machine and on my HTPC (see link to the discussion above)


Add a 👍 reaction to pull requests you find important.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/how-to-add-custom-kodi-plugins-yet-another-how-to-use-a-custom-derivation-in-my-flake-post/46238/11

@nvmd
Copy link
Member

nvmd commented Jun 14, 2024

Hi @sanzoghenzo! Thank you for your PR.

I don't use this addon myself, but I do see that this latest "stable" version is quite old.
Do you it could make sense to package either the latest "unstable" master branch (some issues fixed last and this year)?
Or the fork of the addon by one of its contributors (https://github.com/MoojMidge/service.upnext), which is far more frequently updated and seems to provide overall more value?

@sanzoghenzo
Copy link
Contributor Author

Hi @nvmd, thank you for taking the time to review this!

I went with the stable version because it's the one that most of the people install, since it is available right on the official kodi repository.

While the fork is intriguing, it adds features that may not be needed by most ( = by me 😅 ) and the first line of the README ("commits are often untested and cause addon to break") is scaring me 🤣

I'd prefer to stick to the "official" version; I see that unstable/master branch version fixes 2 issues, I'll update it.

@aanderse
Copy link
Member

i think there is value in using the upstream curated addon as the PR currently stands
i don't want to become an opinionated kodi source more than we need to be

@sanzoghenzo
Copy link
Contributor Author

i think there is value in using the upstream curated addon as the PR currently stands i don't want to become an opinionated kodi source more than we need to be

It's nice to hear, especially because I have other 6 plugins made in the same way ready for PRs 😅

@nvmd
Copy link
Member

nvmd commented Jun 14, 2024

i think there is value in using the upstream curated addon as the PR currently stands i don't want to become an opinionated kodi source more than we need to be

Absolutely agree. I just think we had to consider other options (as long as it goes together with the intention of the PR author to add not a package, but some particular functionality it provides for him, and is, ideally, maintained by someone) because I guess we don't want to become a source of upstream, but nevertheless broken/unmaintained/outdated packages either 😀.
Which we did indeed consider, thanks @sanzoghenzo @aanderse

This adds the Up Next kodi addon to kodi packages
@sanzoghenzo
Copy link
Contributor Author

Changes made!

@ofborg ofborg bot requested a review from nvmd June 15, 2024 07:50
@aanderse
Copy link
Member

thanks everyone!

@aanderse aanderse merged commit 019bc3b into NixOS:master Jun 16, 2024
20 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

5 participants