Jump to content

mward

Members
  • Content Count

    1
  • Joined

  • Last visited

About mward

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Here's a perl script which sits in the background waiting for new mp3 files to appear in the various plugtemp places. When it finds one, it waits for it to stop growing and then copies it to $HOME/pandora with a name based on the date and time. Now all you need to do is work out the artist and title :D #!/usr/local/bin/perl # Look for mp3 files in $HOME/tmp/plugtmp* # use strict; use warnings; use File::Copy; $SIG{CHLD} = 'IGNORE'; # Automatically reap terminated child processes my $HOME = $ENV{'HOME'} || $ENV{'LOGDIR'} || (getpwuid($<))[7] || die "You'r
×
×
  • Create New...