public Task RegisterLocallyKnownMediaItemAspectTypeAsync(MediaItemAspectMetadata miam) { IMediaLibrary mediaLibrary = ServiceRegistration.Get <IMediaLibrary>(); mediaLibrary.AddMediaItemAspectStorage(miam); return(Task.CompletedTask); }
public void RegisterLocallyKnownMediaItemAspectType(MediaItemAspectMetadata miam) { IMediaLibrary mediaLibrary = ServiceRegistration.Get <IMediaLibrary>(); mediaLibrary.AddMediaItemAspectStorage(miam); }