Skip to content

ytdl-sub

v2026.06.23 Bugfix

This release fixes issues for SREs watching stability and regressions.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

emby jellyfin kodi lidarr nfo plex
+7 more
radarr servarr sonarr youtube yt-dlp yt-dlp-wrapper ytdl

Summary

AI summary

Fixed "File name too long" error when video titles are used as folder names.

Full changelog

[BUGFIX] Fix "File name too long" error when a title is used as a folder name (#1479)

Some presets put the video title into a folder name (not just the file name). The code only shortened the file name, never the folder name. So a title with multi-byte characters (like bold/fancy Unicode, which take 4 bytes each) could make the folder name go over the OS 255-byte limit and crash with OSError: [Errno 36] File name too long.

This fix shortens every folder in the path too, not just the file name, while keeping the file extension. output_directory is left alone so real folders aren't touched.

Added a test with a title made of 4-byte bold Unicode characters.

Relates to #1092, #1189

-- Thanks @Nojyto for the contribution!

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track ytdl-sub

Get notified when new releases ship.

Sign up free

About ytdl-sub

Lightweight tool to automate downloading and metadata generation with yt-dlp

All releases →

Related context

Beta — feedback welcome: [email protected]