Description of Problem:
autorun is unable to start kscd because it pass wrong argument
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start kde, then open konsole and type "killall autorun"
2. start new autorun in konsole: type /usr/bin/autorun -l --interval=1000
3. insert audio cd
You'll see following:
kscd: Wrong argument '/dev/cdrom'.
kscd must start silently
Either /dev/cdrom argument must be disabled in autorun or kscd must ignore this
I have wrote the patch that fix the described problem.
Created attachment 47340 [details]
patch for described problem
Created attachment 47341 [details]
This patch I will use...
I think your patch do not safe functionality of autorun program.
You can not pass the device parameter to external program if you installed 2 CD
ROM drivers into your PC and want to use second CD ROM for listen audioCD.
I propose to use additional option (as I wrote in my patch).
$ autorun --help
Usage: autorun [OPTION...] [cdromdevices...]
Command strings are parsed and %P% is replaced by the mountpoint path.
%D% is replaced by the device path. After that the command string will be
executed using /bin/sh -c "command string".
This now works also for
$ autorun --cdplayer="myaudiocdplayer %D%"