diff --git a/ChangeLog b/ChangeLog index 67efb22..bb57c78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-12-06 Thomas Vander Stichele + + * morituri/rip/image.py: + Use getRealPath when retagging an image, fixes bug where it + doesn't find the files relative to the cuepath. + 2012-12-06 Thomas Vander Stichele * morituri/common/program.py: diff --git a/morituri/rip/image.py b/morituri/rip/image.py index 20d4507..681ed6b 100644 --- a/morituri/rip/image.py +++ b/morituri/rip/image.py @@ -124,10 +124,12 @@ class Retag(logcommand.LogCommand): prog.cuePath = arg prog.result = result.RipResult() for track in cueImage.table.tracks: - path = track.indexes[1].path + path = cueImage.getRealPath(track.indexes[1].path) + taglist = prog.getTagList(track.number) - self.debug('possibly retagging %r with taglist %r', - path, taglist) + self.debug( + 'possibly retagging %r from cue path %r with taglist %r', + path, arg, taglist) t = encode.SafeRetagTask(path, taglist) runner.run(t) path = os.path.basename(path)