Added a Source class which executes HandBrake -t 0 to list the available titles and streams in a given source. Added a placeholder on the source-details page to display HandBrake output
27 lines
410 B
Smarty
27 lines
410 B
Smarty
<h2>Source details</h2>
|
|
|
|
{if $source}
|
|
<table class="source-details">
|
|
<colgroup class="header">
|
|
<col />
|
|
</colgroup>
|
|
<colgroup>
|
|
<col />
|
|
</colgroup>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>Source</th>
|
|
<td>{$source_path|escape:"html"}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Output</th>
|
|
<td>{$output|escape:"html"}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{else}
|
|
<p>
|
|
<em>This is not a valid source.</em>
|
|
</p>
|
|
{/if} |