Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rplay bug? (was: Re: Thousands of erroneous syslogs about media changes)



Stephen J. Turnbull wrote:

> (0) Reinvent the wheel.  There were at least three adequate sound
> daemon architectures (rplay, Xaudio, and NAS) available, but the esd
> developers had to invent a (not very interesting) new one and then
> implement it badly.

I just installed rplay and played a bit with it.
Looks very nice, but I think I have found a bug.
I cannot play audio files if the filename includes whitespace.
This seems to be a problem with both the daemon itself and the client
because when I telnet to the daemon port and issue commands directly
it does not work (Filename gets cut off after the first whitespace,
enclosing in "" doesn't work, escaping with \ doesn't work) and
the client does not seem to try escaping whitescape either:

|ranma@example.com:~$ telnet localhost 5556
|Trying 127.0.0.1...
|Connected to localhost.
|Escape character is '^]'.
|+host=melchior version=3.3.2 uptime=00:00:11 audio-bits=16 audio-byte-order=little-endian audio-channels=2 audio-device=/dev/dsp audio-format=linear-16 audio-fragsize=4096 audio-port= audio-rate=10 audio-sample-rate=44100 volume=0 curr-rate=10 priority-threshold=0 audio-close=5 audio-device-status=closed
|play /home/ranma/download/mp3/track11.mp3
|+id=#1 sound="/home/ranma/download/mp3/track11.mp3" command=play client-data="" list-name=""
|play /home/ranma/download/mp3/Star Ocean EX - TV Theme.mp3
|-error="play failed" command=play client-data=""
|play "/home/ranma/download/mp3/Star Ocean EX - TV Theme.mp3"
|-error="play failed" command=play client-data=""
|play /home/ranma/download/mp3/Star\ Ocean\ EX\ -\ TV\ Theme.mp3
|-error="play failed" command=play client-data=""
|quit

|melchior:/home/ranma# rplayd -d
|rplayd: running as group audio (29)
|rplayd: running as user nobody (65534)
|rplayd: adding helper for "\.mp[1-3]$"
|rplayd: creating cache directory `/tmp/.rplay-cache'
|rplayd: OSS info: fragments=32 totalfrags=32 fragsize=4096 DSP=131072
|rplayd: rplay_audio_mixer_open: unable to open mixer device
|rplayd: rplay_audio_mixer_open: unable to open mixer device
|rplayd: rplay_audio_mixer_open: unable to open mixer device
|rplayd: audio: bits=16 sample-rate=44100 channels=2 format=linear-16 volume=0 port-mask=0
|rplayd: timer: rate=10, min bytes/sec=17640
|rplayd: authentication enabled
|rplayd: melchior rplayd 3.3.2 ready.
|rplayd: entering idle mode
|rplayd: 127.0.0.1 client connection established
|rplayd: cleaning up sounds
|rplayd: cleaning up buffers - 0 bytes
|rplayd: 127.0.0.1 command="play /home/ranma/download/mp3/track11.mp3"
|rplayd: /home/ranma/download/mp3/track11.mp3 not in hash table
|rplayd: loading local file /home/ranma/download/mp3/track11.mp3
|rplayd: /home/ranma/download/mp3/track11.mp3 missing sound header; trying helper or extension
|rplayd: track11.mp3 input=file bits=16 sample-rate=44100 channels=2 samples=0 format=linear-16 byte-order=little-endian
|rplayd: forked helper process 10076
|rplayd: opening /dev/dsp
|rplayd: OSS info: fragments=32 totalfrags=32 fragsize=4096 DSP=131072
|rplayd: rplay_audio_mixer_open: unable to open mixer device
|rplayd: flushing /dev/dsp
|rplayd: 127.0.0.1 command="play /home/ranma/download/mp3/Star Ocean EX - TV Theme.mp3"
|rplayd: /home/ranma/download/mp3/Star not in hash table
|rplayd: not searching for /home/ranma/download/mp3/Star
|rplayd: 127.0.0.1 command="play "/home/ranma/download/mp3/Star Ocean EX - TV Theme.mp3""
|rplayd: "/home/ranma/download/mp3/Star not in hash table
|rplayd: 127.0.0.1 command="play /home/ranma/download/mp3/Star\ Ocean\ EX\ -\ TV\ Theme.mp3"
|rplayd: /home/ranma/download/mp3/Star\ not in hash table
|rplayd: not searching for /home/ranma/download/mp3/Star\
|rplayd: 127.0.0.1 command="quit"
|rplayd: 127.0.0.1 client connection closed

Somehow I won't believe that this kind of bug would show up in a piece of
software that has been around since 1993

Another thing I just noticed: The latest news seems to be from 1999/03/10...
Is rplay not being maintained anymore ?

I will have a look at nas next...

-- 
Tobias							     PGP-Key: 0x9AC7E0BC
echo ${SIGNATURE}


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links