SyncMetadataCommand
extends Command
Table of Contents
Properties
-
$description
: mixed
-
$signature
: mixed
-
$metadataSyncService
: MetadataJobDispatcher
Methods
-
__construct()
: mixed
-
handle()
: int
-
createProgressCallback()
: callable
$description
protected
mixed
$description
= 'Sync metadata from external sources (MusicBrainz, Discogs) for albums, songs, and artists'
$signature
protected
mixed
$signature
= 'metadata:sync
{--album=* : Specific album IDs to sync}
{--song=* : Specific song IDs to sync}
{--artist=* : Specific artist IDs to sync}
{--library= : Library ID to sync}
{--include-songs : Include songs when syncing albums}
{--include-artists : Include artists when syncing albums}
{--force : Force update existing metadata}
{--batch-size=10 : Number of items to process in each batch}
{--queue=default : Queue name for processing jobs}'
private
MetadataJobDispatcher
$metadataSyncService
__construct()
public
__construct(MetadataJobDispatcher $metadataSyncService) : mixed
Parameters
-
$metadataSyncService
: MetadataJobDispatcher
-
handle()
public
handle() : int
createProgressCallback()
private
createProgressCallback() : callable