40 lines
2.5 KiB
PHTML
40 lines
2.5 KiB
PHTML
<?php if($this->type == "audioclip") : ?>
|
|
<div><span>Title:</span><span><?php echo ($this->md["MDATA_KEY_TITLE"]);?></span></div>
|
|
<div><span>Creator:</span><span><?php echo ($this->md["MDATA_KEY_CREATOR"]);?></span></div>
|
|
<div><span>Album:</span><span><?php echo ($this->md["MDATA_KEY_SOURCE"]);?></span></div>
|
|
<div><span>Track:</span><span><?php echo ($this->md["MDATA_KEY_TRACKNUMBER"]);?></span></div>
|
|
<div><span>Length:</span><span><?php echo ($this->md["MDATA_KEY_DURATION"]);?></span></div>
|
|
<div><span>Sample Rate:</span><span><?php echo ($this->md["MDATA_KEY_SAMPLERATE"]);?></span></div>
|
|
<div><span>Bit Rate:</span><span><?php echo ($this->md["MDATA_KEY_BITRATE"]);?></span></div>
|
|
<div><span>Mood:</span><span><?php echo ($this->md["MDATA_KEY_MOOD"]);?></span></div>
|
|
<div><span>Genre:</span><span><?php echo ($this->md["MDATA_KEY_GENRE"]);?></span></div>
|
|
<div><span>Year:</span><span><?php echo ($this->md["MDATA_KEY_YEAR"]);?></span></div>
|
|
<div><span>Label:</span><span><?php echo ($this->md["MDATA_KEY_LABEL"]);?></span></div>
|
|
<div><span>BPM:</span><span><?php echo ($this->md["MDATA_KEY_BPM"]);?></span></div>
|
|
<div><span>Composer:</span><span><?php echo ($this->md["MDATA_KEY_COMPOSER"]);?></span></div>
|
|
<div><span>Conductor:</span><span><?php echo ($this->md["MDATA_KEY_CONDUCTOR"]);?></span></div>
|
|
<div><span>Copyright:</span><span><?php echo ($this->md["MDATA_KEY_COPYRIGHT"]);?></span></div>
|
|
<div><span>Isrc Number:</span><span><?php echo ($this->md["MDATA_KEY_ISRC"]);?></span></div>
|
|
<div><span>Website:</span><span><?php echo ($this->md["MDATA_KEY_URL"]);?></span></div>
|
|
<div><span>Language:</span><span><?php echo ($this->md["MDATA_KEY_LANGUAGE"]);?></span></div>
|
|
<div><span>File Path:</span><span><?php echo ($this->md["MDATA_KEY_FILEPATH"]);?></span></div>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if($this->type == "playlist") : ?>
|
|
<div><span>Name:</span><span><?php echo ($this->md["dc:title"]);?></span></div>
|
|
<div><span>Creator:</span><span><?php echo ($this->md["dc:creator"]);?></span></div>
|
|
<div><span>Length:</span><span><?php echo ($this->md["dcterms:extent"]);?></span></div>
|
|
<div><span>Description:</span><span><?php echo ($this->md["dc:description"]);?></span></div>
|
|
<div><span>Contents: </span>
|
|
<?php foreach($this->contents as $row) : ?>
|
|
<div>
|
|
<span><?php echo $row["track_title"] ?></span>
|
|
<span><?php echo $row["creator"] ?></span>
|
|
<span><?php echo $row["album_title"] ?></span>
|
|
<span><?php echo $row["length"] ?></span>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
<?php endif; ?>
|