From cbbf46ebb6287b34d0bca3cb06796e01183562ed Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 30 May 2020 14:52:26 +0900 Subject: Improved support for bluray discs. Signed-off-by: Michele Calgaro (cherry picked from commit 32381684a2eecaaa43616d5bc8ab51780d42e336) --- tdeioslave/media/mediamanager/tdehardwarebackend.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tdeioslave/media/mediamanager/tdehardwarebackend.cpp') diff --git a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp index 8869095d1..3dadda275 100644 --- a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp +++ b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp @@ -656,34 +656,34 @@ void TDEBackend::setVolumeProperties(Medium* medium) if (sdevice->isDiskOfType(TDEDiskDeviceType::BDROM)) { mimeType = "media/bluray" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - mimeType = "media/blankbd"; + mimeType = "media/blankbluray"; medium->unmountableState(""); - diskLabel = i18n("Blank BD-ROM"); + diskLabel = i18n("Blank BLURAY-ROM"); } } if (sdevice->isDiskOfType(TDEDiskDeviceType::BDR)) { mimeType = "media/bluray" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - mimeType = "media/blankbd"; + mimeType = "media/blankbluray"; medium->unmountableState(""); - diskLabel = i18n("Blank BD-R"); + diskLabel = i18n("Blank BLURAY-R"); } } if (sdevice->isDiskOfType(TDEDiskDeviceType::BDRW)) { mimeType = "media/bluray" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - mimeType = "media/blankbd"; + mimeType = "media/blankbluray"; medium->unmountableState(""); - diskLabel = i18n("Blank BD-RW"); + diskLabel = i18n("Blank BLURAY-RW"); } } if (sdevice->isDiskOfType(TDEDiskDeviceType::HDDVDROM)) { mimeType = "media/bluray" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - mimeType = "media/blankhddvd"; + mimeType = "media/blankbluray"; medium->unmountableState(""); diskLabel = i18n("Blank HDDVD-ROM"); } @@ -692,7 +692,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) if (sdevice->isDiskOfType(TDEDiskDeviceType::HDDVDR)) { mimeType = "media/bluray" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - mimeType = "media/blankhddvd"; + mimeType = "media/blankbluray"; medium->unmountableState(""); diskLabel = i18n("Blank HDDVD-R"); } @@ -701,7 +701,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) if (sdevice->isDiskOfType(TDEDiskDeviceType::HDDVDRW)) { mimeType = "media/bluray" + MOUNT_SUFFIX; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Blank)) { - mimeType = "media/blankhddvd"; + mimeType = "media/blankbluray"; medium->unmountableState(""); diskLabel = i18n("Blank HDDVD-RW"); } @@ -720,7 +720,7 @@ void TDEBackend::setVolumeProperties(Medium* medium) mimeType = "media/dvdvideo"; } if (sdevice->isDiskOfType(TDEDiskDeviceType::BDVideo)) { - mimeType = "media/bdvideo"; + mimeType = "media/blurayvideo"; } medium->setIconName(TQString::null); -- cgit v1.2.1