···117117 var oldCaption = Captions[i];
118118119119 // Only update this caption if it has the same name or if it's on the same channel.
120120- if (oldCaption.Name != newCaption.Name && oldCaption.Channel != newCaption.Channel)
120120+ if (oldCaption.Channel != newCaption.Channel)
121121 continue;
122122123123 oldCaption.LastHeard = newCaption.LastHeard;
···131131132132 return;
133133 }
134134-135135- _api.Logger.Debug("[CAPTION] New caption: " + newCaption.Name + " in channel " + newCaption.Channel + " with tags " + string.Join(", ", newCaption.Tags));
136134137135 // No existing caption, add a new one.
138136 Captions.Add(newCaption);
+3-3
ClosedCaptions/LoadedCaptionData.cs
···4455public class LoadedCaptionData
66{
77- public readonly string Channel = null;
88- public readonly int Priority = 1;
99- public readonly List<string> Tags = [];
77+ public string Channel = null;
88+ public int Priority = 1;
99+ public List<string> Tags = [];
1010}