private async void OnItemPlayed(object sender, ItemPlayedEventArgs e)
        {
            ItemPlayedNotification notification = new ItemPlayedNotification();

            notification.Type = NotificationType.ItemPlayed;
            notification.Item = e.Item;

            await BroadcastAsync(notification);
        }
Exemplo n.º 2
0
 public ItemPlayedEventArgs(ItemPlayedNotification notification)
     : this(notification.Item)
 {
 }