GNOME Bugzilla – Bug 442137
filename not changed to the "standard" when adding a song to ipod
Last modified: 2018-05-24 12:36:21 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/117578 "Binary package hint: rhythmbox I was adding a song to my ipod (dragged it from the library) while I noticed that its filename in the ipod does not follow the standard XXXX.mp3 but had the name unaltered which is "04-J'ai Dormi Sous L'eau.mp3" could this create problems? ..."
note that this could create problems if the file name contains some forbidden fat32 characters such as : or <
(In reply to comment #1) > note that this could create problems if the file name contains some forbidden > fat32 characters such as : or < > Yep, this is bug #374078
Why it is not used the standard way to determine the file name on the ipod?
There is no such thing as a "standard" way since the ipod is totally undocumented by apple. I felt keeping as much of the original filename as possible was nice when I first wrote the code, but it's not actually that useful, so I might change it.
I said standard because itunes, gtkpod and banshee (I don't know if other apps too) always rename the file in 4-capitalized-letters.mp3 Maybe this to avoid risks we were talking about! And I should add that it might also be a maximum length limit in fat32 partitions. Thank you!
gtkpod does not, it creates gtkpodXXXX.mp3 files. Rb code already handles the fact that there's a max size on the filenames (not a fat32 limitation, but some arbitrary limitation in the ipod firmware)
All right! If you want you can reject this bug. Now I understood that there is no problem in saving files using names different than XXXX.mp3 thank you!
Actually using the same kind of names as gtkpod would have a few nice side-effects code-wise (less code in rhythmbox, no more problems with bug #374078) so it was worth raising that bug. I guess I'll change it when I get a chance ;)
Another data point, it seems the iQuiz iPod game only works with filenames following the XXXX.mp3 pattern.
https://bugzilla.gnome.org/show_bug.cgi?id=612145#c0 has some code doing something close to that.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/377.