This guide will go through how you setup youtube-dl to automatically download videos from your favorite Youtube channels to a Plex server running on TrueNAS.
TrueNAS includes a set of plugins that will configure a certain application in a jail, for instance Plex. It’s a really nice feature, it works and it’s easy to use. But for long term use the plugins tend to not work as well. I’ve seen issues keeping the jail up to date, both with the latest release of Plex but also with the latest release of FreeBSD. For long term use a custom jail is a better choice since you have much more control over it. Here I will show how you can migrate Plex already running as a plugin to a custom jail on TrueNAS.