* morituri/common/encode.py:

* morituri/rip/image.py:
	  Provide status on the retagging.
This commit is contained in:
Thomas Vander Stichele
2010-04-14 22:01:45 +00:00
parent 710a9ebb35
commit c68848026a
3 changed files with 15 additions and 1 deletions

View File

@@ -125,7 +125,14 @@ class Retag(logcommand.LogCommand):
taglist = prog.getTagList(track.number)
self.debug('possibly retagging %r with taglist %r',
path, taglist)
runner.run(encode.SafeRetagTask(path, taglist))
t = encode.SafeRetagTask(path, taglist)
runner.run(t)
path = os.path.basename(path)
if t.changed:
print 'Retagged %s' % path
else:
print '%s already tagged correctly' % path
print
class Verify(logcommand.LogCommand):
summary = "verify image"