-
kyleboon
damn... 1 GB of dead ram
-
that blows
-
ruaok
2GB of dead ram.
-
kyleboon
thats even worse
-
there is a conspiracy against you guys
-
verus
but wont they resend?
-
ruaok
they better.
-
They have a 1 year garantee on their parts.
-
verus
neat
-
icepick
icepick is now known as icepick-away
-
icepick-away
icepick-away is now known as icepick
-
RJ
-
rj_
-
RJ has quit
-
rj_ is now known as rj
-
rj
:/
-
richard_
-
rj
k
-
dont use my nick please.
-
rj has left the channel
-
verus
icepick are you here
-
richard_
cheeky
-
richard_ is now known as RJ^idle
-
icepick
hi
-
verus: yes i am
-
verus
hi!
-
i was wondering if it would be easy to take the amazon cd cover code and make it standalone kind of
-
for someone who hasnt ever coded*
-
icepick
really easy
-
in fact it's 9/10s of the way there
-
you can move the 'amazon' directory to /usr/lib/python2.2/site-packages/ and call it from any python program you want
-
verus
really?
-
hehe cool
-
icepick
python is cool like that
-
RJ^idle has quit
-
kyleboon has quit
-
dh003i
-
dh003i has quit
-
verus
hmm it isnt working for me =[
-
i suck
-
icepick
verus: i'm going out for a 1/2 hour...
-
I can answer q's when i get back
-
verus
bye icepick
-
icepick
icepick is now known as icepick-away
-
icepick-away
icepick-away is now known as icepick
-
verus
=]
-
icepick
hi
-
so... what's your error message?
-
verus
welcome back
-
well the error message doesnt exist
-
i just get blankness
-
even -d still blank
-
icepick
ok... what command are you running
-
verus
python -d blah.py
-
i stole code from musicfile.py
-
icepick
so it's running and exiting ... it thinks everything worked out fine
-
verus
ya
-
but im not getting a cd cover
-
icepick
msg me part or all of your blah.py file
-
verus
okay
-
get it?
-
icepick
yes
-
1) you have to add a line so that your function getCoverImage get's called
-
right now it's not
-
in python we add:
-
if __name__ == '__main__':
-
getCoverImage()
-
add that to the bottom of you file..
-
then... you'll find more problems
-
verus
ya it wants arguments
-
icepick
ok...
-
'self' is an arg that if this was in a object 'self' would ref the object... in this case we are not
-
so you can remove that
-
verus
okay neat
-
it worked but now empty again
-
no errors
-
icepick
and then ... "self.meta" is a var that does exist any more
-
HA!
-
you just found the bug that has stoped us from getting covers to stuff
-
note the #debug
-
verus
really!?
-
icepick
and then "return None"
-
I put that there to speed things up
-
so delete the "return None"
-
verus
should i just do this in the tune-taggers src tree
-
rather then play with my script
-
what i wanted was to download album covers into the directory of the mp3s
-
so i could have album.jpg in each album thing =/
-
icepick
you should name it <<albumid>>.jpg
-
but if you remove those lines in the tunetagger src tree (or cvs up) then the covers will be embedded in the files
-
verus
NameError: global name 'self' is not defined
-
wow =]
-
thats kinda useless right now though
-
since xmms wont do it, and it would just make bigger files
-
icepick
I can't do everythign :)
-
verus
im going to have to retag my whole collection huh
-
icepick
why don't you write a new musicplayer that will do that
-
verus: no...
-
verus
well i want the images
-
icepick
you could learn how to do that in python pretty quickly
-
you were 50% of the way there
-
verus
oh no!
-
i took out the #debug and the return none
-
and its crashing
-
global name amazon is not defined
-
icepick
you mean the error you told me before
-
verus
hmm
-
icepick
add "import amazon" to the top of the file...
-
oh
-
you have that
-
verus
o yea its commented
-
i was wondering why
-
okay i think it is doing stuff!
-
said couldnt find cover art
-
thats progress
-
icepick
msg me you code again
-
verus
my code im not working on it
-
im working on the one in musicfile.py
-
but i do want to work on mine now
-
thu
-
hey
-
verus
hi thu =]
-
icepick
change lines like "self.meta['coverImage']" to be coverImage
-
-
verus
omg lol
-
icepick
look up the file() func in the build-in functions (or look in the index)
-
thu
is there any form of mb client for linux?
-
I just found out about musicbrainz and it looks really cool (provided that it actually works)
-
icepick
thu: yes... mb is mostly linux
-
there are perl/python/ruby bindings if you arn't a c hacker
-
thu
what about an actual client?
-
I'm excited about the music fingerprinting idea
-
I have a ton of badly named mp3s with little or no id3s
-
I wonder if mb would help
-
verus
it helped me
-
same situation as you
-
thu
did you use the windows client?
-
icepick
ahh... you are looking for a linux version of the tagger
-
thu
right
-
icepick
you've come to the right place
-
thu
:)
-
verus
nope thu
-
icepick
-
you need to know how to get stuff from cvs
-
I'm working on a more final version
-
thu
ok
-
I'll try to download it and give it a try
-
do I need wxGTK and wxPython for it?
-
hmm.. seems not
-
verus
thu: its gonna be hard to get it to work!