mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Write track artist info if given.
This commit is contained in:
parent
8675115e5f
commit
d9b6b5c756
2 changed files with 4 additions and 0 deletions
|
@ -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, ',')
|
||||
|
|
|
@ -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, ',')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue