GNOME Bugzilla – Bug 608835
Banshee can't index flac-files from Sansa Fuze V.1 with rockbox
Last modified: 2010-02-04 20:05:43 UTC
Since the addition of support for flac-files with rockbox, transferring flac-files has worked like a charm. However, when the files have been transferred and you disconnect, then reconnect the device again (a Sansa Fuze V.1 8GB in this case) it gives me this error right underneath the entry of the device in the GUI: "Error: /path/filename.flac Description: Unknown char: ." In the terminal it looks like this: "[Error 23:15:03.036] /path/filename.flac - Unknown char: ." I have tried with files that are ripped with Banshee, and those that aren't to make sure there isn't something wrong with the files. All flac-files i have tried have resulted in this error so far. The flac-files are, also because of this, not indexed as music files within Banshee, so I can't search for them through the GUI after the device has been reconnected. The space they take up is shown within the "Other"-section in the space-overview of the device. This only happens when Banshee is reading the library from the device, not when it reads the ordinary library, nor when I transfer files to the device. All the files that have been transferred are named correctly with ".flac" at the end.
If you start banshee from a terminal with --debug, it should print out what IO backend it's using - can you do that and report back which it is?
Is this what you mean? IO provider extension loaded (Banshee.IO.Unix.Provider)
Yes, I wanted to rule out the GIO provider - which you did.
For completeness: I cannot reproduce this problem on my Rockboxed iPod Video. So, it is either a problem unique to the device (but I don't see how that could be) or some difference in settings between my and rockrobban's banshee/environment. Could the fact that flac has 4 letters have anything to do with this??
rockrobban, out of curiousity what happens if you rename one of the files on the device to say .mp3 or .ogg instead of .flac. Does it get recognized by banshee?
That might be it. If i renamed it to .mp3 it didn't report an error, neither did it get recognized in the library though.
Did it perhaps get added to the library as unknown artist/unknown album with a wrong length? That is what happened to mine when changed .flac to .mp3. If it is a four letter problem, what could be the actual cause/solution? Is your device formatted in some ancient version of FAT that only supported 3 letters for some reason? It is weird that the Banshee regular importer and banshee loading off my ipod don't complain when it has .flac ... Gabriel, any ideas?
Created attachment 152983 [details] [review] patch rockrobban: are you running banshee-1 with --debug? If not, please do, and attach the log here. If you already are, apply this patch and run it again. Thanks!
Created attachment 153001 [details] The debug I got from a flac-file with an svn from the 26th of January without the patch The debug I got from a flac-file with an svn from the 26th of January without the patch.
Created attachment 153002 [details] The debug I got from a flac-file with todays git and with the patch The debug I got from a flac-file with todays git and with the patch
Ok, I've committed a patch to master that should resolve this. I'm interested to know what value it was that was tripping things up - so if you could git pull and re-run and paste the "Failed to parse ogg rating string" log message(s), that'd be appreciated.
The errors "unknown char" is now indeed gone and the files are being indexed in the library. This is the output I get now: [Warn 20:57:11.480] Failed to parse ogg rating string: 0.5 [Debug 20:57:11.480] Importing Ogg Rating=0(0.5) and Playcount=0(0) from File "/media/0123-4567/Music/Covenant/Northern Light/2 - Call the Ships to Port.flac" Thanks for the quick fix too!