In this post I would like to once again touch upon the topic of playlists from the perspective of listening to music from the Internet. As I already
wrote , the Veborama gives you the opportunity to listen to music not through the site, but through your favorite media player (and not only, but about this next time). Of the two options for providing such an opportunity, namely streaming and playlists, we chose playlists. Of all the playlist options,
XSPF was chosen.
First you need to make a small digression, and explain why we choose playlists at all, rather than streaming. The fact is that in the future we want to give people the opportunity to change the mood and genre of the ether right on the fly, as it is now on Webcam. In the case of Broadcast with one stream, it will be very problematic to change the broadcast for each user. On the other hand, playlists are very bad because they are finite. There are no standard mechanisms for picking up songs when reaching the end of the playlist. But the undoubted advantage of playlists is their flexibility. We can give the user to listen not only to the broadcast of the web, but also to individual albums, his own collections, and indeed everything. So to say Audio on Demand. :)
In any case, that with the stream, that with playlists, plug-ins for players are needed in the future to unlock the potential of the Aborama. Since playlists seem to us a more convenient means of delivering content to the user, let's stop at them.
')
Xspf
XSPF (pronounced “spiff”) is a format for storing a list of links to media files with their meta information. Simply put, this is a regular playlist. :) But he has features that distinguish him from a number of competitors including the very popular
M3U .
The most important advantage of XSPF is that it is based on XML, which means it is easy to integrate into any media player. What I liked the most when we added our Weborama-specific tags and attributes (for example, mood and genres) to standard XSPF, the playlist was normally played by all experimental players. This means that the format can be expanded to suit their needs, without fear that it will become invalid.
From the general "goodies", it can be noted that XSPF can be used absolutely freely, without any legal restrictions.
Related Links
Official site
XSPF Web Player (can be embedded in Firefox)
By the way, we saw a solution to the problem of the finite playlist. They suggested the idea that the last element of the playlist is not a link to a media file, but a link to the next playlist. Thus, the player at the end of the playback just asks for more music and continues to play.
Successful XSPF implementations, tools for working with it, etc.
Webcams Live on XSPF