Mark Lord's HTTP player interface?

Posted by: newguy1

Mark Lord's HTTP player interface? - 05/08/2004 21:51

I have a few tracks with lyrics on them and when I try streaming them with mark's interface,they play in winamp but the lyrics aren't displayed.
The SYLT lyrics plugin says" error can't get song length from winamp"
Is it just not possible to do this?
Posted by: tfabris

Re: Mark Lord's FTP player interface? - 05/08/2004 22:31

Winamp has no way of knowing where the end of the song lies in streaming mode. That's the point of streaming, it starts playing before the whole file is there.

Perhaps there's a way the SYLT plugin could be changed to just "not care" about where the endpoint is?
Posted by: mlord

Re: Mark Lord's FTP player interface? - 06/08/2004 00:22

Quote:
Winamp has no way of knowing where the end of the song lies in streaming mode. That's the point of streaming, it starts playing before the whole file is there.

Not true, actually. The HTTP header at the start of streaming gives the content size (byte count for the stream), and the requesting app (Winamp) can use that info for all kinds of things -- it can even request a starting point mid-stream (used for FF/REW/SEEK).

Cheers
Posted by: newguy1

Re: Mark Lord's FTP player interface? - 06/08/2004 00:31

Do you know why it doesn't work for me?
Does it work for you/anyone else?
Posted by: tfabris

Re: Mark Lord's FTP player interface? - 06/08/2004 04:32

Interesting. Okay, I'll try it...

Okay, cool. When I stream from Hijack, I do get the proper song length to come up in the WinAmp window. Maybe it's his version of WinAmp?

However the SYLT plugin still doesn't work, it gives me a different error message, it says "no lyrics found" in the title bar instead of complaining about the song length. Interestingly, if I ask WinAmp for the file properties, it doesn't show me the contents of the tag, although it does tell my that the file *has* an ID3V2 tag and how many bytes long it is.

Perhaps WinAmp just doesn't offer the tag contents to its plugins when it's in streaming mode.
Posted by: SE_Sport_Driver

Re: Mark Lord's FTP player interface? - 06/08/2004 09:37

Quote:
Okay, cool. When I stream from Hijack, I do get the proper song length to come up in the WinAmp window. Maybe it's his version of WinAmp?


Was this always the case? I seem to remember streaming in the past and seeing Winamp "guess" at the proper track lengths... but I was running a crossfade plug-in in the past, and it could get pretty buggy. What is interesting is "Stream name: Artist - Title" in the "MP3 Stream Info Box". Perhaps in streaming, Winamp only looks at the track length, artist and title and ignores all else?
Posted by: webroach

Re: Mark Lord's FTP player interface? - 06/08/2004 10:04

Quote:
Perhaps in streaming, Winamp only looks at the track length, artist and title and ignores all else?


<grumble>
That would make sense for WinAmp. It also tends to ignore all things Unicode.
</grumble>
Posted by: tman

Re: Mark Lord's FTP player interface? - 06/08/2004 11:25

Yeah. I'm pretty sure when streaming it will ignore any tags actually in the file and use the information from the server instead. Thats what I gathered when I was poking around in the icecast code to write my own streamer.
Posted by: wfaulk

Re: Mark Lord's FTP player interface? - 06/08/2004 12:14

Quote:
The HTTP header at the start of streaming gives the content size
I don't know what he meant, but the subject of this thread does say "FTP", not "HTTP". If he's using FTP, then there's no well-defined way to check for size, AFAIR.
Posted by: tfabris

Re: Mark Lord's FTP player interface? - 06/08/2004 13:41

I think he *must* have meant http, because I don't know of any way to stream to winamp using FTP.
Posted by: newguy1

Re: Mark Lord's FTP player interface? - 06/08/2004 17:06

Yes that is correct, "he" meant http.