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
kodiPlugins: init vfs.{sftp, libarchive} #56467
Conversation
I think this article would describe this change pretty well for those observing: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you break up the addition of these packages into separate commits?
In particular we prefer to have one commit for adding yourself to the maintainers list like:
maintainers: add minijackson
The attribute to use for the plugins would be
kodiPlugins.plugin-name: init at version
Done! Thank you for explaining |
I've done the following to test:
However I didn't test if I could actually use these addons. |
For the SFTP test, I'm sure it works (Kodi wouldn't play any remote media before I enabled the plugin). If you want to test it yourself, you could start a local ssh server, add a new video source -> Browse -> Add Network location -> Protocol: "Secure Shell (SSH/SFTP)" -> etc. If you need a test video that will be recognized by Kodi, you can do: For the RAR and Libarchive plugin, I confess I haven't been able to see how I can get Kodi to recognize an archive, but it might be just a UI issue. Also, after looking at some issues in the vfs.rar repo, I found that there is no more need for this plugin as rar support is provided in vfs.libarchive (xbmc/vfs.rar#29). Shall I remove it? |
Yes, I think this is proof that this is true https://github.com/xbmc/vfs.libarchive/blob/2ba11021ef58cf7fa9ca1051e5c0d558cd2a04bc/vfs.libarchive/addon.xml.in#L11
I've tested this simply by archiving a video into a |
Removed the vfs.rar commit |
Thanks @minijackson ✨ Hope you had a good time contributing to nixpkgs. |
Motivation for this change
In the recent v18 update, Kodi moved the support for some filesystems into binary add-ons (including SFTP which I was using). Now, adding
nixpkgs.config.kodi.enableVFSSFTP = true
in the configuration brings back SFTP sources (and similar with RAR and Libarchive) \o/I tested the SFTP with my sources and works fine, for RAR and Libarchive, the add-ons could be enabled without errors but I did not test them past that.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)