there seems to be an extremely long wait time in between puid lookups
what's it doing?
MrQwerty` joined the channel
FauxFaux
Jugdish: Looking up the pweeds?
:)
Jugdish
hmm
rjmunro has quit
i don't see why it should take a full minute to look up one puid
FauxFaux
It doesn't, in my experience, maybe the server is busy?
Jugdish
could be
MrQwerty has quit
MrQwerty joined the channel
MrQwerty` has quit
luks: a question about how puid-lookup is done...once a release is pulled from the server and brought into picard, does it bring in all the puids for that release? and does this mean the server does not need to be accessed again while matching up the individual tracks in that release?
i'll admit i don't fully understand the details of puid's but once you have a local copy a release's info including all its puid's, does the server really need to be queried again if any of those puid's matches a file?
luks
nope, this is a good idea
but still, that will eliminate only the last step
Jugdish
i'm just trying to think of a way of decreasing the number of accesses to the servers
luks
i'll make it download all puids when downloading a release and first compare to already loaded releases
Jugdish
:)
UserErr0r has quit
jkr has left the channel
Kilu joined the channel
Kilu
luks, would you consider it smart to install the alpha picard over the earlier dev versions?
luks
it shouldn't cause any problems
Kilu
excellent
how about installing over the old 072?
luks
there will be problem with uninstalling 0.7.2 if you want to have them both
overwriting should be ok
Jugdish
i've noticed that when you delete a release on the right-hand pane it always jumps up to the top of the list, which is kinda weird
Kilu
there is no need for me to keep both, so hooray
bogdanb joined the channel
rpedro__
rpedro__ is now known as rpedro
Kilu
is it possible to tell picard not to write to some tagfield at all, for example, albumartist?
luks
Kilu: you can unset it using tagger script
enable scripting and put $unset(albumartist) there
Kilu
hooray
I suck at scripting, so I didn't even dare to try
:D
luks
:)
rpedro has quit
Kilu
hmmm
UserErr0r joined the channel
UserErr0r
whatup
Kilu
looks like the unset also disables the tag from the rename strings
luks
ah
that will need some tricks then, '$set(_albumartist,%albumartist%) $unset(albumartist)' and use %_albumartist% in the naming format
(I hope that will work)
Kilu
x.x
looks scary
zout
zout is now known as zout_away
Jugdi5h joined the channel
Kilu
but seems to work okay :)
bogdanb
sorry for spamming the wiki, lukas :)
luks
no problem :)
Jugdish has quit
Jugdi5h
Jugdi5h is now known as Jugdish
rjmunro joined the channel
catgroove
set(unset:set)
:P
Kilu 's head explodes
sorry?
I was just jokinmg
Kilu
booooooooooooooooooooom
catgroove
I don't know any code
Kilu
:p
Muz_ has quit
warp has quit
Muz__ joined the channel
warp joined the channel
catgroove
luks?
her is the other bug: error in QTCORE4.dll
bogdanb
lukas, I can't find the info for how tagger script works; I rememeber I saw a page once, but I can only find the PicardQt/Scripting. When is it applied? I tried to define $if(%date%,$set(year,$left(%date%,4))) and use it in the dir name as %year% but it doesn't work.
Kilu
I think they are applied when the album is loaded from the database. if you change the script after, you have to refresh the album. if that's what you meant :D
bogdanb
well, it doesn't work in the "test tags" example, at least
hmm, let me see
luks
$if(%date%,$set(year,$left(%date%,4))) is not very safe if you want it only for file renaming
this way it will write tag YEAR to ogg or flac files
hmm, I wonder if it actually works without any instrument or vocal type
catgroove
how do I tell it to put the %artist% into the composer id-field *if* there is a 'perforer* ar?
$if(set something)
if not erh.. something
luks
I'm afraid this is not possible right now
catgroove
oh
erh.. shouldn't it be?
I mean with the code there...
luks
because perfomers can be %performer%, %performer:orchestra%, ...
catgroove
no it's just a 'perfrmer' type ar
luks
I know, but in picard it uses also instruments/vocals
catgroove
then if2(%performer%,%performer:orcestra,%performer:vocalfuu% etc%)?
luks
aaah
there is a separate AR type for simple 'performed by'
catgroove
yes there is
:)
luks
I didn't know
catgroove
heh
luks
I think picard doesn't even use that
bogdanb
luks: that's what I mean about the tagger script, I'm not sure how it works. Can I have variables that I use as sub-expressions? (But that are not automatically used for something else, as years seems to be.) And can I use newlines and indentations? I have some big lisp-like expressions for file naming...
catgroove
nope, I tried it
bogdanb
and my biggest pet-peeve: can I find out the year of the first release, for remasters/re-releases that have the necessary AR?
luks
bogdanb: you can use variables that starts with _
catgroove
also with that inplace, I'd want the script to put the MBartist in the composer-id tagfield (in the file) IF there is a "performed" ar
luks
but it's usually better to unset them when you don't need them
bogdanb
k, I can do that
luks
and the script is whitespace sensitive, but in most places it doesn't matter
catgroove
so then all my mozart files have 'mozart' in its 'composer' field, but thetrack and tag says 'whatever orchestra' or somesuch
well *i* don't actually wan it.. I think, but I am certain others wantr that
luks
I need to figure out how to handle all the performer types better
catgroove
okidoki
could do something like, %performer:vocal:all% or (%performer:vocal%) then %performer:vocal:soprano%
hmm..
foodtime
Yakin joined the channel
Yakin
moin! are there any tagger developers in here?
luks hides :)
bogdanb has quit
im looking for a good way to generate PUIDS with libofa and without using lame or some other external programms. Any experiences?
luks
you need something to decode the audio files
rjmunro has quit
so the options depend on your target OS, whether it's open-source or not, etc.
Yakin
yes I played around with libmad but decodings seems to be slow on mp3
Linux- GPL
luks
you need only the first 123 seconds from the file
picardqt on linux uses ffmpeg
it has quite simple API and codecs for most of formats
err, 135 seconds
Yakin
didn the time you need to decode depends on the content?
luks
well, yes
but there isn't many songs with long leading silence
Yakin
are 135 seconds the minimum you need?
luks
130
(I think)
Yakin
To handle the time you need in the tagger is quite unergonomic.
rpedro joined the channel
luks
unergonomic?
Yakin
then with TRM generation, the lib decided when there was enough data to calc the print.
The ofa lib did not I think
luks
no, TRM uses only 30 seconds, nothing else
even if it's 30 seconds of silence
rpedro has quit
Yakin
Shure? For me, it looks like the TRM algorithm take as much data as it needs for the fingerprint