r3/R3Tagger — Issue #3: OSError: [Errno 2] No such file or directory
Author: Havvy
Created: 2011-12-15 05:44:57+00:00
State: open

havvy-chakra% ./control.py -r /home/havvy/music
/home/havvy/music/Susanne Vega - - Tom's Diner.mp3
/home/havvy/music/Franz Ferdinand - 17 - Take Me Out.mp3
/home/havvy/music/Green Day - 4 - ¡Viva La Gloria!.mp3
/home/havvy/music/30 Seconds To Mars - 2 - The Kill.mp3
/home/havvy/music/Cascada - 01 - Everytime We Touch.mp3
/home/havvy/music/LMFAO Ft. Lauren Bennett & Goon Rock - - Party Rock Anthem (Original Mix).mp3
/home/havvy/music/They Might Be Giants - 13/22 - Tippecanoe and Tyler Too.mp3
Traceback (most recent call last):
File "./control.py", line 199, in
main(args.path, args.recurse)
File "./control.py", line 189, in main
rename_tracks()))))), recurse).send(root)
File "./control.py", line 46, in collect
target.send([os.path.join(path, x) for x in files])
File "./control.py", line 37, in clean_compat
target.send(files)
File "./control.py", line 61, in build_album
target.send(classes.Album(res))
File "./control.py", line 146, in populate_tags
target.send(album)
File "./control.py", line 165, in find_art
target.send(album)
File "./control.py", line 154, in save_album
target.send(album)
File "./control.py", line 172, in rename_tracks
album.rename_tracks()
File "/home/havvy/Downloads/r3Tagger/classes.py", line 62, in rename_tracks
item.rename()
File "/home/havvy/Downloads/r3Tagger/classes.py", line 131, in rename
os.rename(str(self.path), name)
OSError: [Errno 2] No such file or directory

To be honest, I was surprised when the output of running it again twice resulted in separate output (and bugs).