#64102 - 30/01/2002 08:33
Re: listening on computer?
[Re: msaeger]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
I believe the "release note" said something about it being very "drive0 centric" at the moment.
Cheers
|
Top
|
|
|
|
#64103 - 30/01/2002 08:49
Re: listening on computer?
[Re: mlord]
|
enthusiast
Registered: 20/02/2001
Posts: 345
|
I believe the "release note" said something about it being very "drive0 centric" at the moment.
Indeed they did. But I do have to say that using
http://empeg/drive1/fids/101?format
worked just fine for me... ?
Using 156.
_________________________
Synergy
[orange]mk2, 42G: [blue] mk2a, 10G[/blue][/green]
I tried Patience, but it took too long.
|
Top
|
|
|
|
#64104 - 30/01/2002 08:54
Re: listening on computer?
[Re: synergy]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Pure luck.
Many of the *1 files use embedded "drive" tags to redirect things.. the Hijack FORMAT feature currently ignores them.
-ml
|
Top
|
|
|
|
#64105 - 30/01/2002 08:55
Re: listening on computer?
[Re: mlord]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
The easiest way to serve .m3u files (I remember hacking Edna (nice python mp3 server) to do it) is to just serve a "file" with a .m3u extension.. the mime type is audio/mpeg-url and the file syntax is just one URL per line.
|
Top
|
|
|
|
#64106 - 30/01/2002 09:00
Re: listening on computer?
[Re: mlord]
|
enthusiast
Registered: 20/02/2001
Posts: 345
|
Pure luck.
woohoo!
Mamma always said I was the lucky one... Of course, I'm the only one, but that hardly matters....
Need more Coffee...
_________________________
Synergy
[orange]mk2, 42G: [blue] mk2a, 10G[/blue][/green]
I tried Patience, but it took too long.
|
Top
|
|
|
|
#64107 - 30/01/2002 09:02
Re: listening on computer?
[Re: mlord]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
Sheeshh.. does nobody around here know how to configure a web browser? Or maybe the Windows platform is just lacking good streaming media players?
MSIE allows you to associate files with helper applications, but doesn't let you associate URLs. So it finds a URL that matches some helper application, downloads the file, then points the application to the file. If mp3 streaming was done correctly, it would have been a different protocol tag (shttp?) so you could assign it to a different application to handle. Really, the .m3u file is the best way to handle all browsers as well as adding extra functionality. The click->stream method doesn't let you stream multiple files with one click, so a playlist system is needed anyway..
|
Top
|
|
|
|
#64108 - 30/01/2002 09:06
Re: listening on computer?
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
The problem is that MSIE has no way to assign anything based on mime types at all (correct me if I'm wrong, someone). The only way to assign things to file extensions is to assign them in the basic GUI shell in the same way that makes double-clicking on a file work. It's a real PoS when it comes to this sort of thing.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#64109 - 30/01/2002 09:16
Re: listening on computer?
[Re: wfaulk]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
The problem is that MSIE sucks. It does so many things wrong, that I wonder why I use it.. (Oh yea, the number of things it does right, is more than the other browsers out there).. Argue all you want about how netscape/opera/mozilla translate HTML better/faster/cheaper/whatever, but the UI is the most important thing for a commonly used application.
|
Top
|
|
|
|
#64110 - 30/01/2002 09:24
Re: listening on computer?
[Re: Yang]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Yeah, but for this purpose, the UI sucks because it doesn't even exist, nor has it ever existed. It does make most web pages look nice, though. But that probably has to do with the fact that most web designers design primarily for MSIE.
If you want to continue this (I don't), let's take it to Off Topic.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#64111 - 30/01/2002 09:34
Re: listening on computer?
[Re: wfaulk]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
Heh.. I don't.. (Now.. if you could get a URL to enque files/playlists over the web interface... and then a current playlist list.. )
|
Top
|
|
|
|
#64112 - 30/01/2002 10:16
Re: listening on computer?
[Re: Yang]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Okay good. Thanks. I've stuck .m3u in the next release (later today), and tried it with MSIE/QuickTime under in my VMware session.. seems to stream..
Maybe I'll tuck in support for .m3u on a leaf-node playlist (not nestable for now, though) before releasing it..
-ml
|
Top
|
|
|
|
#64113 - 30/01/2002 10:22
Re: listening on computer?
[Re: mlord]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
Cool.. I'm going to throw together a redhat machine and look through the code, if just to figure out how everything fits together.. (And no, I know I can look at the code w/o the machine.. but I would like to be able to compile my own kernels..)
Edited by Yang (30/01/2002 10:23)
|
Top
|
|
|
|
#64114 - 30/01/2002 10:24
Streaming .wav, .wma ??
[Re: Yang]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Okay, can anyone there find out and tell me what the Content-Type (mime-type) should be for serving the following audio files/streams from the player:
-- mp3: audio/mpeg, audio/mpeg-url
-- wma: audio/???, ???
-- wav: audio/x-wav, ???
Thanks
|
Top
|
|
|
|
#64115 - 30/01/2002 10:26
Re: listening on computer?
[Re: mlord]
|
addict
Registered: 19/08/2000
Posts: 588
Loc: England
|
Thanks Mark, that kinda works. You say it's very drive0-centric but mine won't see anything on drive0, just drive1. Most of my music is on drive0. Oh well I'm sure you'll get it sussed so that it works with both drives pretty quickly. As other people have mentioned it would be nice to have it stream entire playlists too by using m3u files but I know you're working on that. Well done for getting it to this stage so quickly. I know I speak for everyone who uses your Hijack kernel when I say that we really do appreciate your efforts in improving the Empeg experience for us. Thanks
_________________________
Marcus
32 gig MKII (various colours) & 30gig MKIIa
|
Top
|
|
|
|
#64116 - 30/01/2002 10:29
Re: Streaming .wav, .wma ??
[Re: mlord]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
wma is audio/x-ms-wma
Don't know of any additional types for WAV.
|
Top
|
|
|
|
#64117 - 30/01/2002 10:31
Re: listening on computer?
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
>I've stuck .m3u in the next release (later today),
>and tried it with MSIE/QuickTime under in my VMware session
>seems to stream..
Ooops my mistake, I was running v156, and it streams regardless with QuickTime under MSIE -- so it is possible already, but I'll still add the .m3u regardless
|
Top
|
|
|
|
#64118 - 30/01/2002 10:42
Re: listening on computer?
[Re: mlord]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
That's because quicktime is a plugin, and not a helper application. if you had it associated with winamp, it would download the file first.
|
Top
|
|
|
|
#64119 - 30/01/2002 10:45
Re: Streaming .wav, .wma ??
[Re: mlord]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
here's what I can find:
audio/basic au snd
audio/echospeech es
audio/gsm gsm gsd
audio/rmf rmf
audio/tsplayer tsi
audio/voxware vox
audio/wtx wtx
audio/x-aiff aif aiff aifc
audio/x-dspeech cht dus
audio/x-midi mid midi
audio/x-mpeg mp2
audio/x-mpeg mp3
audio/x-mpegurl m3u
audio/x-ms-wma wma
audio/x-pn-realaudio ram ra rm
audio/x-pn-realaudio-plugin rpm
audio/x-qt-stream stream
audio/x-rmf rmf
audio/x-twinvq vqf vql
audio/x-twinvq-plugin vqe
audio/x-wav wav
audio/x-wtx wtx
Edit That was from ImagineX's hosting page.
Edited by Yang (30/01/2002 10:47)
|
Top
|
|
|
|
#64120 - 30/01/2002 10:47
Re: Streaming .wav, .wma ??
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
You know, I was going to point you at IANA, but then noticed that these weren't there. God forbid that Microsoft bother registering MIME types. It's not even like it costs money, AFAICS.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#64121 - 30/01/2002 10:48
Re: Streaming .wav, .wma ??
[Re: wfaulk]
|
addict
Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
|
Heh.. so was I, but ran into the same thing..nothing's registered there..
|
Top
|
|
|
|
#64122 - 30/01/2002 11:47
Re: listening on computer?
[Re: wfaulk]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
I don't actually know about assigning things based on MIME types, but if you look in the registry under HKCR\MIME\Database\Content Type you'll find where MSIE keeps its MIME database.
_________________________
-- roger
|
Top
|
|
|
|
#64123 - 30/01/2002 12:59
Re: listening on computer?
[Re: beaker]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
By "drive0 centric", I mean that it probably won't work reliably if you point it at ANY file not on drive0.. so if your 101 playlist is on drive1, then forget it. This describes your situation exactly.
But you can still point it at any *1 playlist file that happens to be on drive0, and it MIGHT work.
-ml
|
Top
|
|
|
|
#64124 - 30/01/2002 13:42
Re: listening on computer?
[Re: Roger]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
On mine, it seems to be HKLM\Software\Classes\MIME\Database\Content Type. And it only maps content-types to extensions. Regardless, that's for the entire OS, not just for IE. And regedt32 and regedit are hardly reasonable UIs for, well, anything.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#64125 - 30/01/2002 14:02
Re: listening on computer?
[Re: wfaulk]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
HKCR _is_ HKLM\Software\Classes (possibly merged with HKCU\Software\Classes on W2K/XP).
And IE is an integral part of the entire OS, or did you miss the DoJ's little fracas with MS?
_________________________
-- roger
|
Top
|
|
|
|
#64126 - 30/01/2002 14:03
Re: listening on computer?
[Re: peter]
|
Pooh-Bah
Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
|
If Mark pulls that off, I'm going to be looking around to buy a rio receiver....
Calvin
|
Top
|
|
|
|
#64127 - 30/01/2002 14:04
Re: listening on computer?
[Re: Roger]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Fair enough. Wonder why my search didn't turn it up.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#64128 - 30/01/2002 14:25
Re: listening on computer?
[Re: mlord]
|
Pooh-Bah
Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
|
I'd also like to point out that drive1 works for me. drive0 doesn't work at all.
Calvin
|
Top
|
|
|
|
#64129 - 30/01/2002 15:06
Re: listening on computer?
[Re: mlord]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
thanks I did see that I just wanted to be sure I was even trying the right thing
_________________________
Matt
|
Top
|
|
|
|
#64130 - 30/01/2002 15:15
Re: listening on computer?
[Re: wfaulk]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Dunno. I had a poke around this evening -- there's some CLSID values stored in there, so I thought I'd put together a quick COM DLL and hook it in instead -- to see what kind of things happen when you attempt to download a .mp3 file, but no luck so far.
The other possible avenue is to implement a "pluggable protocol handler", but that looks scary, and is probably overkill.
_________________________
-- roger
|
Top
|
|
|
|
#64131 - 30/01/2002 15:28
Re: listening on computer?
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
A .m3u file to enable streaming is simply a list of filenames/URLs.
For example, to get a Receiver server streaming to Winamp, you'd return:
---- cut here ----
http://host:12078/content/12fc0
http://host:12078/content/12fd0
http://host:12078/content/12fe0
---- cut here ----
Winamp would then stream from each of these sources in turn. In this case, each of the contained URLs would have to reference an MP3 stream -- I don't think that Winamp supports nested M3U files.
To simplify things so that they work in most Windows browsers, you need to accept queries of the form:
http://host:port/whatever?parm1=val1&parm2=val2&etc=etc&file=file.m3u
The '...file.m3u' bit works around a problem with some versions of IE (the server doesn't have to do anything except ignore it). You still need to return the "Content-Type: audio/x-mpegurl" header, though.
_________________________
-- roger
|
Top
|
|
|
|
|
|