summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-05-30 14:52:26 +0900
committerMichele Calgaro <[email protected]>2020-05-30 16:57:25 +0900
commitcbbf46ebb6287b34d0bca3cb06796e01183562ed (patch)
tree24787ce212db7f388a366643391ede4f6b684be1 /tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
parentec4f0efe77766b2a242787c70a98a560fd266a44 (diff)
downloadtdebase-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/tdefile-plugin/tdefilemediaplugin.cpp')
-rw-r--r--tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp44
1 files changed, 25 insertions, 19 deletions
diff --git a/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp b/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
index 3d6c16cf3..145cf502a 100644
--- a/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
+++ b/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
@@ -49,48 +49,54 @@ KFileMediaPlugin::KFileMediaPlugin(TQObject *parent, const char *name,
: KFilePlugin(parent, name, args)
{
addMimeType( "media/audiocd" );
- addMimeType( "media/hdd_mounted" );
- addMimeType( "media/hdd_mounted_decrypted" );
+ addMimeType( "media/blankbluray" );
addMimeType( "media/blankcd" );
- addMimeType( "media/hdd_unmounted" );
- addMimeType( "media/hdd_unmounted_decrypted" );
addMimeType( "media/blankdvd" );
+ addMimeType( "media/bluray_mounted" );
+ addMimeType( "media/bluray_mounted_decrypted" );
+ addMimeType( "media/bluray_unmounted" );
+ addMimeType( "media/bluray_unmounted_decrypted" );
addMimeType( "media/cdrom_mounted" );
addMimeType( "media/cdrom_mounted_decrypted" );
addMimeType( "media/cdrom_unmounted" );
addMimeType( "media/cdrom_unmounted_decrypted" );
addMimeType( "media/cd-r_mounted" );
addMimeType( "media/cd-r_mounted_decrypted" );
- addMimeType( "media/cd-rw_mounted" );
- addMimeType( "media/cd-rw_mounted_decrypted" );
- addMimeType( "media/nfs_mounted" );
addMimeType( "media/cd-r_unmounted" );
addMimeType( "media/cd-r_unmounted_decrypted" );
+ addMimeType( "media/cd-rw_mounted" );
+ addMimeType( "media/cd-rw_mounted_decrypted" );
addMimeType( "media/cd-rw_unmounted" );
addMimeType( "media/cd-rw_unmounted_decrypted" );
- addMimeType( "media/nfs_unmounted" );
- addMimeType( "media/removable_mounted" );
- addMimeType( "media/removable_mounted_decrypted" );
addMimeType( "media/dvd_mounted" );
addMimeType( "media/dvd_mounted_decrypted" );
- addMimeType( "media/removable_unmounted" );
- addMimeType( "media/removable_unmounted_decrypted" );
addMimeType( "media/dvd_unmounted" );
addMimeType( "media/dvd_unmounted_decrypted" );
+ addMimeType( "media/hdd_mounted" );
+ addMimeType( "media/hdd_mounted_decrypted" );
+ addMimeType( "media/hdd_unmounted" );
+ addMimeType( "media/hdd_unmounted_decrypted" );
+ addMimeType( "media/removable_mounted" );
+ addMimeType( "media/removable_mounted_decrypted" );
+ addMimeType( "media/removable_unmounted" );
+ addMimeType( "media/removable_unmounted_decrypted" );
+ addMimeType( "media/nfs_mounted" );
+ addMimeType( "media/nfs_unmounted" );
addMimeType( "media/smb_mounted" );
- addMimeType( "media/dvdvideo" );
addMimeType( "media/smb_unmounted" );
+ addMimeType( "media/floppy_mounted" );
+ addMimeType( "media/floppy_unmounted" );
addMimeType( "media/floppy5_mounted" );
- addMimeType( "media/svcd" );
addMimeType( "media/floppy5_unmounted" );
- addMimeType( "media/vcd" );
- addMimeType( "media/floppy_mounted" );
addMimeType( "media/zip_mounted" );
- addMimeType( "media/floppy_unmounted" );
addMimeType( "media/zip_unmounted" );
- addMimeType( "media/gphoto2camera" );
+ addMimeType( "media/blurayvideo" );
+ addMimeType( "media/dvdvideo" );
+ addMimeType( "media/svcd" );
+ addMimeType( "media/vcd" );
addMimeType( "media/camera_mounted" );
- addMimeType( "media/camera_unmounted" );
+ addMimeType( "media/camera_unmounted" );
+ addMimeType( "media/gphoto2camera" );
}
bool KFileMediaPlugin::readInfo(KFileMetaInfo &info, uint /*what*/)