Compare commits
10 Commits
feature-la
...
release-0.
| Author | SHA1 | Date | |
|---|---|---|---|
| d2f678427b | |||
| b9d624c345 | |||
| 1f6ef74030 | |||
| 1049f5e708 | |||
| 05b19e68de | |||
| aa6685ce3d | |||
| 311b93772c | |||
| a4e34b3b8e | |||
| 537c49751b | |||
| 662f38b85c |
@@ -11,7 +11,7 @@ start() {
|
|||||||
ebegin "Starting ripping-cluster-worker"
|
ebegin "Starting ripping-cluster-worker"
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
--background --make-pidfile --pidfile ${PID_FILE} \
|
--background --make-pidfile --pidfile ${PID_FILE} \
|
||||||
--chuid ${USER} --user ${USER} \
|
--user ${USER} \
|
||||||
--exec /usr/bin/php /usr/lib/ripping-cluster/source/worker/ripping-cluster-worker.php
|
--exec /usr/bin/php /usr/lib/ripping-cluster/source/worker/ripping-cluster-worker.php
|
||||||
eend $? "Failed to start ripping-cluster-worker"
|
eend $? "Failed to start ripping-cluster-worker"
|
||||||
}
|
}
|
||||||
@@ -23,7 +23,9 @@ stop() {
|
|||||||
local ret=$?
|
local ret=$?
|
||||||
|
|
||||||
eend ${ret} "Failed to stop ripping-cluster-worker"
|
eend ${ret} "Failed to stop ripping-cluster-worker"
|
||||||
${ret} || rm -f ${PID_FILE}
|
if [[ "${ret}" == 0 ]]; then
|
||||||
|
rm -f ${PID_FILE}
|
||||||
|
fi
|
||||||
|
|
||||||
return ${ret}
|
return ${ret}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class RippingCluster_Main extends SihnonFramework_Main {
|
|||||||
$this->smarty->registerPlugin('modifier', 'formatDuration', array('RippingCluster_Main', 'formatDuration'));
|
$this->smarty->registerPlugin('modifier', 'formatDuration', array('RippingCluster_Main', 'formatDuration'));
|
||||||
$this->smarty->registerPlugin('modifier', 'formatFilesize', array('RippingCluster_Main', 'formatFilesize'));
|
$this->smarty->registerPlugin('modifier', 'formatFilesize', array('RippingCluster_Main', 'formatFilesize'));
|
||||||
|
|
||||||
$this->smarty->assign('version', '0.3');
|
$this->smarty->assign('version', '0.4.1');
|
||||||
$this->smarty->assign('messages', array());
|
$this->smarty->assign('messages', array());
|
||||||
|
|
||||||
$this->smarty->assign('base_uri', $this->base_uri);
|
$this->smarty->assign('base_uri', $this->base_uri);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if ($req->exists('submit')) {
|
|||||||
|
|
||||||
// Update the recently used list
|
// Update the recently used list
|
||||||
$recent_output_directories = $config->get('rips.output_directories.recent');
|
$recent_output_directories = $config->get('rips.output_directories.recent');
|
||||||
if (( $key = array_search($_POST['rip-options']['output-directory'], $recent_output_directories, true))) {
|
if (( $key = array_search($_POST['rip-options']['output-directory'], $recent_output_directories, true)) >= 0) {
|
||||||
// Move the entry to the top of the recently used list if necessary
|
// Move the entry to the top of the recently used list if necessary
|
||||||
$recent_directory = array_splice($recent_output_directories, $key, 1);
|
$recent_directory = array_splice($recent_output_directories, $key, 1);
|
||||||
if ($key > 0) {
|
if ($key > 0) {
|
||||||
|
|||||||
@@ -85,11 +85,11 @@
|
|||||||
|
|
||||||
<footer class="no-print">
|
<footer class="no-print">
|
||||||
<p>
|
<p>
|
||||||
Powered by RippingCluster WebUI {$version}. Written by Ben Roberts.
|
Powered by RippingCluster WebUI {$version}. Written by
|
||||||
|
<a xmlns:cc="http://creativecommons.org/ns#" href="http://benroberts.net" property="cc:attributionName" rel="cc:attributionURL">Ben Roberts</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
This work by <a xmlns:cc="http://creativecommons.org/ns#" href="http://benroberts.net" property="cc:attributionName" rel="cc:attributionURL">Ben Roberts</a>
|
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.
|
||||||
is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
|
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
|
||||||
|
|||||||
Reference in New Issue
Block a user