• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category User Interface
  • Assigned To No-one
  • Operating System Iriver H100 series
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Creideiki - 2006-04-15

FS#5137 - Silent failure to load radio preset files with long names

I’m running the nightly build from 2006-04-15 on an iHP-120. When trying to load radio presets, if I select a file that has a name that is too long Rockbox spins up the hard disk and says “Loading…” for a while, but doesn’t actually load any new presets. As for how long too long is, “Östergötland-Kisa.fmr” works but “Östergötland-Motala.fmr” doesn’t (when they have the same contents).

Steps to reproduce:
1. Create two radio preset files - “Östergötland-Kisa.fmr” and “Östergötland-Motala.fmr” - with the same contents.
2. Clear the presets list.
3. Load “Östergötland-Kisa.fmr”.
— This works, only the Östergötland-Kisa presets are loaded.
4. Clear the presets list.
5. Load “Östergötland-Motala.fmr”.
— This doesn’t work, no presets are loaded.

Closed by  petur
2006-04-25 00:16
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

File length is now limited to 20 characters (excluding the extension)

petur commented on 2006-04-22 13:42

the limit on filenames that are stored in the config of your player is 21 characters
I will make it refuse longer names.


Available keyboard shortcuts


Task Details

Task Editing