From fc1c1768923a6ec3c3439a851b616095d60d81b3 Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Tue, 21 Oct 2008 15:29:54 +0000 Subject: allow playing audio cds without mediascanner (choice in mediaplayer menu). offer playing dvd only if disc in drive actually is a dvd --- lib/python/Components/Harddisk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index a5727cf7..f7c3a7cb 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -302,7 +302,7 @@ class HarddiskManager: continue partitions.append(partition) else: - self.cd = "/dev/"+blockdev + self.cd = blockdev except IOError: error = True return error, blacklisted, removable, is_cdrom, partitions -- cgit v1.2.3