* 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:
Thomas Vander Stichele
2009-05-23 16:03:05 +00:00
parent 9710e3cc7c
commit 5f872bdaf8
6 changed files with 75 additions and 10 deletions

View File

@@ -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)