[ LoveTrackOnLastfm::class, ], SongsBatchLiked::class => [ LoveMultipleTracksOnLastfm::class, ], SongsBatchUnliked::class => [ UnloveMultipleTracksOnLastfm::class, ], SongStartedPlaying::class => [ UpdateLastfmNowPlaying::class, ], LibraryChanged::class => [ PruneLibrary::class, ClearMediaCache::class, ], MediaSyncCompleted::class => [ DeleteNonExistingRecordsPostSync::class, ], ]; public function boot(): void { parent::boot(); Song::observe(SongObserver::class); Album::observe(AlbumObserver::class); } }