[vlc-commits] Add KDE solid support for Blu-Ray discs
Rémi Denis-Courmont
git at videolan.org
Sat Oct 13 19:48:38 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 13 20:47:36 2012 +0300| [75d7b6e769325346dede1310d656df73e1b99a6b] | committer: Rémi Denis-Courmont
Add KDE solid support for Blu-Ray discs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75d7b6e769325346dede1310d656df73e1b99a6b
---
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 3d4a0ac..6702eb2 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -393,6 +393,7 @@ DIST_http_lua = \
lua/http/old/style.css
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