Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Using Perl to attain musical (and marital) bliss

by Guildenstern (Deacon)
on Dec 01, 2000 at 21:11 UTC ( [id://44404]=CUFP: print w/replies, xml ) Need Help??

I, like a large number of people, have been involved recently in converting my CD collection to MP3. Needless to say, recording all 600+ CDs I own was a daunting task, but I've been able to use Perl to leverage the end product in several ways that I hadn't thought of at the beginning of the project.

Originally, I wanted to take the all song listing dump that my recorder software produces and generate a slew of SQl statements so I could cram all my music information into a mySQL database. From there, I wanted to be able to use Apache to stream the files so I could listen from any omputer in my home network. I still think it's a good idea, but it's steadily falling behind due to the demands of Real Life.
I was still able to use the output in a couple of different ways, though. I whipped up a quick and ugly script that would simply give me an alphabetical listing of all artists and albums, which let me arrange my physical collection nicely. Now, before somebody accuses me of being anal, this arrangement has some bonuses. First, it lets me see if someone has borrowed a CD without telling me. Second, it helps keep track of what CDs are on loan (at least until I get my Tk/CueCat/DBI app working :] ).
I must admit that the best part of this project was when my wife wanted me to tell her all of the songs I had so she could have me create a few mixes. In a couple of minutes I had a script that would once again parse the library dump and give me every song title with artist and album. It took longer to print the 110 pages than it did to write the script. My wife was much impressed and I haven't heard as much complaining about the time I spend coding while at home anymore.

Guildenstern
Negaterd character class uber alles!
  • Comment on Using Perl to attain musical (and marital) bliss

Replies are listed 'Best First'.
Re: Using Perl to attain musical (and marital) bliss
by gaudior (Pilgrim) on Dec 06, 2000 at 21:36 UTC
    Cool!, indeed. When are the scripts going to appear? :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://44404]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found