• Skip to content
  • Skip to link menu
Noatun
  • Noatun Homepage / Documentation / Playlist Format
 
 

XML Playlist Format

This format should hopefully be shared by at least alsaplayer and noatun, in our effort to avoid ls dumps :)

<!DOCTYPE XMLPlaylist><playlist version="1.0" client="noatun">
 <item title="Song Title" url="url" local="local" length="length of song in seconds" />
</playlist>

Version was just added to <playlist>, it represents the version of the playlist format, which currently is set at 1.0.

Attributes for <item> are:
  • title - Title of song
  • url - URL of file, if local, probably should have file:/
  • local - if a local file, or a remove downloaded file (no file:/, just path)
  • comments - Comments (like from an ID3 tag)
  • author - Artist (e.g. ID3)
  • length - length of song in seconds, or -1 if unknown
  • album - album (ID3)
  • date - date of song (ID3)

Perhaps more as we see more need. You can always add nonstandard ones for your own playlist, or metadata from the player.

<entergroup title="My Techno Files" />
Changes:
  • Made group into entergroup so that lesser playlists have it easier to implement
  • s/artist/author/ because not all files have "Artists" but all have "Authors"
  • Added a "version" property to <playlist>

[ Edit ]

Inform

Skip menu "Inform"
  • Home
  • KDE Home
  • News
  • Screenshots
  • Documentation
    • FAQ
    • Playlist Format
    • Noatun 2.2 Help
    • Noatun 2.x Development Handbook
    • Noatun 2.2 (KDE 3.1.x) API Reference
    • Noatun 3.0 'make-it-snow' (KDE SVN) API Reference
  • Quotes
  • Plugins

Global navigation links

  • KDE Home
  • KDE Accessibility Home
  • Description of Access Keys
  • Back to content
  • Back to menu

Search:


Maintained by The KDE Webmaster
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal