Just installed the new netjuke package on my sid machine.

Everything seemed fairly straightforward though a little HOWTO in the
README.Debian might be nice. I already had php4 enabled so just added:

Alias /netjuke/var/music/ /bag/music/netjuke/
Alias /netjuke/var/data /var/lib/netjuke/data
Alias /netjuke /usr/share/netjuke

Basically my problem is this: .ogg files work fine, no problem. MP3s
seem to work in WinAmp but not in XMMS or some other windows-based
players. It seems to have something to do with either the mp3 file
formats or the streaming from apache.

Playing the file directly works fine:

slackguy$ xmms /bag/music/netjuke/random/camper\ van\ beethoven\ -\
take\ the\ skinheads\ bowling.mp3 

Snarfing the file works fine:

slackguy$ snarf
http://slackguy/netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
http://slackguy/netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
(1191K)
camper%20van%20beethoven  [########################]    1191K |
76770.16K/s
1220150 bytes transferred in 0.02 sec (76366.71k/sec)

slackguy$ wget
http://slackguy/netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
--10:21:37--
http://slackguy/netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
           =>
`camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3'
Resolving slackguy... done.
Connecting to slackguy[192.168.100.102]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,220,150 [audio/mpeg]

100%[====================================>] 1,220,150     72.73M/s
ETA 00:00

10:21:37 (72.73 MB/s) -
`camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3'
saved [1220150/1220150]


However directly xmms'ing the file does not work:
slackguy$ xmms
http://slackguy/netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3

GLib-ERROR **: could not allocate -2147475456 bytes
aborting...
Aborted

A window briefly pops up saying ERROR 400 Bad Request. Here are the
logs. Both entries in each are triggered by a single invocation of xmms.

/var/log/apache/access.log:
192.168.100.102 - - [13/Feb/2003:10:23:34 -0500] "GET
netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
HTTP/1.0" 400 412 "-" "xmms-mad/0.1"
192.168.100.102 - - [13/Feb/2003:10:23:34 -0500] "GET
netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
HTTP/1.0" 400 412 "-" "xmms-mad/0.1"


/var/log/apache/error.log:
[Thu Feb 13 10:23:34 2003] [error] [client 192.168.100.102] Invalid
URI in request GET
netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
HTTP/1.0
[Thu Feb 13 10:23:34 2003] [error] [client 192.168.100.102] Invalid
URI in request GET
netjuke/var/music/random/camper%20van%20beethoven%20-%20take%20the%20skinheads%20bowling.mp3
HTTP/1.0


Does anyone have any clue? I've tried cleaning up the mp3 file with
mp3check, mp3asm, etc. and though there was some initial junk bytes that
doesn't seem to affect the problem. In any case, I can't figure out if
it's an apache issue or an xmms issue. I don't think it involves
netjuke since I can reproduce using just an mp3 file in /var/www.

Thanks for any help. Please reply directly as I am not currently on debian-user.

-- 

Paul Reavis                                      [EMAIL PROTECTED]
President
Partner Software, Inc.                        http://www.partnersoft.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to