Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System iPod 5G
  • Severity Medium
  • Priority Very Low
  • Reported Version Release 3.13
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by anon19546 - 2014-03-29
Last edited by Bilgus - 2019-08-04

FS#12965 - Music file does not playing because the character length limit in the path to the file

Hi, thanks for such awesome project!..

But I have probably found a bug. When I want to play such music file (that’s the first in the directory):

E:\Music\Aleksandr Shherbina\# Aleksandr Shherbina i mul’ti-bjend PAYZY IM. STANISLAVSKOGO - live-programma Zhivye na Nashem Radio (27.3.2014) [ogg]\01. Mjortvaja ryba.ogg

it does not playing, and Rockbox skipping directly to the 3rd file in the directory:

E:\Music\Aleksandr Shherbina\# Aleksandr Shherbina i mul’ti-bjend PAYZY IM. STANISLAVSKOGO - live-programma Zhivye na Nashem Radio (27.3.2014) [ogg]\03. Arabika.ogg

I think there’s a character lenght limit. Can we fix it?..
Thanks in advance,

Closed by  Bilgus
2019-08-04 19:27
Reason for closing:  Wont Fix

There is a limit of 255 characters per file path/name in FAT32 (per Microsoft). Paths up to this length should work, but longer will not.

The longer path is just 172 chars so it should work.

MikeS commented on 2014-04-03 15:24

Maybe there’s something wrong with the files or their compatibility. It would be good to rule that out, maybe by copying the files that won’t play into the root directory and attempting to play them from that location.

edit: they’re → their

fml2 commented on 2014-08-02 16:38

Even if the file name is too long (acc. to the FAT spec) but some tool managed to copy it, Rockbox should use it short (aka “DOS”) name (8 chars long) when reading the directory. I’m not sure though whether file reading functions work correctly with such names.

@anon19546: Do you try to play the files from the browser or from the DB?

MikeS commented on 2014-08-02 20:03

Atually, it won’t use the short name to find anything. It really couldn’t anyway if given only a long one since it would not be able to determine which short name was really the correct one. Anyway, that path should be no issue for lower-level stuff. The playlist code should strip the drive letter and then directories off the front until it matches something.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing