return 12; // good enough for now

2024-08-27

Yt-dlp and Jellyfin on NixOS

I had a bit of trouble getting the YouTube metadata Jellyfin plugin to pull metadata from YouTube under NixOS. The error I was getting was:

youtube-dl not found on path

I had installed yt-dlp as a system package in my NixOS config but for some reason it was still not being found.

I fixed it by adding it to the service’s path.

# jellyfin.nix

services.jellyfin.enable = true;                    
                                                  
systemd.services.jellyfin = {                                                                              
  path = [ pkgs.yt-dlp ];
};