aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-11-17 10:01:47 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-11-17 10:01:47 +0100
commit083c49ace50d1aa702cf47785e0d38966f8e71a1 (patch)
tree28613fe4fefc15d7f75f5ef6742b6804d84eaed6 /lib/python
parent5bbb74ccef1fe4bd524a5cd6427d3c7b803fe82e (diff)
downloadenigma2-083c49ace50d1aa702cf47785e0d38966f8e71a1.tar.gz
enigma2-083c49ace50d1aa702cf47785e0d38966f8e71a1.zip
allow blanking DVD-RAM media. the burn tool however only writes disc-at-once.
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py b/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
index 162bf352..b88dbb3f 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/DVDToolbox.py
@@ -89,7 +89,7 @@ class DVDToolbox(Screen):
for line in mediuminfo.splitlines():
if line.find("Mounted Media:") > -1:
mediatype = line.rsplit(',',1)[1][1:]
- if mediatype.find("RW") > 0:
+ if mediatype.find("RW") > 0 or mediatype.find("RAM") > 0:
self.formattable = True
else:
self.formattable = False
@@ -186,7 +186,7 @@ class DVDformatTask(Task):
if line.startswith("- media is already formatted"):
self.error = self.ERROR_ALREADYFORMATTED
self.retryargs = [ "-force" ]
- if line.startswith("- media is not blank"):
+ if line.startswith("- media is not blank") or line.startswith(" -format=full to perform full (lengthy) reformat;"):
self.error = self.ERROR_ALREADYFORMATTED
self.retryargs = [ "-blank" ]
if line.startswith(":-( mounted media doesn't appear to be"):