ubuntu-touch-coreapps team mailing list archive
-
ubuntu-touch-coreapps team
-
Mailing list archive
-
Message #00668
Re: music app & mediascanner
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
There is no reason for us using the database for the metadata, we plan
to remove as much of the database as possible and directly query
mediascanner.
Although we will need to track recently played items and playlists,
but this can easily be done.
Hope that helps, let me know if any other information is required.
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 26/11/13 17:35, Jim Hodapp wrote:
> 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
>>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSlODmAAoJEODyjTCPZv77pAkH/2I3j4IpZpj7lCmpkamwh8Ns
5KB3dwBVKSjNOjsCvIFcI5eSyH8X3FsY48WQEC7PDQziO1JDN/KR/R9AQVo68cQT
rvn59rDWXQHnOSNj8IjykSuvyKVELcVkCjiHIh8YaKYuKtm/HH6e+7W79E1/R9jx
SlK65HDmYbad/R/6KM0OonixNEKZsVy3p8go4Bux3hjSWQPoBpKN7Ylpe3feO4eu
qZ0ZP7paT3Z5H1legZ+OxhlnZffsxIjI1uR1p4xwZUIH5pRT+JzeguF7rE3Y2MSp
NitWZPrEgEO4ujZbv8YtLnvY7eyflX2eJ9eDmT4PKV/kzqveeuu6HAJHH4cytZU=
=Kmq/
-----END PGP SIGNATURE-----
Follow ups
References