]> diplodocus.org Git - flac-archive/commit
(flac2mp3): Don't need to int(track) now that the loop in main does it.
authorepg <>
Thu, 19 Oct 2006 07:13:18 +0000 (07:13 +0000)
committerepg <>
Thu, 19 Oct 2006 07:13:18 +0000 (07:13 +0000)
commit6428ad817c863f36c00b24a8052cfc7343674d10
treed57c0d433082e3cda85372e139c82c23c5ca26f4
parent05ccb9e6302c84c623781de8345dfd3d607ff9c8
(flac2mp3): Don't need to int(track) now that the loop in main does it.

(Tags): New class that should be moved somewhere shared so fa-flacd
and others can use it.  Simplifies keeping track of per-disc and
per-track tags.

(get_tags): Build and return a Tags object instead of mucking about
with different tags in inconsistent (and broken!) ways.

(main): Oy, main needs to be split up.  Change the main loop to use
the Tags object, fix discnum-is-a-str-not-int bug, make track always
an int here (previously was sometimes str), correctly handle multiple
tracks per flac, and append PART to TITLE if present.
flac2mp3