From: hackbard Date: Thu, 17 Apr 2003 15:43:26 +0000 (+0000) Subject: added TAG presentation X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=9becc7d36783de17f6a8c08b9f0ea4d61b23db52;p=my-code%2Fmp3db.git added TAG presentation --- diff --git a/main.shtml b/main.shtml index 43c0c17..fd7c5dd 100644 --- a/main.shtml +++ b/main.shtml @@ -78,7 +78,7 @@ if [ ! -z \"$QUERY_STRING\" ]; then echo \"\"; for dir_song in $mp3_srcdir/$found_artists/*; do mp3=`basename $dir_song`; - echo \"\"; + echo \"\"; done; echo \"
$mp3`du -h $mp3_srcdir/$found_artists/$mp3 | awk '{ print $1 }'`play ($local_player_ip)
$mp3`du -h $mp3_srcdir/$found_artists/$mp3 | awk '{ print $1 }'`play ($local_player_ip)`readtag.sh $mp3_srcdir/$found_artists/$mp3`
\"; done; @@ -90,7 +90,7 @@ if [ ! -z \"$QUERY_STRING\" ]; then if [ ! -z \"`echo $single_song | grep $song`\" ]; then dir=`echo $single_song | awk -F/ '{ print $(NF-1) }'` s_name=`echo $single_song | awk -F/ '{ print $(NF) }'` - echo \"$s_name`du -h $mp3_srcdir/$dir/$s_name | awk '{ print $1 }'`play ($local_player_ip)\"; + echo \"$s_name`du -h $mp3_srcdir/$dir/$s_name | awk '{ print $1 }'`play ($local_player_ip)`readtag.sh $mp3_srcdir/$dir/$s_name`\"; fi; done; echo \"\"; @@ -105,7 +105,7 @@ if [ ! -z \"$QUERY_STRING\" ]; then for dir_song in $mp3_srcdir/$search_path/*; do mp3=`basename $dir_song`; if [ ! -z \"`echo $mp3 | grep $song`\" ]; then - echo \"$mp3`du -h $mp3_srcdir/$search_path/$mp3 | awk '{ print $1 }'`play ($local_player_ip)\"; + echo \"$mp3`du -h $mp3_srcdir/$search_path/$mp3 | awk '{ print $1 }'`play ($local_player_ip)`readtag.sh $mp3_srcdir/$search_path/$mp3`\"; fi ; done; done;