mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Some tweaks and fixes for sync cmd
This commit is contained in:
parent
373870fefb
commit
140de34615
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class SyncMediaCommand extends Command
|
|||
*/
|
||||
protected function syncAll(): void
|
||||
{
|
||||
$this->info('Koel syncing started.'.PHP_EOL);
|
||||
$this->info('Syncing media from ' . Setting::get('media_path') .PHP_EOL);
|
||||
|
||||
// Get the tags to sync.
|
||||
// Notice that this is only meaningful for existing records.
|
||||
|
@ -135,7 +135,7 @@ class SyncMediaCommand extends Command
|
|||
$this->warn("Media path hasn't been configured. Let's set it up.");
|
||||
|
||||
while (true) {
|
||||
$path = $this->ask('Absolute path to your media directory:');
|
||||
$path = $this->ask('Absolute path to your media directory');
|
||||
|
||||
if (is_dir($path) && is_readable($path)) {
|
||||
Setting::set('media_path', $path);
|
||||
|
|
Loading…
Reference in a new issue