← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: music app & mediascanner

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is also correct, I believe that we identified all of the use
cases that we need for the new API in the UDS session.

- - 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

Thanks,

Andrew

Andrew Hayzen
Sent on Ubuntu GNU/Linux using Thunderbird
http://www.andrewhayzen.co.uk/

This message has been digitally signed,
The public OpenPGP key can be imported from
keyserver.ubuntu.com:11371 or http://andrewhayzen.co.uk/email/openpgp


On 27/11/13 09:33, Jussi Pakkanen wrote:
> On 26.11.2013 19:35, Jim Hodapp wrote:
> 
>> 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?
> 
> It is my understanding that the main reason was that these sorts
> of queries were cumbersome to do with v1 of the Mediascanner. It
> was easier to just hoover up all data and do the searches locally.
> With v2 we aim to provide an API good enough so that people don't
> have to do that any more.
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSlkr6AAoJEODyjTCPZv77Y7gH/3NE/fa+6ezWqsVn//NRMYIf
t0PkcZeRVcCk3znv0IEBss/2ZYGlyuvFXnJ9XteKv27JzedV65xvCMaFKdxCiaMY
zmQsgVcAEOHfjnpzJAMfHqQ8kUCLJzE+lWjR0o1l6hpOrihUFDQhx8nV6COttW84
BIwl7U4hE0MzpEXsj/3VMJIedIxJHiPy8+5BVd/UE2xIVZGBpNbkClo0s89Vijm+
0uOWjNLtN1zetuAfeIrsGTxB/0ofv1bCIZJEsACTlwjumie2qPU/SwB2wuX20iVY
GkDhWGbPJQQ3ldntfzPTUddVVhpME8FK8sVIOPkMg5MdLN9+k8rX62AV5IehPZ8=
=dgqK
-----END PGP SIGNATURE-----


References