diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 03:00:32 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 03:38:46 -0500 |
commit | ef4d3660605efc7f1328d4533b0f4bfb6c1107e2 (patch) | |
tree | e4377fb129a899e65aaaf421f8c97098aecaedd5 /bin/write_playlists.inc | |
parent | 8a750c3e875d590d351c3042570a134fcdf03e5d (diff) | |
download | ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.tar.gz ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.tar.bz2 ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.zip |
Cosmetics: death to tabs
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
Diffstat (limited to 'bin/write_playlists.inc')
-rw-r--r-- | bin/write_playlists.inc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/bin/write_playlists.inc b/bin/write_playlists.inc index 4342d20a..0fed1643 100644 --- a/bin/write_playlists.inc +++ b/bin/write_playlists.inc @@ -1,5 +1,5 @@ <?php -/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ +/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ /** * * LICENSE: GNU General Public License, version 2 (GPLv2) @@ -29,28 +29,28 @@ require_once '../lib/init.php'; if (!$GLOBALS['argv']['1'] || $GLOBALS['argv']['1'] == '-h') { usage(); } else { - $dirname = $GLOBALS['argv']['1']; - $type = $GLOBALS['argv']['2']; + $dirname = $GLOBALS['argv']['1']; + $type = $GLOBALS['argv']['2']; } // Make sure the output dir is valid and writeable if (!is_writeable($dirname)) { - printf (T_('Error: Directory %s not writeable'), $dirname); - echo "\n"; + printf (T_('Error: Directory %s not writeable'), $dirname); + echo "\n"; } // Switch on the type of playlist dump we want to do // here switch ($type) { - case 'playlists': + case 'playlists': - break; - case 'artist': + break; + case 'artist': - break; - default: + break; + default: - break; + break; } // end type switch /* FUNCTIONS */ @@ -64,13 +64,13 @@ $desc5 = T_("Dumps all Artists as individual playlists"); $string = "write_playlists.php.inc [-h] <DIRNAME> <TYPE> - $desc1 - $desc2 - default $desc3 - playlists $desc4 - artist $desc5\n\n"; + $desc1 + $desc2 + default $desc3 + playlists $desc4 + artist $desc5\n\n"; - exit($string); + exit($string); } // useage ?> |