Write track artist info if given.

This commit is contained in:
Sjoerd Mullender 1995-03-01 10:03:08 +00:00
parent 8675115e5f
commit d9b6b5c756
2 changed files with 4 additions and 0 deletions

View file

@ -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, ',')

View file

@ -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, ',')