diff options
author | Michele Calgaro <[email protected]> | 2020-05-30 14:52:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-05-30 16:57:25 +0900 |
commit | cbbf46ebb6287b34d0bca3cb06796e01183562ed (patch) | |
tree | 24787ce212db7f388a366643391ede4f6b684be1 /tdeioslave/media/mediamanager/tdehardwarebackend.cpp | |
parent | ec4f0efe77766b2a242787c70a98a560fd266a44 (diff) | |
download | tdebase-cbbf46ebb6287b34d0bca3cb06796e01183562ed.tar.gz tdebase-cbbf46ebb6287b34d0bca3cb06796e01183562ed.zip |
Improved support for bluray discs.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 32381684a2eecaaa43616d5bc8ab51780d42e336)
Diffstat (limited to 'tdeioslave/media/mediamanager/tdehardwarebackend.cpp')
-rw-r--r-- | tdeioslave/media/mediamanager/tdehardwarebackend.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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); |