On Wed, Sep 01, 2004 at 09:49:00PM +0200, Christophe Fergeau wrote:
> I'm pretty sure it used to work too. Can you file a bug in bugzilla so
> that it's not forgotten? What format are your multi file albums encoded
> in ? (mp3, ogg, flac, something else) ?
It turns out that sorting *does* work -- it was the *library* that had
gotten messed up. Somehow the <track-number> of all my songs had been
copied into the <disc-number>, like this:
<entry type="song">
<title>Don't Ask Me Why</title>
<genre>Unknown</genre>
<artist>Billy Joel</artist>
<album>Greatest Hits</album>
<track-number>5</track-number>
<disc-number>5</disc-number>
<duration>179</duration>
<file-size>3724491</file-size>
<location>file:///mnt/wily/music/Billy_Joel/Greatest_Hits/2.05_-_Dont_Ask_Me_Why.ogg</location>
<mtime>1079995182</mtime>
<rating>2.920000</rating>
<auto-rate>1</auto-rate>
<play-count>3</play-count>
<last-played>1089865330</last-played>
<mimetype>application/ogg</mimetype>
</entry>
This is the case for every song with a <disc-number> and plenty that
should never have had a <disc-number> in the first place.
Moving my library out of the way and re-importing those songs (those
both in Ogg Vorbis and MP3) seems to have fixed the problem:
<entry type="song">
<title>Don't Ask Me Why</title>
<genre>Unknown</genre>
<artist>Billy Joel</artist>
<album>Greatest Hits</album>
<track-number>5</track-number>
<disc-number>2</disc-number>
<duration>179</duration>
<file-size>3724491</file-size>
<location>file:///mnt/wily/music/Billy_Joel/Greatest_Hits/2.05_-_Dont_Ask_Me_Why.ogg</location>
<mtime>1079995182</mtime>
<rating>2.500000</rating>
<auto-rate>1</auto-rate>
<mimetype>application/ogg</mimetype>
</entry>
Once the song information is correct, sorting behaves just as I'd expect
it to.
Is it possible that the 0.9 branch of Rhythmbox could have caused this
corruption? I had played with it a little several weeks ago before
going back to 0.8.5. I don't remember having imported any songs while
using the 0.9 branch, though. Could someone using the 0.9 branch see if
they can reproduce this problem?
Also, is there a good way to tell Rhythmbox to rescan the contents of
the library to update its metadata? Deleting the library and
re-importing everything would make me lose all my ratings.
Attachment:
signature.asc
Description: Digital signature