private async void OnItemPlayed(object sender, ItemPlayedEventArgs e) { ItemPlayedNotification notification = new ItemPlayedNotification(); notification.Type = NotificationType.ItemPlayed; notification.Item = e.Item; await BroadcastAsync(notification); }
public ItemPlayedEventArgs(ItemPlayedNotification notification) : this(notification.Item) { }