manbearwiz/youtube-dl-server

What to do if filename is too long?

callumlocke opened this issue · 0 comments

Just installed youtube-dl-server and tried pasting a random YouTube link into the web form. I could see a.part file and .ytdl file got created immediately, but nothing else seemed to happen. So I looked in the logs of the running Docker image and saw it had this error (title changed to XXXXX):

yt_dlp.utils.DownloadError: ERROR: unable to open for writing: [Errno 36] Filename too long: '/youtube-dl/XXXXX[YYYYYYYY].f248.webm.part-Frag1.part' | stdout
-- | --

What am I supposed to do here? The filename seems to be derived from the YouTube title, and there is no field to specify the filename.