[vlc-commits] Add KDE solid support for Blu-Ray discs

Rémi Denis-Courmont git at videolan.org
Sat Oct 13 19:49:25 CEST 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 13 20:47:36 2012 +0300| [b60db54c29f662012425561c68d2d700cb21fdde] | committer: Rémi Denis-Courmont

Add KDE solid support for Blu-Ray discs

(cherry picked from commit 75d7b6e769325346dede1310d656df73e1b99a6b)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=b60db54c29f662012425561c68d2d700cb21fdde
---

 share/Makefile.am              |    1 +
 share/solid/vlc-openbd.desktop |    9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/share/Makefile.am b/share/Makefile.am
index 5c10ec6..f79c3c9 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -407,6 +407,7 @@ maemo_FILES = \
 	icons/32x32/vlc.png
 
 DIST_solid = \
+	solid/vlc-openbd.desktop \
 	solid/vlc-opencda.desktop \
 	solid/vlc-opendvd.desktop \
 	solid/vlc-openvcd.desktop
diff --git a/share/solid/vlc-openbd.desktop b/share/solid/vlc-openbd.desktop
new file mode 100644
index 0000000..8522d8c
--- /dev/null
+++ b/share/solid/vlc-openbd.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoBluRay' ]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc bluray://%d
+Icon=vlc



More information about the vlc-commits mailing list