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."

1 of 55 comments (clear)

  1. 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?