CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.

This commit is contained in:
Paul Baranowski 2011-04-14 18:55:04 -04:00
parent 514777e8d2
commit b11cbd8159
4546 changed files with 138 additions and 51 deletions

View file

@ -0,0 +1 @@
<br /><br /><center>View script for controller <b>Library</b> and script/action name <b>delete</b></center>

View file

@ -0,0 +1,6 @@
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong">
<h2>Edit Metadata</h2>
<?php $this->form->setAction($this->url());
echo $this->form; ?>
</div>

View file

@ -0,0 +1,47 @@
<?php if($this->type == "au") : ?>
<div><span>Title:</span><span><?php echo ($this->md["dc:title"]);?></span></div>
<div><span>Artist:</span><span><?php echo ($this->md["dc:creator"]);?></span></div>
<div><span>Album:</span><span><?php echo ($this->md["dc:source"]);?></span></div>
<div><span>Track:</span><span><?php echo ($this->md["ls:track_num"]);?></span></div>
<div><span>Length:</span><span><?php echo ($this->md["dcterms:extent"]);?></span></div>
<div><span>Genre:</span><span><?php echo ($this->md["dc:type"]);?></span></div>
<div><span>Sample Rate:</span><span><?php echo ($this->md["ls:samplerate"]);?></span></div>
<div><span>Bit Rate:</span><span><?php echo ($this->md["ls:bitrate"]);?></span></div>
<div><span>Channels:</span><span><?php echo ($this->md["ls:channels"]);?></span></div>
<div><span>Year:</span><span><?php echo ($this->md["ls:year"]);?></span></div>
<div><span>Label:</span><span><?php echo ($this->md["dc:publisher"]);?></span></div>
<div><span>BPM:</span><span><?php echo ($this->md["ls:bpm"]);?></span></div>
<div><span>Channels:</span><span><?php echo ($this->md["ls:channels"]);?></span></div>
<div><span>Orchestra:</span><span><?php echo ($this->md["ls:orchestra"]);?></span></div>
<div><span>Conductor:</span><span><?php echo ($this->md["ls:conductor"]);?></span></div>
<div><span>Copyright:</span><span><?php echo ($this->md["dc:rights"]);?></span></div>
<div><span>Catalog Number:</span><span><?php echo ($this->md["ls:catalognumber"]);?></span></div>
<div><span>Isrc Number:</span><span><?php echo ($this->md["ls:isrcnumber"]);?></span></div>
<div><span>Report Datetime:</span><span><?php echo ($this->md["dcterms:temporal"]);?></span></div>
<div><span>Report Location:</span><span><?php echo ($this->md["dcterms:spatial"]);?></span></div>
<div><span>Report Organization:</span><span><?php echo ($this->md["dcterms:entity"]);?></span></div>
<div><span>Subject:</span><span><?php echo ($this->md["dc:subject"]);?></span></div>
<div><span>Contributor:</span><span><?php echo ($this->md["dc:contributor"]);?></span></div>
<div><span>Language:</span><span><?php echo ($this->md["dc:language"]);?></span></div>
<div><span>Comments:</span><span><?php echo ($this->md["dc:description"]);?></span></div>
<?php endif; ?>
<?php if($this->type == "pl") : ?>
<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["CcFiles"]["track_title"] ?></span>
<span><?php echo $row["CcFiles"]["artist_name"] ?></span>
<span><?php echo $row["CcFiles"]["album_title"] ?></span>
<span><?php echo $row["cliplength"] ?></span>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>

View file

@ -0,0 +1,28 @@
<ul>
<li><a href="#simpleSearch">Search</a></li>
<!--<li><a href="#advancedSearch">Advanced Search</a></li>-->
</ul>
<div id="simpleSearch">
<table id="library_display" cellpadding="0" cellspacing="0" class="datatable">
<thead>
<tr>
<th>Id</th>
<th>Title</th>
<th>Creator</th>
<th>Album</th>
<th>Track</th>
<th>Length</th>
<th>Type</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<!--
<div id="advancedSearch">
<div id="search">
<?php //echo $this->form; ?>
</div>
<div><?php //echo var_dump($this->md); ?></div>
</div>
-->

View file

@ -0,0 +1,8 @@
<?php // libraryTablePartial.phtml ?>
<tr id="<?php echo substr($this->ftype, 0, 2) ?>_<?php echo $this->id ?>">
<td><?php echo $this->track_title ?></td>
<td><?php echo $this->artist_name ?></td>
<td><?php echo $this->album_title ?></td>
<td><?php echo $this->track_number ?></td>
<td><?php echo $this->length ?></td>
</tr>

View file

@ -0,0 +1 @@
<br /><br /><center>View script for controller <b>Library</b> and script/action name <b>search</b></center>

View file

@ -0,0 +1,3 @@
<?php
echo $this->partialLoop('library/libraryTablePartial.phtml', $this->files);