Ticket #1040 (closed defect: community)
Mediaplayer adds files to a playlist in an unpredictable order
| Reported by: | cwixon@… | Owned by: | Abraxa |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | openmoko-mediaplayer | Version: | 2007.2 |
| Severity: | normal | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | no | PatchReviewResult: | |
| Reproducible: |
Description
All of my music files have filenames that start with the track number, but I
can't predict the order in which they will show up in a playlist generated by
the mediaplayer when I select an entire directory.
Sometimes they turn out correct, as in 01-02-03-04-05-06... etc.
Other times, well, here's an example:
<?xml version="1.0" encoding="utf-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
<trackList>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/08-Lady%20Shoes.mp3</location>
<title>Lady Shoes</title>
<creator>The Jesus Lizard</creator>
<duration>204886</duration>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/05-Monkey%20Trick.mp3</location>
<title>05-Monkey Trick</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/02-Mouth%20Breather.mp3</location>
<title>02-Mouth Breather</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/04-Seasick.mp3</location>
<title>04-Seasick</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/Goat.jpg</location>
<title>Goat</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/06-Karpis.mp3</location>
<title>06-Karpis</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/03-Nub.mp3</location>
<title>03-Nub</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/07-South%20Mouth.mp3</location>
<title>07-South Mouth</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/01-Then%20Comes%20Dudley.mp3</location>
<title>01-Then Comes Dudley</title>
</track>
<track>
<location>file:///media/card/music/the%20Jesus%20Lizard/Goat/09-Rodeo%20In%20Joliet.mp3</location>
<title>09-Rodeo In Joliet</title>
</track>
</trackList>
</playlist>
Change History
comment:2 Changed 5 years ago by cwixon@…
Also, it doesn't seem to be reading tags correctly.
Note that the first track has a correct title, but the others do not. I have
verified that the files are tagged correctly.
comment:3 Changed 5 years ago by cwixon@…
Never mind my comment on reading tags -- they only seem to be read the first
time the player actually plays the track. After that, the playlist is rewritten
with the appropriate title/creator information. But the durations are
incorrect, per bug# 1041.
