Tracks don't sort by disc number

Bug #1246172 reported by Dennis O'Flaherty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtDeclarative bindings for the Grilo media scanner
Won't Fix
Wishlist
Unassigned
Ubuntu Music App
Fix Released
Wishlist
Unassigned
mediascanner2
Fix Released
Undecided
Unassigned
mediascanner2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have an album with two discs and the songs play in the following order:

  Disc2, Track1
  Disc1, Track1
  Disc2, Track2
  Disc1, Track2
  (and so on...)

I would expect that they be played:

  Disc1, Track1
  Disc1, Track2
  ...
  Disc1, TrackN
  Disc2, Track1
  Disc2, Track2
  ...
  Disc2, TrackM

Some investigation into this shows that disc number is not being tracked in the music app, there are no QtGrilo bindings for it or even a field for it in the grilo library.

Related branches

Changed in qtgrilo:
importance: Undecided → Wishlist
Changed in music-app:
importance: Undecided → Wishlist
Changed in qtgrilo:
status: New → Triaged
Changed in music-app:
status: New → Triaged
Revision history for this message
James Henstridge (jamesh) wrote :

In the new media scanner code base, we're currently only storing the track number in the index. It shouldn't be a big deal to also store the disc number and use it for the relevant sorted queries.

affects: mediascanner → mediascanner2
Changed in mediascanner2:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mediascanner2 - 0.100+14.10.20140508-0ubuntu1

---------------
mediascanner2 (0.100+14.10.20140508-0ubuntu1) utopic; urgency=low

  [ James Henstridge ]
  * Add genre and discNumber metadata fields to the media index, and
    expose it in the QML binding. Add rowCount property and get(row,
    role) method to each of the model classes in the QML binding. (LP:
    #1246172)

  [ Jussi Pakkanen ]
  * Don't scan optical discs.
  * Use generator for file traversal instead of a vector.
 -- Ubuntu daily release <email address hidden> Thu, 08 May 2014 10:18:14 +0000

Changed in mediascanner2 (Ubuntu):
status: New → Fix Released
Changed in mediascanner2:
status: In Progress → Fix Released
Revision history for this message
David Planella (dpm) wrote :

I understand this has been fixed in the Music app by it being fixed on mediascanner. Please feel free to undo the bug status change if incorrect.

Changed in qtgrilo:
status: Triaged → Won't Fix
Changed in music-app:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.