Rockbox

Tasklist

FS#2067 - incomplete creating of playlists

Attached to Project: Rockbox
Opened by Andre Herbst (moormaster) - Sunday, 14 March 2004, 09:53 GMT
Last edited by Linus Nielsen Feltzing (linusnielsen) - Friday, 05 November 2004, 07:10 GMT
Task Type Bugs
Category Playlists
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If I create a playlist of a directory it seems that the
algorithm stops creating if it finds a file with a too long
pathname. So if I got such file in the directory I cannot
create the playlist of the whole directory.

Is there such a limitation for length of filepath in rockbox?
This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Friday, 05 November 2004, 07:10 GMT
Reason for closing:  Fixed
Comment by Björn Stenberg (zagor) - Sunday, 14 March 2004, 16:24 GMT

Yes, there is a filename limit of 128 bytes in the "Create Playlist"
function, to avoid stack overflow.

This should be fixed by using a more clever non-recursive algorithm.
Comment by Andre Herbst (moormaster) - Sunday, 14 March 2004, 16:54 GMT

it would be great if the algorthm would support the same
limits as the filesystem does.
Comment by Hardeep Sidhu (hardeeps) - Sunday, 21 March 2004, 23:26 GMT

Fixed in latest cvs. Limit is now the same as everything else
(260 bytes).

Loading...