* morituri/rip/Makefile.am:
* morituri/rip/main.py: * morituri/rip/drive.py (added): Add 'rip drive list' command to list available drives. * morituri/common/accurip.py: Add force. * morituri/rip/cd.py: Add --output-directory argument.
This commit is contained in:
@@ -43,7 +43,10 @@ class AccuCache(log.Loggable):
|
||||
self.debug("Retrieving AccurateRip URL %s", url)
|
||||
path = self._getPath(url)
|
||||
self.debug("Cached path: %s", path)
|
||||
if not os.path.exists(path):
|
||||
if force:
|
||||
self.debug("forced to download")
|
||||
self.download(url)
|
||||
elif not os.path.exists(path):
|
||||
self.debug("%s does not exist, downloading", path)
|
||||
self.download(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user