Skip to content
Commit f24e62a2 authored by Roderich Schupp's avatar Roderich Schupp Committed by Bertrand Lorentz
Browse files

PathPattern: Limit filename length to 200 characters (bgo#636450)



If a track has a really long title, we would reach the limit of the
filesystem and fail to write it. In particular, this lead to crashes
when ripping some CDs.

On most filesystems, filenames are limited to 255 characters or 255
bytes. As we can't be sure of the byte size when the filename reaches
the filesystem, we use an arbitrary limit of 200 characters. This should
be enough to be safe in most cases, without being too limiting.

Signed-off-by: default avatarBertrand Lorentz <bertrand.lorentz@gmail.com>
parent d835de9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment