You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Rana Bunnni <ra...@yahoo.se> on 2013/05/22 08:38:04 UTC

music database

Hi all,
I would like to create a database that can store music.
How can I save music in couchDB ?
and how can i retrieve a specific music from the database ?

Greetings
/RB

Re: music database

Posted by Kevin Coombes <ke...@gmail.com>.
Or include the attachment file name as part of the metadata....

On 5/22/2013 5:35 AM, Jann Horn wrote:
> On Wed, May 22, 2013 at 07:38:04AM +0100, Rana Bunnni wrote:
>> I would like to create a database that can store music.
>> How can I save music in couchDB ?
>> and how can i retrieve a specific music from the database ?
> Have one document per music file. Store metadata in the document and the actual
> audio file as attachment. You'll probably want to name all attachments the same,
> so you can find a music track through a couchdb view and then get the audio file
> by appending the attachment filename to the document's URL.


Re: music database

Posted by Jann Horn <ja...@thejh.net>.
On Wed, May 22, 2013 at 07:38:04AM +0100, Rana Bunnni wrote:
> I would like to create a database that can store music.
> How can I save music in couchDB ?
> and how can i retrieve a specific music from the database ?

Have one document per music file. Store metadata in the document and the actual
audio file as attachment. You'll probably want to name all attachments the same,
so you can find a music track through a couchdb view and then get the audio file
by appending the attachment filename to the document's URL.