21:47 PM
SultS_
:P
21:47 PM
Nickii
Looking for some help please. From someone who knows the Database schema.
21:47 PM
reosarevok
Ask and I'm sure someone will be able to help :)
21:47 PM
hawke_
Nickii: I’m sorry, this is the room for bullshitting about Steam, apparently. Not talking about Musicbrainz. ;-)
21:47 PM
j/k of course.
21:47 PM
Nickii
I'm looking for the Db Table that links A track to it's album.
21:48 PM
I am using the raw files.
21:48 PM
kovacsur
you mean a track to a medium?
21:48 PM
ianmcorvidae
depending on exactly what you're doing, you may need any/all of: track, tracklist, recording, medium, release
21:49 PM
Nickii
I will see if I can give an example...
21:49 PM
ianmcorvidae
each medium is linked to a release and to a tracklist; each track is linked to a recording and a tracklist
21:50 PM
so it depends what you mean by 'track', by 'album', and by 'link' :)
21:50 PM
reosarevok
lol
21:50 PM
reosarevok laughs at VxJasonxV's description of Bit Trip Beat
21:50 PM
Nickii
ACtually... Where can I find the field names in the Tracks table?
21:51 PM
kovacsur
reosarevok: your "part-of" relationship thing is done by the way, but I'm not sure if I should release it to the public like this. It adds a "part of <work>" comment to the list dynamically, but doesn't load the ones that already exist in the db
21:51 PM
reosarevok
kovacsur, can I get a pastebin version for now? :)
21:51 PM
kepstin
21:51 PM
reosarevok
(I agree that loading them would be pretty awesome though for a released one)
21:52 PM
Mineo joined the channel
21:52 PM
kepstin
Nickii: you'll find that the track names are in the track_name table :)
21:52 PM
kovacsur
21:52 PM
reosarevok
Awesome :D
21:53 PM
4 presents in a day! (2 userscripts, 2 steam games)
21:53 PM
I shouldn't go to sleep tonight!
21:53 PM
Nickii
kepstin Thank you.
21:53 PM
reosarevok
:p
21:53 PM
ianmcorvidae
Nickii: you should probably get yourself a copy of the database to look around in
21:53 PM
21:53 PM
which will probably help you a lot :)
21:55 PM
Nickii
iancorvidae Thank you. I have downloaded a copy of the raw text files from the MusicDb ftp server which I am using.
21:56 PM
ianmcorvidae
that doesn't give you the schema or let you query it, etc. :)
21:56 PM
SultS_
I can gift Frozen Synapse to anyone who's interested in that sort of thing/game :)
21:56 PM
VxJasonxV
So I'm sitting here, reading this conversation with Nickii.
21:56 PM
reosarevok has it
21:56 PM
My brain realizes something is off, both the capitalization and the fact that I knew nikki already had and used a copy of the MBz DB.
21:56 PM
Yet, I just can't figure out what the problem is.
21:57 PM
reosarevok
:p
21:57 PM
VxJasonxV
Then my brain catches up with itself and realizes that Nickii != nikki...
21:57 PM
kovacsur
heheh
21:57 PM
kepstin
confused me for a bit there, too
21:58 PM
Nickii
VxJasonxV This is my first time here. :-)
21:59 PM
VxJasonxV
So I gathered. Welcome!
22:04 PM
Nickii
The db schema lists "name" as a field but I don't see any Track names in the file i have.
22:04 PM
ianmcorvidae
name is a link to the track_name table
22:05 PM
so it is a number; the track name is the 'page' column of the track_name row with the corresponding number in the 'id' column
22:05 PM
Nickii
iamcorvidae I know that now but does that mean the schema is out of date?
22:06 PM
ianmcorvidae
no, that's how it should be
22:06 PM
Nickii
Oh.
22:06 PM
ianmcorvidae
the track_name table is designed to make the same name, used more than once, be stored only once
22:07 PM
it's also used by the 'name' column of the 'recording' table, as the image I linked shows
22:08 PM
Nickii
So is trackname.page the Track Title?
22:08 PM
Sorry track_name.page
22:09 PM
ianmcorvidae
yes, that should be correct
22:09 PM
oh, pardon, it's the column 'name'
22:09 PM
the image I linked is out of date :)
22:09 PM
Nickii
Thank you, that is what I suspected.
22:10 PM
ianmcorvidae
so yeah, track.name points to track_name.id; track_name.name has the actual name
22:10 PM
Nickii
Is the current schema with the field names of each table listed somewhere?
22:10 PM
ianmcorvidae
that should be actually correct
22:10 PM
it's probably in a sql file in the codebase
22:10 PM
lemme look
22:11 PM
Nickii
Thank you again.
22:11 PM
DarkerAudit joined the channel
22:12 PM
So, assuming there is a new schema in place, I am looking for the link between a Track and the album it comes from.
22:12 PM
ianmcorvidae
yeah, it's in admin/sql/CreateTables.sql
22:12 PM
the image I linked is very close to accurate; that page vs. name difference is the first incorrect thing I've seen
22:13 PM
reosarevok
ianmcorvidae: can you add a note indicating that change to the page where that is linked from?
22:13 PM
ianmcorvidae
reosarevok: in a few, sure
22:13 PM
reosarevok
:)
22:14 PM
ianmcorvidae
Nickii: what piece of information are you starting with? A title, a specific recording, what?
22:14 PM
and what piece of information do you want to get from this
22:14 PM
otherwise it's hard to answer your question :)
22:14 PM
VxJasonxV
stupid idlerpg
22:15 PM
Nickii
iancorvidae I first want to note that I am dealing with the raw text files, not any SQL tables.
22:16 PM
ianmcorvidae
the text files are dumped from the SQL tables; the schema's the same :)
22:17 PM
reosarevok
VxJasonxV, wtf?
22:17 PM
reosarevok just looked at what idlerpg is and now he wtfs more
22:17 PM
Nickii
In the files that I have, I have files like track,track_name,artist,release etc.
22:17 PM
SultS_
haha, I've “played” one
22:18 PM
Nickii
and I am importing these into MS Access.
22:18 PM
ianmcorvidae
yeah, those are the names of the SQL tables those files were dumped from
22:18 PM
Nickii
So, I want to make an MS Access Database from these files.
22:18 PM
reosarevok
Although well, I guess it is like Farmville, without the clicking
22:19 PM
Nickii
These files do not have the field names listed so I am goint from research.
22:19 PM
going*
22:19 PM
ianmcorvidae
yes, the column names are listed in the file admin/sql/CreateTables.sql, in the source code for the server
22:19 PM
Nickii
I will look there first, before I go futher.
22:20 PM
ianmcorvidae
(er, some tables will also be listed in admin/sql/vertical/rawdata/CreateTables.sql)
22:21 PM
22:21 PM
Nickii
Where are they on the ftp server?
22:21 PM
I can't see /pub/musicbrainz/admin
22:21 PM
ianmcorvidae
they aren't on the ftp server, this is from the codebase
22:22 PM
you'll need to get them from git
22:22 PM
Nickii
Oh.
22:23 PM
These files should be available on the FTP server. :-)
22:24 PM
VxJasonxV
github will turn a git repo into a downloadable bundle for you
22:24 PM
ianmcorvidae
generally people don't want them separate from the rest of the codebase, which it's a lot more reasonable to get from git :P
22:24 PM
VxJasonxV
and iirc mbz is on github
22:24 PM
ianmcorvidae
it is, under metabrainz/musicbrainz-server (as I recall)
22:25 PM
CatCat
VxJasonxV: yea i thgohut about Nickii != nikki too
22:25 PM
heh
22:25 PM
VxJasonxV
ianmcorvidae, indeed
22:25 PM
CatCat
and aw man, all this talk about steam now i wabnt to join and be like a part of stuff
22:25 PM
VxJasonxV
and I made that same mistake. AGAIN
22:25 PM
CatCat
but alas i sucka t games so hard
22:25 PM
:/
22:26 PM
VxJasonxV
thankfully it was recently updated, so I saw metabrainz in the sidebar :D
22:26 PM
CatCat goes back (not really ,starting now) to lego HP
22:26 PM
CatCat
oh and yea
22:27 PM
22:27 PM
VxJasonxV
yes
22:27 PM
reosarevok
CatCat: I think they are the 12 new servers :)
22:27 PM
CatCat
zomg
22:27 PM
VxJasonxV
^ +1
22:27 PM
CatCat
can we please call one of the Perry?!
22:27 PM
them*
22:27 PM
VxJasonxV
Lego Harry Potter is amazingly fun.
22:27 PM
CatCat
you know perry
22:27 PM
yes, yes it is
22:27 PM
it really, really is
22:28 PM
Nickii
ianmorvdae Thank you again.
22:28 PM
CatCat
it's the most fun once you *finally* get a char with dark magic so you can finally get stuff
22:28 PM
reosarevok
CatCat, ask ruaok, but I wouldn't say no to it :p
22:28 PM
SultS_
I haven't played any lego games, and I can probably blame pricing on thath
22:28 PM
CatCat
they're about as expensiver as any other game though
22:29 PM
also if you buy used they're rather cheap
22:29 PM
SultS_
I mean the steam/EA pricing, as in $=€
22:29 PM
CatCat
we get like lego batman and lego indiana jones at 199 NOK or something
22:29 PM
uh o play it as consol though
22:29 PM
SultS_
yeah, I don't have any consoles.
22:30 PM
CatCat
s/o/I/
22:30 PM
weirdo :P
22:30 PM
jk
22:30 PM
SultS_
or many physical copies of games
22:30 PM
haha
22:30 PM
CatCat
but i dont think dollah equals euro??
22:30 PM
SultS_
does for valve
22:30 PM
reosarevok
CatCat, tell that to some of the companies that sell games in Steam :p
22:30 PM
CatCat
i don't get it
22:31 PM
kepstin
huh, weird
22:31 PM
CatCat
it gets converted into nok for me anyway
22:31 PM
kepstin
I'm getting a lot of /fast/ 502 errors right now
22:31 PM
reosarevok
If it costs $50 in US, it costs �50 in Spain / Estonia sometimes
22:31 PM
Which is stupid
22:31 PM
SultS_
even weirder, $=2x$, if you are australian
22:31 PM
reosarevok
kepstin: same
22:31 PM
CatCat
so.. whatdoes that mean? if something costs like 3 euro and 3 usd?
22:31 PM
i get it for 3 nok or whaat ? XD
22:31 PM
kepstin
and inline searches aren't working for me atm :/