Bug 2928 - Vlc does not work as a device action for audio CDs in KDE
Summary: Vlc does not work as a device action for audio CDs in KDE
Status: RESOLVED DUPLICATE of bug 1594
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 00:03 CEST by Derek Jennings
Modified: 2011-10-04 00:49 CEST (History)
1 user (show)

See Also:
Source RPM: vlc-1.1.11-0.1.mga1
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.