mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Rename SyncCommand file
This commit is contained in:
parent
cd84735a08
commit
69cfab9515
2 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@ use Exception;
|
|||
use Illuminate\Console\Command;
|
||||
use Symfony\Component\Console\Helper\ProgressBar;
|
||||
|
||||
class SyncMediaCommand extends Command
|
||||
class SyncCommand extends Command
|
||||
{
|
||||
protected $signature = 'koel:sync
|
||||
{record? : A single watch record. Consult Wiki for more info.}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Console\Commands\SyncMediaCommand;
|
||||
use App\Console\Commands\SyncCommand;
|
||||
use App\Events\LibraryChanged;
|
||||
use App\Libraries\WatchRecord\WatchRecordInterface;
|
||||
use App\Models\Album;
|
||||
|
@ -85,7 +85,7 @@ class MediaSyncService
|
|||
* Only taken into account for existing records.
|
||||
* New records will have all tags synced in regardless.
|
||||
* @param bool $force Whether to force syncing even unchanged files
|
||||
* @param SyncMediaCommand $syncCommand The SyncMedia command object, to log to console if executed by artisan.
|
||||
* @param SyncCommand $syncCommand The SyncMedia command object, to log to console if executed by artisan.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
|
@ -93,7 +93,7 @@ class MediaSyncService
|
|||
?string $mediaPath = null,
|
||||
array $tags = [],
|
||||
bool $force = false,
|
||||
?SyncMediaCommand $syncCommand = null
|
||||
?SyncCommand $syncCommand = null
|
||||
): void {
|
||||
$this->setSystemRequirements();
|
||||
$this->setTags($tags);
|
||||
|
|
Loading…
Reference in a new issue