XP is just a number | |
PerlMonks |
Automated music retrieval scriptby phildog (Novice) |
on Apr 24, 2003 at 16:04 UTC ( [id://252938]=perlquestion: print w/replies, xml ) | Need Help?? |
phildog has asked for the wisdom of the Perl Monks concerning the following question:
I'm looking to write a perl script (probably on linux) to automatically retrieve entire albums in mp3 format and save them to a disk. Specifically, I want to do the following:
1. ssh to my linux box running at home Bingo, when I come home later I have a new folder in my /albums directory containing all the songs on the album encoded in 128 bitrate. I may want to have the script do some file renaming magic to make things consistent, but that is not necessary for version 1.0 and you get the idea. This, to me, seems like a good job for perl. - what file sharing software to use? I've poked around a bit and edonkey seems like a good choice because a)it runs on linux and b)it has a published API (they have a java, and other, front-ends that connect with client software running wherever you like). Keep in mind I'd like to do some "fancy" stuff with search results--like get the version of the song "Hey Ladies" that is both encoded at 128 bitrate and being shared by the greatest number of users. - how to get the song names? Net::CDDBScan? lwp get on Amazon page? something else? Yes, if it makes you feel better I will do this only for albums I have purchased :-) Any suggestions on how best to go about this? Better yet, did you already do this? Phil
Back to
Seekers of Perl Wisdom
|
|