]> git.sesse.net Git - vlc/commitdiff
Adding actions for KDE4 Solid
authorHugo Beauzee-Luyssen <beauze.h@gmail.com>
Thu, 25 Mar 2010 09:49:55 +0000 (10:49 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 25 Mar 2010 21:00:49 +0000 (21:00 +0000)
Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
share/solid/vlc-opencda.desktop [new file with mode: 0644]
share/solid/vlc-opendvd.desktop [new file with mode: 0644]
share/solid/vlc-openvcd.dekstop [new file with mode: 0644]

diff --git a/share/solid/vlc-opencda.desktop b/share/solid/vlc-opencda.desktop
new file mode 100644 (file)
index 0000000..5aee486
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio' ]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc cdda://
+Icon=vlc
+
diff --git a/share/solid/vlc-opendvd.desktop b/share/solid/vlc-opendvd.desktop
new file mode 100644 (file)
index 0000000..f16460d
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'VideoDvd' ]]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc dvd://
+Icon=vlc
+
diff --git a/share/solid/vlc-openvcd.dekstop b/share/solid/vlc-openvcd.dekstop
new file mode 100644 (file)
index 0000000..4611eeb
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'VideoCd|SuperVideoCd' ]]
+Type=Service
+Actions=open;
+
+[Desktop Action open]
+Name=Open with VLC media player
+Exec=vlc vcd://
+Icon=vlc
+