Re: today's changes...
dean blackketter <dean-qV/[email protected]> Sat, 22 Feb 2003 13:32:56 +0000 (UTC)
| Newsgroups | gmane.music.equipment.slimp3.dev |
|---|---|
| Message-ID | <a0510030ab7e264fb8953__39533.9898569093$1045920263@[10.0.1.204]> |
On Thu, Oct 04, 2001 at 11:49:07AM -0700, dean blackketter wrote: > That's great. Thanks. > > What's the format if there are multiple items in the list? Or are > there never multiple items in the list? > > I've seen other examples that do have multiple items, along with > version lines and item counts... Good question. My understanding of Dan's code is that only the first item is read (i.e, only File1 is read) if the entry is a URL. Well, his code did do that, but my recent rewrite broke his code. I'm trying to fix it, and try to do it right. :-) This also makes practical sense, as streams typically don't have a defined end, so having more than one in the list is counterproductive (unless we're looking to have functionality similar to the .m3u support, where the playlist containing multiple streams would be treated as a browseable directory) I think that .pls and .m3u files are used both as "aliases" to icecast/shoutcast servers (which implies a single never-ending stream) as well as a list of songs to be played either locally or via http. I use HTTP streaming of songs here from home all the time and use .m3u files as a way to construct playlists. I've not really used .pls files yet, but I'm assuming that they are just a different (and perhaps richer) way of expressing the same stuff in an M3U file. I'll try to make all the .pls files I come across work, and then we'll see if any new formats come along that don't. One feature that I'd like to see in your web code at some point (I don't know that I'll be able to get to this) would be an easy way to build playlists...e.g., a quick form where one could cut and paste a URL, possibly denoting what type of stream it is for appropriate massaging (e.g., live365 station URLs need a quick s/stations/play in the URL before being added to a .pls file). I'm not sure I understand what you are asking for. Can you give me maybe a more concrete example. You can now create a m3u playlist from the web interface by queuing up the songs you want in the playlist and then clicking on download. But I think you are asking for a way to create a shout/icecast .pls file from a web page, is that right? -dean