bootleg music database - help with structure of db

This is a discussion on "bootleg music database - help with structure of db" within the Databases section. This forum, and the thread "bootleg music database - help with structure of db are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 20th, 2006, 23:23
New Member
Join Date: Jun 2006
Location: Denmark
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
bootleg music database - help with structure of db

Hello fellow db-freaks.
I collect music bootlegs (this is not illegal, I only list from artist who agree to people taping their shows and distribute these bootlegs)
I want to build a database for my ever growing collection and I'm tired of hardcoding in html.

Now, the trouble with a bootleg music db is, that besides having tracks, who belong to albums, played by artists, there's also the specific date the track was palyed and the venue it was played at and the source, to take into consideration.

-Some bootlegs consists of a recording of only one show.
-Some bootlegs consists of a recording of only one show + fillers to use the empty space on a cd/dvd.
-Some bootlegs are complete compilations, consisting of one/many artist(s), playing the same/different songs, from same/different dates and same/ different venues.

Do you see the trouble piling up here :-)

I thought the db should center around:
a) the tracks
b) the album (Volumes)

The conditions for the db hence are:
  • An artist can appear on multiple albums
  • Multiple artists can appear on one album
  • An artist can have multiple roles on a track (singer, guitar etc.)
  • One album can have multiple physical discs
  • An artist can appear on the same album in multiple roles
  • A track can appear on multiple albums
  • A track can appear multiple times on one album
  • A track always has a date, a venue, a length, a source
Since an album (I think I'm going to call it a volume internally in the setup and then "album" to the public) may contain more than one physical disc, I'll have to somehow be able to have this information as well.

So I end up with the following tables:
The simple ones first:
Artist: id, name
Role: id, name (ie. singer, guitar, keyboard, etc.)
Venue: id, name, city, state, country
Track: id, name
Media: id, name (ie dvd, svcd, data-disc etc)
Source: id, name (ie soundboard, audience-recording etc.)

Now what bogs me is how I construct the rest.

What join tables do I need? How should the *track* and the *Volume* table be constructed?

Hope you find this interesting enough to help...
You can take a look at the hardcoded site if you're intereste at rustenrat.com (no advertising on site, it's my personal site - if this is against rules here, I'll glaldy remove the link)

Cheers, Thom
Reply With Quote

  #2 (permalink)  
Old Jun 20th, 2006, 23:51
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bootleg music database - help with structure of db

Do you have any php/mysql experince?
Reply With Quote
  #3 (permalink)  
Old Jun 21st, 2006, 08:18
New Member
Join Date: Jun 2006
Location: Denmark
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bootleg music database - help with structure of db

Quote:
Originally Posted by sypher
Do you have any php/mysql experince?
Yes, I can program in php and I more or less know how to make the relevant sql statements for my needs. It's just the design of the db I'm not so skilled with.
Reply With Quote
  #4 (permalink)  
Old Jun 21st, 2006, 20:48
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bootleg music database - help with structure of db

I think it would get a bit long winded to explain in detail here.

Suggest you read up on the relational database model and in particular look at normalisation to third-normal-form.

Without studying the data to be stored in details, I think TNF should be enough.

Then if you have any specific understanding issues, come back and ask.
Reply With Quote
  #5 (permalink)  
Old Jun 22nd, 2006, 09:29
New Member
Join Date: Jun 2006
Location: Denmark
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bootleg music database - help with structure of db

Quote:
Originally Posted by ukgeoff
I think it would get a bit long winded to explain in detail here.


Suggest you read up on the relational database model and in particular look at normalisation to third-normal-form.

Without studying the data to be stored in details, I think TNF should be enough.

Then if you have any specific understanding issues, come back and ask.
Hehe, you beat me to it. I was just gonna ask if TNF wouldn't be enough for this. Ok I'll get back here if it gets too long-haired for me.
Reply With Quote
Reply

Tags
bootleg, music, database, help, structure

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
flash music player that plays music throughtout saxy46 Flash & Multimedia Forum 5 Aug 23rd, 2006 14:24
XML Code for transfering data from one SQL Server Database to another database plolla Other Programming Languages 1 Aug 3rd, 2006 18:37
Music Database design help! browno Databases 9 Jan 12th, 2006 14:56
Request opinion on a database table structure doowop Databases 0 Sep 23rd, 2005 13:22


All times are GMT. The time now is 05:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43