Cannot filter models to only AudioMedia

Bug #1319168 reported by Andrew Hayzen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
High
Unassigned
mediascanner2
Fix Released
Undecided
James Henstridge

Bug Description

The first entry in the ArtistsModel is empty, as can be seen in the example application [0]. This then causes issues for the music-app as when selecting the artist it shows all the albums/songs in the library.

I expected that this first entry should not even exist, unless we are using it incorrectly?

0 - https://code.launchpad.net/~andrew-hayzen/+junk/example-first-artist-empty

Related branches

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

This is a screenshot [1] of [0] running on the Nexus 4 r26.

1 - https://drive.google.com/file/d/0B3XynHVKfrvMdXRDeVc5X1UtMWc/edit

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Discovered this is because I have a video in my library, however how to we filter the models to only show audio. I see a AudioMedia MediaType [2], which I assume would resolve this issue, but am unsure how to use it?

2 - http://bazaar.launchpad.net/~mediascanner-team/mediascanner2/trunk/view/head:/src/qml/Ubuntu/MediaScanner/plugin.qmltypes#L120

Andrew Hayzen (ahayzen)
summary: - First entry in AristsModel is empty
+ Cannot filter models to only AudioMedia
Andrew Hayzen (ahayzen)
Changed in music-app:
status: New → Triaged
importance: Undecided → High
Revision history for this message
James Henstridge (jamesh) wrote :

In the attached branch, the genres, artists, albums and songs models are limited to AudioMedia.

Revision history for this message
James Henstridge (jamesh) wrote :

Fixed in 0.101+14.10.20140530-0ubuntu1

The Genres, Artists, Albums and Songs models all limit themselves to AudioMedia now.

Changed in mediascanner2:
assignee: nobody → James Henstridge (jamesh)
status: New → Fix Released
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.