Support and General Use > Audio Playback, Database and Playlists

An album that plays from the DB but not from the File Browser

(1/3) > >>

iPodVT:
I have an album on my iPods that will play when accessed via the Database or via the Playlists Catalog, but it won't play when accessed via the File Browser.  The album contains eight tracks.  I've tried clicking on each individual track from within the File Browser but none of them will play.  This happens in both the recent experimental dev build ab2af16c7c-240415 running on an iPod mini 2nd Gen and also on dev build 52e22b253d-240329 running on an iPod Video 5.5 Gen.

Here is the 'real' text of the full path to the first track in the album:

/_dtgLIB/The City Of London Chamber Orchestra; Thomas McIntosh, Organ, Harpsichord & Conductor/English Music By Purcell, Arne, Stanley, Chilcot/01 Purcell: "King Arthur," Suite for Strings.m4a

Here is the text of the full path to the same track as it is displayed in the File Browser:

/_dtgLIB/The City Of London Chamber Orchestra; Thomas McIntosh, Organ, Harpsichord & Conductor/English Music By Purcell, Arne, Stanley, Chilcot/01 Purcell_ _King Arthur,_ Suite for Strings.m4a

When I click on any of these tracks in the File Browser, Rockbox shifts to the WPS as expected.  Under "Now Playing" it displays the title and artist of the album's last track, and for the album it just displays _dtgLIB which is the name of my main music directory - located in the root directory - containing the vast majority of the music on my iPods.  Both iPods have the exact same music libraries synced from the same source.  The last track's title is displayed with the substitute characters (as in the full pathname cited above), whereas when I play the same track via the Database or the Playlists Catalog the track's title is displayed with the 'real' text, not with the substitute characters.  Also, the start/current time and end time under the Play progress bar are both 0:00 and there is nothing displayed under "Next Track" (of course).

When I long click on any of these tracks in the File Brower and choose "Show Track Info" from the Context Menu, I get the error message "File/Dir not found" followed by as much of the pathname as will fit in the error message box.  When I long click on the album's directory in the File Browser and choose Properties from the Context Menu I get a display of all the correct info for the directory, including its correct full pathname.

So, is there something about the text of the album's title that is causing this problem?  I'm pretty sure there lots of other tracks in my music library with longer pathnames. 

iPodVT:
Pursuing the problem further, I did some experimenting with copying and pasting tracks and directories to the root directory, the results of which seem to indicate that the problem is caused by the length of the pathnames to the track files in the album directory.  At least that's my guess.

I previously encountered the same problem and posted about it [https://forums.rockbox.org/index.php/topic,54443.msg251568.html#msg251568].  In that discussion (which was mostly a monologue) Bilgus posted "likely MAX_PATH which is 260 bytes".  In my current problem, the pathname of the first track in the album is 193 characters (perhaps some of those are two byte chars?).

So is 260 the actual MAX_PATH?

A previous question I posed that I don't believe was ever answered is what is the length limit for a single component name (directory or the file itself) within the pathname?

Thanks.

chris_s:
This appears to be an issue with an incorrect buffer size used by the File Browser when assembling paths. I've cc'd bilgus on a possible fix.

iPodVT:
Cool - thanks.

iPodVT:
I just now tried playing this same album via the File Browser on an iPod 7th Gen Classic (A1238 - MC293LL/A) that has dev build 9e802be969-231204 installed, and I did not have any of the problems I described in my above posts using newer dev builds on an iPod mini 2nd Gen and an iPod Video 5.5 Gen.  All three of these iPods have identical music libraries synced from the same source.

So I used Rockbox Utility to install the current Daily Build (labeled 20240420 in the Utility but identified as 123858287b-240418 in rockbox-info.txt) and now I am having the same problems with this 7th Gen that I had with the mini and Video.

So it seems that the bug was introduced sometime after Dec 4, 2023.

Navigation

[0] Message Index

[#] Next page

Go to full version