YoutubeDL-Material
YoutubeDL-Material copied to clipboard
Cannot change the default command.
Im trying to change the default command to this
yt-dlp https://www.youtube.com/watch?v=27jf3JaGVuU -o video/%(title)s.mp4 -f bestvideo+bestaudio --merge-output-format mp4 --write-thumbnail -j --no-simulate
but every time I run let this run I get this in the logs.
TypeError: Cannot read properties of undefined (reading 'split')
at Object.exports.removeFileExtension (/app/utils.js:272:37)
at /app/downloader.js:348:57
at done (/app/node_modules/youtube-dl/lib/youtube-dl.js:25:12)
at /app/node_modules/youtube-dl/node_modules/universalify/index.js:23:46
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Im not sure what I'm doing wrong or what is happening with yt dl but I'm mainly just trying to get the video as a mp4, with the title AND the video ID so it can be sorted in plex.