Off by default. With it on, songs from YouTube, SoundCloud, Spotify (matched on YouTube) and the sites in Config.Convert.webSites are downloaded with yt-dlp and stored on your own Cloudflare R2 bucket, after which every DJ effect works on them. Files nobody has played for Config.Convert.keepDays days are deleted again.
- Put yt-dlp in
bin/(on Linux, make it executable). - Copy
server/r2.json.exampletoserver/r2.jsonand fill in your R2 keys. - Add
add_unsafe_child_process_permission glitch-audioPropstoserver.cfg. - In
config.site.lua, setConfig.Convert.enabled = true,Config.Convert.mirrorFiles = trueandConfig.Convert.publicBaseto your bucket address. - Fully restart the server. The console prints
YouTube conversion readywhen it works.
Without server/r2.json, conversion, mirroring and TV video downloads switch themselves off, and the console says so once.
[!WARNING] Downloading from YouTube and similar sites, and the Twitch relay (
Config.TV.twitchRelay), may break those sites' terms of service and copyright law where you are. Both are off by default. If you switch them on, you are responsible for what your players add.
Stuck on a step?Ask in the Discord →