Sean Goller <[EMAIL PROTECTED]> writes:
...
>>>Right now I'm just trying to see if someone's got an existing schema
>>>that gets me 90% of the way there so I can get things up and running
>>>reasonably quickly. If I can do that, then I can see if I can make
>>>slimserver deal with the archive setup. That gets me a fairly robust
>>>music archive/jukebox like thing.
>> For what it's worth, slimserver will read a musicbrainz xml
>> description of the flac file out of an app block.  The thing that
>> isn't available yet is a tool to insert the xml into the flac.  But
>> I'm sure it would be easy to make it read an external version of that
>> xml as well.  And the tools to pull the data from musicbrainz would
>> lend themselves well to inclusion in an automated system like what you
>> describe.
...
> Err, could you expand on that a bit? Do you mean the xml description
> of the cd represented by the flac file? 

yes.

> I've been futzing with the
> internal guts of libmusicbrainz all day, and I have code now that
> generates the proper musicbrainz DiscID given an flac-generated (NOT
> EAC) cuesheet text file. Now I'm working on turning that into code
> that just extracts the cuesheet data from the image itself and
> bypasses the whole textfile step.

Would you be willing to share what you've put together?  I've been
working on the same thing, but so far my calculated DiscID doesn't
match the one cdlookup returns.

> So with respect to fetching things from musicbrainz, I'm at
> http://musicbrainz.org/cdindex/69WPuFcKSoXA4Trt1kY4tGSg6Vo- here with
> my test disc/image. How does that relate to what you're talking about? 
> Are you talking about the information at:
> http://mm.musicbrainz.org/mm-2.1/album/94348021-7c03-4a58-bfcb-ee865f449200
> ?

Essentially, but it needs to go one level of detail deeper than the
web page does. (when you're querying their server directly, you can
specify how deep to go.) So the result you're looking for in this case
would look like the example I've attached.

> If so that means all that's left is some way of transforming a DiscID
> into a GUID. Scanning musicbrainz' wiki, it looks like
> MBQ_GetCDInfoFromCDIndexId will get me a list of album GUIDs that are
> linked to that DiscId, which gets me the RDF url above.

Sounds like you're on the right track.  The only tricky bit is that to
get both the album and the song detail, you have to query the server
directly. (or at least I haven't found an easy way to do it through
the web interface.)

Now all you need to do it either stuff that xml into an application
block in your flac, or modify slim server to recognise it external to
your flac file. :)

I hope that helps.

-michael

--
"I must create my own system, or be enslav'd by another man's"
        -William Blake 

Attachment: example.xml
Description: example xml of the mentioned cd

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to