Comment 0 for bug 1273625

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

The current version of music-app uses QtGrilo to snarf the entire media index into a private database on startup. We haven't yet implemented a Grilo plugin for the new media scanner, and it would be preferable for music-app to drive itself directly from the media scanner index.

To achieve this, we want to provide a QML interface that provides the necessary functionality. The initial work is in this merge proposal, but it does little more than show that it is possible to perform queries from QML:

    https://code.launchpad.net/~jamesh/mediascanner2/qml-plugin/+merge/201754

We most likely need to add some QAbstractListModel classes that let you iterate over songs, albums and artists. What is less clear is what filters would be needed to work with those models.