← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: music app & mediascanner

 

Reply is inline below:

On Tue, Nov 26, 2013 at 11:55 AM, Thomas Strehl <thomas.strehl@xxxxxxxxxxxxx
> wrote:

> Hi,
>
> following up the mediascanner/music app vUDS session last week I had a
> look at the music app trying to figure out which API it requires from
> mediascanner. From what I can see it's at least the file name, title,
> artist, album, thumbnail, year, track number, duration and genre if
> available that is needed by music app to initialize/sync the DB. Is
> there anything I missed? If not, we'll be working on providing such an
> API including qml bindings so that music app will work with refactored
> mediascanner.
>
> Later, as step two, we might want to go further and store duplicate less
> information in music app DB, so we'd need functions for:
> - getting all music
> - getting all artists
> - getting all songs from one artist
> - getting all covers from one artist
> - getting all albums
> - getting all songs for a given album
> - getting all genres
> - getting all songs of a given genre
>

Is there a specific reason why this data must be duplicated in a local DB
for the music app at all? I would think the music app could always directly
query the media scanner's database?



>
> Anyway, let's start with first step. Is there anything I didn't pay
> attention to?
>
>
> Best regards,
>
> Thomas
>
> --
> Mailing list: https://launchpad.net/~ubuntu-touch-coreapps
> Post to     : ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References