<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Song (libmpdclient.Mpd.Song)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> â€“ <a href="../../index.html">libmpdclient</a> &#x00BB; <a href="../index.html">Mpd</a> &#x00BB; Song</nav><h1>Module <code>Mpd.Song</code></h1></header><aside><p>Song module used to store and retrieve information of a song based on * mpd tags.</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type </span>t</code></dt><dd><p>Song type</p></dd></dl><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val </span>empty : <a href="index.html#type-t">t</a></code></dt><dd><p>Empty song type</p></dd></dl><dl><dt class="spec value" id="val-parse"><a href="#val-parse" class="anchor"></a><code><span class="keyword">val </span>parse : string list <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>Parse a list of song attributes to a Song.s type</p></dd></dl><dl><dt class="spec value" id="val-album"><a href="#val-album" class="anchor"></a><code><span class="keyword">val </span>album : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-albumsort"><a href="#val-albumsort" class="anchor"></a><code><span class="keyword">val </span>albumsort : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-albumartist"><a href="#val-albumartist" class="anchor"></a><code><span class="keyword">val </span>albumartist : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-albumartistsort"><a href="#val-albumartistsort" class="anchor"></a><code><span class="keyword">val </span>albumartistsort : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-artist"><a href="#val-artist" class="anchor"></a><code><span class="keyword">val </span>artist : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-artistsort"><a href="#val-artistsort" class="anchor"></a><code><span class="keyword">val </span>artistsort : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-comment"><a href="#val-comment" class="anchor"></a><code><span class="keyword">val </span>comment : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-composer"><a href="#val-composer" class="anchor"></a><code><span class="keyword">val </span>composer : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-date"><a href="#val-date" class="anchor"></a><code><span class="keyword">val </span>date : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-disc"><a href="#val-disc" class="anchor"></a><code><span class="keyword">val </span>disc : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-duration"><a href="#val-duration" class="anchor"></a><code><span class="keyword">val </span>duration : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float</code></dt><dt class="spec value" id="val-file"><a href="#val-file" class="anchor"></a><code><span class="keyword">val </span>file : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-genre"><a href="#val-genre" class="anchor"></a><code><span class="keyword">val </span>genre : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-id"><a href="#val-id" class="anchor"></a><code><span class="keyword">val </span>id : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-last_modified"><a href="#val-last_modified" class="anchor"></a><code><span class="keyword">val </span>last_modified : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-name"><a href="#val-name" class="anchor"></a><code><span class="keyword">val </span>name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-performer"><a href="#val-performer" class="anchor"></a><code><span class="keyword">val </span>performer : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-pos"><a href="#val-pos" class="anchor"></a><code><span class="keyword">val </span>pos : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-rate"><a href="#val-rate" class="anchor"></a><code><span class="keyword">val </span>rate : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-time"><a href="#val-time" class="anchor"></a><code><span class="keyword">val </span>time : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-title"><a href="#val-title" class="anchor"></a><code><span class="keyword">val </span>title : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-track"><a href="#val-track" class="anchor"></a><code><span class="keyword">val </span>track : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt></dl></div></body></html>