Frank:
I've tried both rebooting and disconnecting power. After it boots, I'm right where I left off, READY TO PLAY whatever was playing before. But it's in stopped mode, waiting for a click to play.
by timflan » 12 Jun 2017, 16:28
by hondagx35 » 13 Jun 2017, 16:58
by timflan » 14 Jun 2017, 19:19
by hondagx35 » 14 Jun 2017, 21:12
by timflan » 14 Jun 2017, 21:54
by petfr » 31 Oct 2017, 17:36
by janui » 10 Nov 2017, 21:58
...
[Service]
ExecStartPre=/usr/bin/sleep 5
ExecStart=/usr/local/bin/ashuffle
...
systemctl daemon-reload
systemctl enable ashuffle
systemctl start ashuffle
systemctl stop ashuffle
systemctl disable ashuffle
systemctl start ashuffle
by petfr » 12 Nov 2017, 12:25
by hondagx35 » 12 Nov 2017, 23:18
if ($all_mounted === 0) {
runelog('wrk_SY: try to mount all shares!');
$all_mounted = wrk_sourcemount($redis, 'mountall');
if ($all_mounted === 1) {
runelog('wrk_SY: all shares mounted successfully!');
// start play if enabled
if ($redis->get('mpd_autoplay') === '1') {
sysCmd('/usr/bin/mpc play');
}
} else {
$retries_mounting++;
runelog('wrk_SY: error mounting shares, try it again! Count: '.$retries_mounting);
if ($retries_mounting > 20) {
$all_mounted = 1;
runelog('wrk_SY: mounting: tried it 20 times (10 seconds) => capitulating!');
ui_notify_async('ERROR','Failed to mount network shares');
}
usleep(500000);
}
}
// start play if enabled
if ($redis->get('mpd_autoplay') === '1') {
sysCmd('/usr/bin/mpc play');
}
if ($all_mounted === 0) {
runelog('wrk_SY: try to mount all shares!');
$all_mounted = wrk_sourcemount($redis, 'mountall');
if ($all_mounted === 1) {
runelog('wrk_SY: all shares mounted successfully!');
} else {
$retries_mounting++;
runelog('wrk_SY: error mounting shares, try it again! Count: '.$retries_mounting);
if ($retries_mounting > 20) {
$all_mounted = 1;
runelog('wrk_SY: mounting: tried it 20 times (10 seconds) => capitulating!');
ui_notify_async('ERROR','Failed to mount network shares');
}
usleep(500000);
}
}
by petfr » 13 Nov 2017, 12:20
support RuneAudio