mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
Fix for KDE device actions
This tiny patch enables opening of VideoCD/AudioCD/DVD discs with VLC in KDE when inserted, which was broken before. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
This commit is contained in:
parent
f511daad0b
commit
99ebae0c04
@ -5,6 +5,6 @@ Actions=open;
|
||||
|
||||
[Desktop Action open]
|
||||
Name=Open with VLC media player
|
||||
Exec=vlc cdda://
|
||||
Exec=vlc cdda://%d
|
||||
Icon=vlc
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
[Desktop Entry]
|
||||
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoDvd' ]
|
||||
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Data|VideoDvd' ]
|
||||
Type=Service
|
||||
Actions=open;
|
||||
|
||||
[Desktop Action open]
|
||||
Name=Open with VLC media player
|
||||
Exec=vlc dvd://
|
||||
Exec=vlc dvd://%d
|
||||
Icon=vlc
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
[Desktop Entry]
|
||||
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoCd|SuperVideoCd' ]
|
||||
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://
|
||||
Exec=vlc vcd://%d
|
||||
Icon=vlc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user