[ LoveTrackOnLastfm::class, ], SongStartedPlaying::class => [ UpdateLastfmNowPlaying::class, ], LibraryChanged::class => [ TidyLibrary::class, ClearMediaCache::class, ], MediaCacheObsolete::class => [ ClearMediaCache::class, ], AlbumInformationFetched::class => [ DownloadAlbumCover::class, ], ArtistInformationFetched::class => [ DownloadArtistImage::class, ], ]; /** * Register any other events for your application. */ public function boot(): void { parent::boot(); Song::observe(SongObserver::class); Album::observe(AlbumObserver::class); } }