Kalliope PlayList

From Wikipedia, the free encyclopedia

Kalliope Playlist is a format of media files playlist similar to M3U or PLS but based on XML language. Kalliope Playlist is developed to speed up playlist loading process and in some cases it can be much more efficient than popular M3U or PLS.

[edit] Format

According to specification of Kalliope Playlist 1.0, file is divided into two logical parts: a playlist and information. A Sample playlist in this format:

<xml>
  <0 filename="relative path to file 0">
    <tag artist="Artist 0" album="Album 0" title="Title 0" year="Unknown Year" comment="" genre="Other" track="3" gid="12" has_tag="True"/>
  </0>
  <1 filename="relative path to file 1">
    <tag artist="Artist 1" album="Album 1" title="Title 1" year="2004" comment="Comment for this track" genre="Rock" track="12" gid="17" has_tag="True"/>
  </1>
  <2 filename="relative path to file 2">
    <tag artist="Artist 2" album="Album 2" title="Title 2" year="Unknown Year" comment="" genre="" track="9" gid="255" has_tag="True"/>
  </2>
  <3 filename=" relative path to file 3">
    <tag artist="Artist 3" album="Album 3" title="Title 3" year="Unknown Year" comment="" genre="Other" track="7" gid="12" has_tag="True"/>
  </3>
  <4 filename="relative path to file 4">
    <tag artist="Artist 4" album="Album 4" title="Title 4" year="1996" comment="Track 9" genre="Metal" track="9" gid="9" has_tag="True"/>
  </4>
  <info creation_day="2006-08-05" modified_day="2006-08-05" author="" player="player name" player_version="real player version kpl_version="1"/>
</xml>

The most important part is info. It describes some useful information like for example a specification number which was used to write this playlist so player which will load it next time will exactly know what specification use. It is important because other specifications can be different and player may not know how to load it without described which specification was used. Other info data is optional and used only for statistical purposes The second part is playlist. This tags have names from 0 to number of files in playlist. The only one parameter of this tag if filename which is a relative path to file. Every playlist entry also has to have described tag as in example above.

[edit] Development

Kalliope Playlist is highly extensible and can be extended in many ways. To prevent situation that there are more than one specification with the same number Kalliope s.c. company takes care of it. The only official specifications are from this company

[edit] External links

Wikimedia Commons has media related to: