Commits

adrian.sampson  committed 476e487

move() now copies as a fallback

  • Participants
  • Parent commits 0b8debd

Comments (0)

Files changed (1)

File beets/library.py

-import sqlite3, os, sys, operator, re
+import sqlite3, os, sys, operator, re, shutil
 from beets.tag import MediaFile, FileTypeError
 from string import Template
 
                 raise Exception('skipping move')
             os.rename(self.path, dest)
         except: # copy
-            FixMe
+            shutil.copy(self.path, dest)
             
         # Either copying or moving succeeded, so update the stored path.
         self.path = dest