ocharles: I don't have any objections to moving git to github (you'd need to add a commit hook thingy to post to mb-commits of course :P) my problem was with the code review stuff, there doesn't seem to be any way of saying I want to get emails for that
2012-07-26 20835, 2012
SexyKen joined the channel
2012-07-26 20816, 2012
ianmcorvidae|alt joined the channel
2012-07-26 20854, 2012
djce joined the channel
2012-07-26 20817, 2012
plaintext joined the channel
2012-07-26 20826, 2012
stefans joined the channel
2012-07-26 20802, 2012
ijabz joined the channel
2012-07-26 20812, 2012
djinni` joined the channel
2012-07-26 20847, 2012
bitmap
is mb not loading for anyone else? I can't connect to the main site or rika
2012-07-26 20845, 2012
nikkimini
seems to load fine for me
2012-07-26 20805, 2012
bitmap
can't connect to jira or anything else either
2012-07-26 20821, 2012
bitmap
guess I'll just wait
2012-07-26 20814, 2012
ijabz joined the channel
2012-07-26 20825, 2012
ianmcorvidae
bitmap: seems to be working for me too, yeah, though it's been a bit now
2012-07-26 20807, 2012
bitmap
it started working again a few minutes ago. very strange
2012-07-26 20855, 2012
ianmcorvidae
who knows
2012-07-26 20801, 2012
ianmcorvidae
networks be crazy stuff, I guess :P
2012-07-26 20834, 2012
ijabz joined the channel
2012-07-26 20802, 2012
bitmap
ianmcorvidae: were you doing anything with multiselects still? 'cause I started writing my own jquery plugin for the instrument tree
2012-07-26 20811, 2012
ianmcorvidae
I haven't looked at it, no
2012-07-26 20820, 2012
bitmap
ah, okay
2012-07-26 20857, 2012
ianmcorvidae
I'd still like to improve that interaction, but I haven't done the research into alternatives to chosen
could someone help me a bit with postgres permissions?
2012-07-26 20820, 2012
luks
maybe, what's the problem?
2012-07-26 20854, 2012
plaintext
I don't have permission for the schema musicbrainz
2012-07-26 20850, 2012
plaintext
I'm connected to the database "musicbrainz_db_static" with my user
2012-07-26 20853, 2012
ianmcorvidae
plaintext: oh, yeah, meant to tell you about that
2012-07-26 20858, 2012
ianmcorvidae
you want to connect as user musicbrainz
2012-07-26 20808, 2012
plaintext
ooh
2012-07-26 20810, 2012
plaintext
thanks!
2012-07-26 20814, 2012
night199uk
ahh lukz
2012-07-26 20840, 2012
night199uk
lukz: is this an appropriate place to ask about picard?
2012-07-26 20846, 2012
luks
yep
2012-07-26 20808, 2012
night199uk
lukz: nice. did freso already ping you? i was asking in #musicbrainz the other day. i'm working on the musicbrainz support for XBMC.
2012-07-26 20845, 2012
plaintext
ianmcorvidae: one more problem: now I don't have permission for the table I have created earlier
2012-07-26 20851, 2012
luks
I'm not sure, I wasn't on irc for a few days
2012-07-26 20852, 2012
plaintext
should I just delete it, and add it again with the user musicbrainz?
2012-07-26 20801, 2012
night199uk
xbmc recently got a musicbrainz scraper. I've just rewritten a lot of support for xbmc so it can fully utilise MBIDs
2012-07-26 20810, 2012
night199uk
for artist, album lookups, etc etc
2012-07-26 20816, 2012
ianmcorvidae
plaintext: possibly, if that won't take too much effort -- the other option is to just change the owner on it, presumably
2012-07-26 20836, 2012
night199uk
lukz: but right now, we scan the tags, insert the items into the db and then go look up all the artist metadata afterwads
2012-07-26 20840, 2012
plaintext
ianmcorvidae: thanks
2012-07-26 20849, 2012
night199uk
that would be very difficult to change on the xbmc side.
2012-07-26 20800, 2012
night199uk
so today we don't have anything good to insert for the artists
2012-07-26 20804, 2012
ianmcorvidae
plaintext: but I don't know if you can change the owner without superuser permissions, so if it's not troublesome to just delete/recreate I'd do that
2012-07-26 20827, 2012
plaintext
it's just test data, so I can simply drop the table
2012-07-26 20830, 2012
plaintext
ty
2012-07-26 20833, 2012
night199uk
lukz: cut a long story short, what i'm looking to know is if there would be any way picard would implement a tag to store the individual artist names
2012-07-26 20852, 2012
night199uk
i.e. a 1:1 mapping with TXXX:MusicBrainzArtistID
2012-07-26 20801, 2012
luks
night199uk: I'm not sure, but I'd definitely not want that to be enabled by default
2012-07-26 20811, 2012
night199uk
an add-on might be okay
2012-07-26 20830, 2012
luks
I actually think that looking up the MBIDs in the application is a better solution
2012-07-26 20836, 2012
night199uk
yeah, i agree
2012-07-26 20838, 2012
night199uk
and we do that
2012-07-26 20854, 2012
night199uk
but the problem is the architecture is scan the MP3s and then go look up the data
2012-07-26 20807, 2012
night199uk
there is no way I'm going to be able to change that in the short or medium term
2012-07-26 20816, 2012
night199uk
which means right now we inject a bunch of artists named by their MBIDs
2012-07-26 20818, 2012
luks
is that a problem though?
2012-07-26 20827, 2012
night199uk
yes and no
2012-07-26 20832, 2012
night199uk
we've not released the feature yet
2012-07-26 20847, 2012
night199uk
it will go in shortly, maybe next week
2012-07-26 20857, 2012
ianmcorvidae
I guess it depends how much time there is between the scan and the lookup steps where someone might accidentally see the not-actually-correct name
2012-07-26 20800, 2012
night199uk
i'm trying to anticipate the support load. also we're debating the right way to insert these artists into our db.
2012-07-26 20851, 2012
night199uk
some folks want to see us insert the artists with multiple artists named the same… i.e. for 'Mark Knopfler & Chet Atkins', we'd end up with 2 artists called 'Mark Knopfler & Chet Atkins' until we can scrape and download the correct data
2012-07-26 20819, 2012
night199uk
right now we just inject the artists named by their id, so 'xxxxxxx-xxxx-xxxx' and then the users can easily see whats scraped or not
2012-07-26 20851, 2012
night199uk
so at this point i'm just fact finding, i wanted to see if there was any appetite to do anything on the MB side
2012-07-26 20853, 2012
luks
well, I'd guess that you don't have this problem for over 99% of cases
2012-07-26 20858, 2012
luks
because there is only one artist
2012-07-26 20812, 2012
night199uk
yeah, maybe
2012-07-26 20817, 2012
night199uk
but i need special case code to detect that now
2012-07-26 20833, 2012
night199uk
is this possible with an add-on today?
2012-07-26 20839, 2012
luks
even if we add this to tags in picard, all existing files will not have the new artist tags and people using other applications to tag their files will not have them either
2012-07-26 20851, 2012
night199uk
yeah, i know
2012-07-26 20855, 2012
luks
yes, it's possible to write a plugin for picard to add the extra tags
2012-07-26 20801, 2012
night199uk
but i guess picard would set the benchmark other taggers would follow
2012-07-26 20801, 2012
luks
but it would be complicated
2012-07-26 20809, 2012
night199uk
yer?
2012-07-26 20812, 2012
night199uk
erk :-(
2012-07-26 20816, 2012
luks
for example, if you have two MBIDs and two artist names, how do you know which one is which?
2012-07-26 20826, 2012
night199uk
i guess i want something i can point people too if they are concerned about the behaviour
2012-07-26 20828, 2012
luks
you won't need to create some hacks like prefixing the artist names with theMBIDs
2012-07-26 20835, 2012
night199uk
well we'd order the tags in the same orer
2012-07-26 20846, 2012
night199uk
we always retrieve the MP3 tags in order
2012-07-26 20854, 2012
luks
I'm not sure you can depend on that
2012-07-26 20805, 2012
luks
many tagging applications do crazy things
2012-07-26 20811, 2012
night199uk
so MusicBrainzArtistID[0] == MusicBrainzArtistName[0], etc
2012-07-26 20823, 2012
luks
not to mention, id3v2.3, which is a must for any windows user, does not support multiple values per field
2012-07-26 20830, 2012
night199uk
well yes. I can only speak for xbmc, i can rely on that
2012-07-26 20850, 2012
night199uk
indeed. how do you write multiple artist IDs for v2.3 though?
2012-07-26 20858, 2012
night199uk
with the " / " separator?
2012-07-26 20804, 2012
luks
I think so, yes
2012-07-26 20814, 2012
night199uk
yeah, so then we can still rely on the order
2012-07-26 20823, 2012
night199uk
xbmc already supports separating tags by the " / "
2012-07-26 20837, 2012
luks
what if there is an artist with / in the name?
2012-07-26 20839, 2012
night199uk
i'm just in the process of converting us to use tag lib now
2012-07-26 20853, 2012
night199uk
yeah, thats why i'm migrating to tag lib so we have v2.4 support
2012-07-26 20807, 2012
night199uk
i mean there is nothing 'perfect' with ID3 tagging :-)
2012-07-26 20815, 2012
night199uk
thats what i've learnt from this process
2012-07-26 20827, 2012
night199uk
but i'm trying to get a good general case
2012-07-26 20837, 2012
luks
yeah, which is why I'd suggest to not use something else
2012-07-26 20854, 2012
luks
er, *to use
2012-07-26 20854, 2012
night199uk
?
2012-07-26 20810, 2012
luks
as I said, for most cases you have only one artist
2012-07-26 20815, 2012
luks
so you can safely insert that
2012-07-26 20841, 2012
luks
in the cases when you have multiple artist IDs, why not use the combined name until you look up the IDs?
2012-07-26 20809, 2012
luks
tags are really not reliable and picard is not the only musicbrainz-enabled tagging application
2012-07-26 20811, 2012
night199uk
well thats the recommendation from some folks. but then we end up with 2 artists called e.g. 'Chet Atkins & Mark Knopfler'
2012-07-26 20826, 2012
luks
and you need to handle the case when the user doesn't have the tags anyway
2012-07-26 20831, 2012
night199uk
well yeah. i have to start somewhere though :-)
2012-07-26 20859, 2012
night199uk
and yeah… but i'm trying to reduce the number of special cases
2012-07-26 20821, 2012
luks
well, by adding this, you are increasing the number :)
2012-07-26 20821, 2012
night199uk
if picard were willing to support this, then it'd be at least something i can point users to that complain about one of those two previous options
2012-07-26 20839, 2012
night199uk
nah. if you were willing to add this i can just point users to upgrade picard and retag :-)
2012-07-26 20823, 2012
ianmcorvidae
probably an addon is the way, then, I'd say
2012-07-26 20823, 2012
luks
can't scan the file and only insert the ids into the db after you have looked them up?
2012-07-26 20851, 2012
luks
I definitely do not want this in picard by default, because it solves a very specific problem that most poeple do not have
2012-07-26 20800, 2012
night199uk
luks: i will look at that over the longer term, but thats not the way its architected today
2012-07-26 20815, 2012
night199uk
i can understand your case
2012-07-26 20848, 2012
night199uk
okay, maybe i will look into an addon
2012-07-26 20830, 2012
night199uk
you think an add-on for this would be complicated though?
2012-07-26 20857, 2012
night199uk
i'm hoping we don't get too many complaints, i don't think users will notice if our scrapes work fine. but i just want to pre-empt the users that moan about it, i'm sure there will be some.
2012-07-26 20815, 2012
Leftmost joined the channel
2012-07-26 20805, 2012
luks
night199uk: I think the add-on should be pretty easy
2012-07-26 20859, 2012
kepstin-laptop joined the channel
2012-07-26 20828, 2012
night199uk
okay
2012-07-26 20832, 2012
night199uk
thanks for looking
2012-07-26 20838, 2012
night199uk
:-)
2012-07-26 20812, 2012
stefans joined the channel
2012-07-26 20805, 2012
plaintext
when looking up an mbid in the database, do I have to know what entity it is?
2012-07-26 20828, 2012
plaintext
or is there an easier way than lookin in all possible tables (artist, release, etc)?
2012-07-26 20844, 2012
ocharles
you have to know the entity type
2012-07-26 20813, 2012
plaintext
oh
2012-07-26 20853, 2012
plaintext
since we can't really tell by the splunk query, the script might have to look in all tables then
2012-07-26 20819, 2012
plaintext
or we can pass some additional info in the YAML file, telling the script which table to look in