NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.4k stars 14.35k forks source link

[Feature request] VLC add plugin support #150560

Open onny opened 2 years ago

onny commented 2 years ago

Hey, it would be nice to have plugin support for VLC. Something like:

programs.vlc = {
  enable = true;
  plugins = with vlcPackages.plugins; [ vlc-bittorrent ];
};

For example I would like to use this plugin: https://github.com/johang/vlc-bittorrent

So the vlc module/package has to symlink or copy the plugin package to a specific plugin directory and run VLC with a environment variable pointing to the plugin path:

VLC_PLUGIN_PATH=/tmp/vlc/lib vlc --no-plugins-cache video.torrent

Regards Jonas

chayleaf commented 1 year ago

if you're willing to maintain vlc-bittorrent, I can help with implementing the plugin wrapper (I've implemented them for rizin/cutter and maubot)