FS#12877 - Unsatisfactory support for LFN (Long File Name)

Attached to Project: Rockbox
Opened by shela (shela) - Sunday, 07 July 2013, 15:42 GMT
Task Type Bugs
Category Music playback
Status Unconfirmed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


In FAT, file name can have max 255 characters (not bytes).
A file name that have 255 characters(contains many multibyte characters) is listed in File menu, but playback can't.

Using patched firmware\include\file.h as a test, MAX_PATH 260 up to 520, rockbox can playback the long name file.
But, changing theme causes PANIC.
This task depends upon

Comment by Thomas Martitz (kugel.) - Sunday, 07 July 2013, 17:36 GMT
Did you make this case up or do you experience this insufficiency with real files? Nobody hit that limit in 11 years of Rockbox.
Comment by shela (shela) - Monday, 08 July 2013, 17:36 GMT
I often use path name like this.
e.g.) \music\album\<artist name>\<album name>\<song title>.mp3

I would think that this is not a problem in single-byte characters using environment.
But, in multi-byte environment like us japan, in rare cases, there is a very long title song.

I've been using Rockbox for five years, I began to use and noticed this problem immediately.
So, I've been using my private MAX_PATH patched version of Rockbox.
In addition, several unofficial patched version was published from those days.