Bug 2928

Summary: Vlc does not work as a device action for audio CDs in KDE
Product: Mageia Reporter: Derek Jennings <derekjenn>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: balcaen.john
Version: 1   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: vlc-1.1.11-0.1.mga1 CVE:
Status comment:

Description Derek Jennings 2011-10-04 00:03:51 CEST
Description of problem:
The file /usr/share/apps/solid/actions/vlc-opencda.desktop defines how if an audio CD is inserted VLC is offered as an action to play the CD under KDE.
The action is malformed so VLC is never offered as an action to play the CD.


Version-Release number of selected component (if applicable):
vlc-1.1.11-0.1.mga1
kde-4.6.5


How reproducible:
Every time

Steps to Reproduce:
1. In a Mageia 1 installation install vlc and kaffeine
2. Insert an audio CD in the CD drive
3. Observe a pop up appears offering to open the CD with kaffeine. Vlc is not offered as an action even though the file /usr/share/apps/solid/actions/vlc-opencda.desktop is provided in the vlc package.

Workaround
-----------
Edit  /usr/share/apps/solid/actions/vlc-opencda.desktop and replace the line
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'Audio' ]

with 
X-KDE-Solid-Predicate=OpticalDisc.availableContent & 'Audio'

Now on inserting an audio CD the pop up will offer to play the CD with vlc or kaffeine.


Note: Editing the action in kde control centre does *not* fix the problem. The only thing that works is a direct edit on the /usr/share/apps/solid/actions/vlc-opencda.desktop file. There seems to be another bug with locally defined device actions not being recognised.
Comment 1 John Balcaen 2011-10-04 00:49:57 CEST
duplicate

*** This bug has been marked as a duplicate of bug 1594 ***

Status: NEW => RESOLVED
CC: (none) => balcaen.john
Resolution: (none) => DUPLICATE