diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/TroubleshooterController.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/VisualizationController.cs similarity index 87% rename from ConfusedPolarBear.Plugin.IntroSkipper/Controllers/TroubleshooterController.cs rename to ConfusedPolarBear.Plugin.IntroSkipper/Controllers/VisualizationController.cs index fb65bcd..c92b919 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/TroubleshooterController.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/VisualizationController.cs @@ -9,18 +9,18 @@ using Microsoft.AspNetCore.Mvc; namespace ConfusedPolarBear.Plugin.IntroSkipper.Controllers; /// -/// Intro skipper troubleshooting controller. Allows browsing fingerprints on a per episode basis. +/// Audio fingerprint visualization controller. Allows browsing fingerprints on a per episode basis. /// [Authorize(Policy = "RequiresElevation")] [ApiController] [Produces(MediaTypeNames.Application.Json)] [Route("Intros")] -public class TroubleshooterController : ControllerBase +public class VisualizationController : ControllerBase { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public TroubleshooterController() + public VisualizationController() { } @@ -60,11 +60,11 @@ public class TroubleshooterController : ControllerBase /// Season name. /// List of episode titles. [HttpGet("Show/{Series}/{Season}")] - public ActionResult> GetSeasonEpisodes( + public ActionResult> GetSeasonEpisodes( [FromRoute] string series, [FromRoute] string season) { - var episodes = new List(); + var episodes = new List(); foreach (var queuedEpisodes in Plugin.Instance!.AnalysisQueue) { @@ -81,7 +81,7 @@ public class TroubleshooterController : ControllerBase foreach (var queuedEpisode in queuedEpisodes.Value) { - episodes.Add(new TroubleshooterEpisode(queuedEpisode.EpisodeId, queuedEpisode.Name)); + episodes.Add(new EpisodeVisualization(queuedEpisode.EpisodeId, queuedEpisode.Name)); } } diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Data/TroubleshooterEpisode.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Data/EpisodeVisualization.cs similarity index 66% rename from ConfusedPolarBear.Plugin.IntroSkipper/Data/TroubleshooterEpisode.cs rename to ConfusedPolarBear.Plugin.IntroSkipper/Data/EpisodeVisualization.cs index 17e9d61..64bf022 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Data/TroubleshooterEpisode.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Data/EpisodeVisualization.cs @@ -3,16 +3,16 @@ using System; namespace ConfusedPolarBear.Plugin.IntroSkipper; /// -/// Episode name and internal ID as returned by the troubleshooter. +/// Episode name and internal ID as returned by the visualization controller. /// -public class TroubleshooterEpisode +public class EpisodeVisualization { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Episode id. /// Episode name. - public TroubleshooterEpisode(Guid id, string name) + public EpisodeVisualization(Guid id, string name) { Id = id; Name = name;