X-Git-Url: https://diplodocus.org/git/flac-archive/blobdiff_plain/9d71de7286724a92e76c9e11cd2bccda618b4512..cbfd1b29112cd8ab5540c1019f2a400f4bf20410:/fa-flacd diff --git a/fa-flacd b/fa-flacd index d00496f..7e455bf 100755 --- a/fa-flacd +++ b/fa-flacd @@ -1,6 +1,6 @@ #! /usr/bin/env python2.4 -''' +""" =head1 NAME B - archive CDs to single FLAC files @@ -74,7 +74,7 @@ it under the same terms as Perl itself. =cut -''' #' # python-mode is sucks +""" import os import re @@ -119,8 +119,8 @@ def run_flac(infile, cue, outfile, tags): c(os.rename, outfile + '.flac-tmp', outfile + '.flac') def flac(dir, artist, album, discnum, tracknum, track_tags, disc_artist, tags): - '''Encode a single wav file to a single flac file, whether the wav and - flac files represent individual tracks or whole discs.''' + """Encode a single wav file to a single flac file, whether the wav and + flac files represent individual tracks or whole discs.""" (artist, album) = [x.replace('/', '_') for x in (artist, album)] @@ -207,8 +207,8 @@ def flac(dir, artist, album, discnum, tracknum, track_tags, disc_artist, tags): # The master process def get_tags(fn): - '''Return the ARTIST, ALBUM, and DATE followed by a list of all the - lines in the file FN.''' + """Return the ARTIST, ALBUM, and DATE followed by a list of all the + lines in the file FN.""" artist = album = discnum = None tags = []