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