Documentation updates

This commit is contained in:
Anna Rose 2011-06-16 17:09:31 -04:00 committed by Anna
parent fc5e5547a3
commit 1cb18a332e
6 changed files with 16 additions and 15 deletions

View File

@ -48,8 +48,7 @@ system('cdrecord', '-v -pad -audio', "speed=$cdspeed", "dev=$device", "$temp_dir
system("rm -rf $temp_dir");
# Copyright (c) 2005 John Wiggins
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or

View File

@ -304,8 +304,7 @@ sub get_number_of_tracks()
return pop @tracks;
}
# Copyright (c) 2004 - 2007 John Wiggins
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or

View File

@ -112,8 +112,6 @@ remove_tree $tempdir;
# Copyright (c) 2005 - 2010 John Wiggins
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or

4
cp2dap
View File

@ -14,8 +14,8 @@ $HELP_MSG = "# Copy files to DAP, converting flac to ogg v$VERSION\n\tusage: cop
use File::Path qw(make_path remove_tree);
use Cwd;
my $dest='/mnt/dap/MUSIC';
my $tmpdir='/tmp/copy_to_dap';
my $dest='/mnt/phone/music/';
my $tmpdir='/tmp/cp2dap/';

15
fixname
View File

@ -3,9 +3,9 @@
# File Name Fixer
# usage: fixname <files>
#
# Renames files to comply with pwiggi's arbitrary standard
# Renames files to comply with Anna's arbitrary standard
#
# This is pwiggi's standard:
# This is Anna's standard:
# 1) all letters are lowercase
# 2) Whitespace becomes underscore
# 3) Never more than one consecutive underscore
@ -14,6 +14,7 @@
#
# ChangeLog:
# 0.2.4: More robust stripping of special characters
# Added ability to read from stdin
# 0.2: Made everything more robust - better at multiple spaces and special
# characters now. Also now renumbering along with ds-audiotools
# 0.1.4: Added -o option, which prints to stdout instead of renaming the file
@ -37,9 +38,17 @@ foreach (@ARGV)
{
$toStdOut = true;
}
if (/^-i$/)
{
$fromStdIn = true;
}
}
@ARGV = grep(!/^-o$/, @ARGV) if ($toStdOut);
@ARGV = grep(!/^-i$/, @ARGV) if ($fromStdIn);
if ($fromStdIn) { @names = <STDIN>; }
else { @names = @ARGV; }
foreach (@ARGV)
{
@ -62,8 +71,6 @@ foreach (@ARGV)
}
# Copyright (c) 2004 - 2010 John Wiggins
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or

View File

@ -8,7 +8,7 @@
# -T: Tag names (not tag content) written to the metadata in all caps
#
# Adds Vorbiscomment data to ogg vorbis and flac files based on the filename.
# Files should be in Patrick's arbitrary file name standard, which is:
# Files should be in Anna's arbitrary file name standard, which is:
# artist/album/artist-tracknum-title.(ogg|flac|mp3)
#
# The top-level directory (artist) is optional. Filenames should contain no
@ -205,8 +205,6 @@ sub formatName
}
# Copyright (c) 2005 - 2010 John Wiggins
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or