Slashdot Mirror


Cultured Perl: Fun with MP3 and Perl, Part 2

Ted writes "I continues to look at manipulating and guessing MP3 tags with Perl, FreeDB, and various CPAN models via my autotag.pl application. Writing autotag.pl was grueling but fun. I used fuzzy string matching, FreeDB searches, ID3 versions 1 and 2, and lots of text-mode user interactions. It all came together in an application that I tested thoroughly over the course of a month. Info and Slashdot comments about Part One can be seen here, which was posted in December."

4 of 55 comments (clear)

  1. I swear.... by Anonymous Coward · · Score: 0, Funny

    if the next news item refers to undersea stuff (third in a row), I swear....

  2. another rite of passage in perl. by j_d · · Score: 2, Funny

    MP3 renaming scripts now rank right up there with the image/ comic downloader and the templating system. Every perl programmer thinks, at some time, "I could get the funnies this way" or "this would be good to use as a templater", and now we're seeing a lot of scripts for MP3 renaming. It's like there's a perl hive-mind or something where we all think "yeah! social software networks in perl! or, yeah! tiny webservers in perl! wooo"

  3. Re:Mmm Perl by Just+Some+Guy · · Score: 4, Funny
    there's no reason for the gui not to make the correction if it knows it's being dropped in a terminal

    In other words, you wish that all combinations of X apps and terminal programs worked like kwin plus konsole? Whenever I drag an icon into a konsole window, I get a context menu to paste, cd, cp, ln, or mv the specified path into my current shell directory.

    In fact, the quickest way I know of to copy a single MP3 from home to the office (assuming I'm currently using X) is to:

    1. Open Konqueror and select the bookmark for "sftp://myhomeserver/usr/share/media/music/singles ",
    2. Type "cd /tmp" (or wherever) in my konsole window, and
    3. Drag the desired icon into that same konsole window.

    Within a couple of minutes, I have the file in my local /tmp directory. Now that is how GUIs and CLIs are supposed to work together.

    Oh, if you're my boss: just kidding ha! ha!

    --
    Dewey, what part of this looks like authorities should be involved?
  4. Re:Mmm Perl by Smallpond · · Score: 2, Funny

    I think in Linear A, you insensitive clod.

    it actually looks a lot like Perl:
    sample

    - !//!!1\\\!!!