/* * public static void AddFavoriteChannels(IEnumerable<string> channelIds) * { * LogDebug("[TVCore] AddFavoriteChannels()"); * * ChannelFavorites.Clear(); * ChannelFavorites.AddRange(channelIds); * * FavoritesSave(); * } */ /// <summary>Remove a favorite channel using the channel string based ID</summary> /// <param name="channelId">A string based key for the channel to un-favorite</param> public static void RemoveFavoriteChannel(string channelId) { LogDebug($"[TVCore] RemoveFavoriteChannel({channelId})"); if (ChannelFavorites.Contains(channelId)) { ChannelFavorites.Remove(channelId); } FavoritesSave(); }