[p2p-hackers] Bitzi (was Various identifier choices)

Mike Linksvayer ml at gondwanaland.com
Tue Sep 18 17:50:02 UTC 2001


On Fri, Sep 07, 2001 at 04:05:14AM -0500, Brandon Wiley wrote:
> > (We won't invent if there's already good precedents to mimic,
> > and we could crank out an initial dump in very short order if
> > it'd help give you something better to demo at O'R-P2P.)
> 
> That would be great! I could give a great demo with a fat database. If you
> decide to include fields that aren't in Dublic Core then just give me a
> list of the names of the fields and I'll configure it to use that schema
> instead.

An experimental dump featuring basic "best data" on 261,190 discrete
files is now available at http://preview.openbits.org.  Here's a
one record example:

<rdf:RDF xmlns:rdf  = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc   = "http://purl.org/dc/elements/1.1/"
         xmlns:bz   = "http://bitzi.com/xmlns/2001/09/10/experimental#"
         xmlns:mm   = "http://musicbrainz.org/mm/mm-2.0#">
<!-- (C) 2001 Bitzi; see http://bitzi.com/openbits for license to use in whole or part-->
  <rdf:Description rdf:about='bitprint:3KIZIJB64XP3NCXAE4ISQZT3QNCTF7VDNK5UNR8ZPQ5MFASNGVB5MISV7ESUSB2MN5R3IY2'>
    <bz:length>4128768</bz:length>
    <bz:first20>4944330300000000170B47454F42000005900000</bz:first20>
    <bz:filename>Brazzaville - Brazzaville 2002 - 05 - Ocean (With Joe Frank).mp3</bz:filename>
    <bz:url>http://www.emusic.com/albums/19514/</bz:url>
    <dc:title>Ocean (With Joe Frank)</dc:title>
    <bz:album>Brazzaville 2002</bz:album>
    <dc:creator>Brazzaville</dc:creator>
    <mm:trackNum>5</mm:trackNum>
    <dc:date>1999</dc:date>
    <mm:duration>258440</mm:duration>
    <bz:bitrate>128</bz:bitrate>
    <bz:samplerate>44100</bz:samplerate>
    <bz:stereo>y</bz:stereo>
    <bz:audio_sha1>DQ6TJEH2V39CVT3JM2SPCHBVH3SDWX7W</bz:audio_sha1>
    <bz:society>Joe_Frank</bz:society>
    <bz:md5>EWGAR2KGANV9QMI9B4529TD496</bz:md5>
  </rdf:Description>
</rdf:RDF>

Bitprint detail may be accessed (html only right now) at
http://bitzi.com/lookup/<bitprint>, i.e.,

http://bitzi.com/lookup/3KIZIJB64XP3NCXAE4ISQZT3QNCTF7VDNK5UNR8ZPQ5MFASNGVB5MISV7ESUSB2MN5R3IY2

for the example above.  The sha1 component of the bitprint may also
be used alone, like

http://bitzi.com/lookup/3KIZIJB64XP3NCXAE4ISQZT3QNCTF7VD


You'll encounter the following non-Dublin Core fields:

bz:length	File size
bz:first20	First 20 bytes of file
bz:subjective	Subjective comment
bz:url		Related URL
bz:album	Album name
mm:trackNum	Album track number
mm:duration	Track duration (ms)
bz:bitrate	(kilobits/second)
bz:samplerate	Hz
bz:stereo	y|n
bz:encoder	Audio encoder
bz:audio_sha1	sha1 of audio data
bz:width	Image width
bz:height	Image height
bz:bpp		Impage bits/pixel
bz:samplesize	.wav specific
bz:channels	Channels in a .ogg (stereo=2)
bz:broadcaster	Original broadcaster
bz:series	Series name
bz:medium	Broadcast medium
mm:trmId	Relatable audio fingerprint
bz:society	"BitSociety" interest group
bz:md5		MD5 full file hash

We also used description, title, creator and date from Dublin Core.

Obviously you won't find all of the above in a single record.

This experimental dump is intentionally simple and flat.  Future
dumps may be more structured and contain more Bitzi "community"
data, e.g., contributor attributions and content rating.

Criticism desired!

-- 
  Mike Linksvayer
  http://gondwanaland.com/ml/



More information about the P2p-hackers mailing list