From 7dbace84e79f3d0ec84faea17baf7552478e0b6c Mon Sep 17 00:00:00 2001 From: mdb Date: Sun, 3 Mar 2002 05:54:33 +0000 Subject: [PATCH] Better error reporting. git-svn-id: https://samskivert.googlecode.com/svn/trunk@620 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- projects/robodj/bin/setid3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/robodj/bin/setid3 b/projects/robodj/bin/setid3 index 633f2223..518d9e77 100755 --- a/projects/robodj/bin/setid3 +++ b/projects/robodj/bin/setid3 @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# $Id: setid3,v 1.2 2002/03/03 05:46:54 mdb Exp $ +# $Id: setid3,v 1.3 2002/03/03 05:54:33 mdb Exp $ # # A script for setting the id3 tags of the MP3 files in the RoboDJ # repository. The data from the database must be dumped into two files: @@ -50,7 +50,7 @@ while () { "--artist", "$artist", "--album", "$album", "--track", "$position", "$location"); - warn "\nFailed to set tag on $songid\n" unless (system(@cmd) == 0); + warn "\nFailed to set tag on $location\n" unless (system(@cmd) == 0); if ($counter++ % 100 == 99) { print ".";