Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#88723 - 17/04/2002 13:24 Hijack stream -> WMP in XP?
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
I just tried to click stream next to a link on another computer which did not have WinAmp installed and Windows Media Player in XP came up. It then tried to play each song and then finally gave me this error dialog "The server is refusing to fulfill the requested operation". This works if you associate the m3u files with WinAmp though. Anyone know how to fix this so that it will work with Windows Media Player in XP? I looked at the faq and didn't see any reference to this issue.

Thanks..

Top
#88724 - 17/04/2002 13:28 Re: Hijack stream -> WMP in XP? [Re: Allistah]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
I noticed that if I set khttpd_files=1 in the config file that I can now stream from Windows Media Player.

Is there any way we can get Hijack to allow Windows Media Player to work like WinAmp does without having to have khttpd_files=1?

Top
#88725 - 17/04/2002 14:34 Re: Hijack stream -> WMP in XP? [Re: Allistah]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
I have, like, zero interest in anything to do with WinXP.

But if you were to trace the connection and find out what WimpyMedia is asking for, then perhaps we'd have enough info to see if it's something trivial.

-ml

Top
#88726 - 17/04/2002 15:44 Re: Hijack stream -> WMP in XP? [Re: mlord]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
How would you suggest getting this info?

Top
#88727 - 17/04/2002 16:46 Re: Hijack stream -> WMP in XP? [Re: Allistah]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Look up the "khttpd_verbose" setting for Hijack (in the Hijack FAQ).

Cheers

Top
#88728 - 18/04/2002 15:20 Re: Hijack stream -> WMP in XP? [Re: mlord]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Here is the data from WinAmp and Windows Media Player:

WinAmp with khttpd_files=0 or 1:
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/Dio_-_The_Last_In_Line.m3u?FID=45d1&EXT=.m3u"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/Dio%20%2D%20The%20Last%20In%20Line.m3u?FID=45d0&EXT=.mp3"
Outcome: Song starts playing as expected.

WMP with khttpd_files=0:
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/Dio_-_The_Last_In_Line.m3u?FID=45d1&EXT=.m3u"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/Dio%20%2D%20The%20Last%20In%20Line.m3u?FID=45d0&EXT=.mp3"
Then WMP Popups up this error message:
"The server is refusing to fulfill the requested operation."

WMP with khttpd_file=1:
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/Dio_-_The_Last_In_Line.m3u?FID=45d1&EXT=.m3u"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/Dio%20%2D%20The%20Last%20In%20Line.m3u?FID=45d0&EXT=.mp3"
<about a 30 second or so delay here>
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/ID3"
khttpd: open(/ID3) failed, rc=-2
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/TRCK"
khttpd: open(/TRCK) failed, rc=-2
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/2TCON"
khttpd: open(/2TCON) failed, rc=-2
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/RockTIT2"
khttpd: open(/RockTIT2) failed, rc=-2
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/The%20Last%20In%20LineTALB"
khttpd: open(/The Last In LineTALB) failed, rc=-2
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: GET "/The%20Last%20In%20LineTPE1"

Please let me know if I can get any more data for you. Thank you for your time Mark.

-Allistah

Top
#88729 - 18/04/2002 15:23 Re: Hijack stream -> WMP in XP? [Re: Allistah]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Aw, jeez, that's the problem. You're trying to play Dio tracks.


_________________________
Tony Fabris

Top
#88730 - 18/04/2002 15:32 Re: Hijack stream -> WMP in XP? [Re: tfabris]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Sirr!!!! :-P You know, I wondered if I was going to get any flack for that. hehe

Top
#88731 - 18/04/2002 17:19 Re: Hijack stream -> WMP in XP? [Re: Allistah]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
set khttpd_verbose=2 and try again.. looks like we need the extra info.

Cheers

Top
#88732 - 19/04/2002 11:03 Re: Hijack stream -> WMP in XP? [Re: mlord]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Here is the data with khttpd_verbose=2 . I stopped it at the end cause WMP keeps trying a bunch of invalid things really fast. Also, the playlist in WMP looks currupted too.

One interesting thing.. I saved the m3u file from WinAmp and loaded it with WMP. That seemed to work fine. So it seems the problem is when the m3u file is directly grabbed by WMP. Here is the data:

This is WMP using the m3u file that I saved from WinAmp(which works fine):

khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Tesla%20%2D%20Comin%27%20Atcha%20Live%2Ftruckin%2
7?FID=101e0&EXT=.mp3 HTTP/1.1
Accept: */*
User-Agent: NSPlayer/8.0.0.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"
khttpd: GET "/Tesla%20%2D%20Comin%27%20Atcha%20Live%2Ftruckin%27?FID=101e0&EXT=.
mp3"

Here is the data from WMP when it gets the m3u file directly from Hijack:

serial_notify_thread.cpp: 180:@@ #b590 0:00:20
serial_notify_thread.cpp: 180:@@ #b590 0:00:21
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Tesla_-_Lodi.m3u?FID=10261&EXT=.m3u HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-
excel, application/msword, application/vnd.ms-powerpoint, */*
Referer: http://mobilemp3/?FID=101d1&EXT=.htm
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: mobilemp3
Connection: Keep-Alive

"
khttpd: GET "/Tesla_-_Lodi.m3u?FID=10261
serial_notify_thread.cpp: 180:@@ #b590 0:00:22
serial_notify_thread.cpp: 180:@@ #b590 0:00:23
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Tesla%20%2D%20Lodi.m3u?FID=10260&EXT=.mp3 HTTP/1.
1
Accept: */*
User-Agent: Windows-Media-Player/8.00.00.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"
khttpd: GET "/Tesla%20%2D%20Lodi.m3u?FID=10260&EXT=.mp3"
serial_notify_thread.cpp: 180:@@ #b590 0:00:24
serial_notify_thread.cpp: 180:@@ #b590 0:
serial_notify_thread.cpp: 180:@@ #b590 0:00:26
serial_notify_thread.cpp: 180:@@ #b590 0:00:27
serial_notify_thread.cpp: 180:@@ #b590 0:00:28
serial_notify_thread.cpp: 180:@@ #b590 0:00:29
serial_notify_thread.cpp: 180:@@ #b590 0:00:30
serial_notify_thread.cpp: 180:@@ #b590 0:00:31
serial_notify_thread.cpp: 180:@@ #b590 0:00:32
serial_notify_thread.cpp: 180:@@ #b590 0:00:33
serial_notify_thread.cpp: 180:@@ #b590 0:00:34
serial_notify_thread.cpp: 180:@@ #b590 0:00:35
serial_notify_thread.cpp: 180:@@ #b590 0:00:36
serial_notify_thread.cpp: 180:@@ #b590 0:00:37
serial_notify_thread.cpp: 180:@@ #b590 0:00:38
serial_notify_thread.cpp: 180:@@ #b590 0:00:39
serial_notify_thread.cpp: 180:@@ #b590 0:00:40
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /ID3 HTTP/1.1
Accept: */*
User-Agent: NSPlayer/8.0.0.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"
khttpd: GET "/ID3"
khttpd: open(/ID3) failed, rc=-2
serial_notify_thread.cpp: 180:@@ #b590 0:00:41
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET / HTTP/1.1
Accept: */*
User-Agent: NSPlayer/8.0.0.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"
khttpd: GET "/"
serial_notify_thread.cpp: 180:@@ #b590 0:00:42
serial_notify_thread.cpp: 180:@@ #b590 0:00:43
serial_notify_thread.cpp: 180:@@ #b590 0:00:44
serial_notify_thread.cpp: 180:@@ #b590 0:00:45

Top
#88733 - 19/04/2002 11:18 Re: Hijack stream -> WMP in XP? [Re: Allistah]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Okay, I'll put out a v259 before I hit the bike trails in a few minutes. Give it a try, and let me know if anything changes.

Cheers

Top
#88734 - 19/04/2002 11:26 Re: Hijack stream -> WMP in XP? [Re: Allistah]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Ah, see? What'd I tell you? Try to download a Tesla track and the solution presents itself.
_________________________
Tony Fabris

Top
#88735 - 19/04/2002 12:02 Re: Hijack stream -> WMP in XP? [Re: tfabris]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
I noticed that WMP has the old problem like WinAmp had where it shows %20 for spaces and such in the playlist.

Here is the data using the new v259 Hijack:

Playing a single track (doesn't work):
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Tesla_-_Lodi.m3u?FID=10261&EXT=.m3u HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
Referer: http://mobilemp3/?FID=101d1&EXT=.htm
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: mobilemp3
Connection: Keep-Alive

"khttpd: GET "/Tesla_-_Lodi.m3u?FID=10261&EXT=.m3u"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Tesla%20%2D%20Lodi.m3u?FID=10260&EXT=.mp3 HTTP/1.1
Accept: */*
User-Agent: Windows-Media-Player/8.00.00.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"khttpd: GET "/Tesla%20%2D%20Lodi.m3u?FID=10260&EXT=.mp3"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /ID3 HTTP/1.1
Accept: */*
User-Agent: NSPlayer/8.0.0.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"khttpd: GET "/ID3"
khttpd: open(/ID3) failed, rc=-2


This is playing a whole CD playlist (works, but has issues moving around tracks):
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Five_Man_Acoustical_Jam.m3u?FID=101d1&EXT=.m3u HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
Referer: http://mobilemp3/?FID=101c1&EXT=.htm
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: mobilemp3
Connection: Keep-Alive

"khttpd: GET "/Five_Man_Acoustical_Jam.m3u?FID=101d1&EXT=.m3u"
khttpd: 192.168.1.5 connection from 192.168.1.8
khttpd: request_header = "GET /Tesla%20%2D%20Comin%27%20Atcha%20Live%2Ftruckin%27?FID=101e0&EXT=.mp3 HTTP/1.1
Accept: */*
User-Agent: NSPlayer/8.0.0.4477
Accept-Encoding: gzip, deflate
Host: mobilemp3
Connection: Keep-Alive

"khttpd: GET "/Tesla%20%2D%20Comin%27%20Atcha%20Live%2Ftruckin%27?FID=101e0&EXT=.mp3"

Top
#88736 - 19/04/2002 14:18 Re: Hijack stream -> WMP in XP? [Re: Allistah]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Well, I'm not going to waste any more time on this, but I will put out a v260 shortly with another attempt to get it to play stuff. The %20 stuff is Microsoft's problem.

Cheers

Top
#88737 - 19/04/2002 14:45 Re: Hijack stream -> WMP in XP? [Re: mlord]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Nope, didn't fix it. Thanks for trying though! I appreciate it. :-)

Top