From d9b6b5c756aaf9c5ab78a5e4cf1855a19215915c Mon Sep 17 00:00:00 2001 From: Sjoerd Mullender Date: Wed, 1 Mar 1995 10:03:08 +0000 Subject: Write track artist info if given. --- Lib/irix5/cddb.py | 2 ++ Lib/plat-irix5/cddb.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Lib/irix5/cddb.py b/Lib/irix5/cddb.py index 53a3981..57cf3c6 100755 --- a/Lib/irix5/cddb.py +++ b/Lib/irix5/cddb.py @@ -192,6 +192,8 @@ class Cddb: f.write('album.notes:\t' + note + '\n') prevpref = None for i in range(1, len(self.track)): + if self.trackartist[i]: + f.write('track'+`i`+'.artist:\t'+self.trackartist[i]+'\n') track = self.track[i] try: off = string.index(track, ',') diff --git a/Lib/plat-irix5/cddb.py b/Lib/plat-irix5/cddb.py index 53a3981..57cf3c6 100755 --- a/Lib/plat-irix5/cddb.py +++ b/Lib/plat-irix5/cddb.py @@ -192,6 +192,8 @@ class Cddb: f.write('album.notes:\t' + note + '\n') prevpref = None for i in range(1, len(self.track)): + if self.trackartist[i]: + f.write('track'+`i`+'.artist:\t'+self.trackartist[i]+'\n') track = self.track[i] try: off = string.index(track, ',') -- cgit v0.12