From 389367fec80561548c6d0771242712f675f95319 Mon Sep 17 00:00:00 2001 From: Ionut Andrei Oanca Date: Thu, 3 Dec 2020 15:41:34 +0100 Subject: [PATCH] Rename 'track' into 'item' in SyncPlay --- .../Controllers/SyncPlayController.cs | 52 +++++++++---------- .../GroupStates/AbstractGroupState.cs | 4 +- .../SyncPlay/GroupStates/IdleGroupState.cs | 4 +- .../SyncPlay/GroupStates/PausedGroupState.cs | 4 +- .../SyncPlay/GroupStates/PlayingGroupState.cs | 4 +- .../SyncPlay/GroupStates/WaitingGroupState.cs | 12 ++--- .../SyncPlay/IGroupState.cs | 12 ++--- ...roupRequest.cs => NextItemGroupRequest.cs} | 10 ++-- ...Request.cs => PreviousItemGroupRequest.cs} | 10 ++-- .../SyncPlay/PlayQueueUpdateReason.cs | 4 +- .../SyncPlay/PlaybackRequestType.cs | 8 +-- ...kRequestBody.cs => NextItemRequestBody.cs} | 8 +-- ...uestBody.cs => PreviousItemRequestBody.cs} | 8 +-- 13 files changed, 70 insertions(+), 70 deletions(-) rename MediaBrowser.Controller/SyncPlay/PlaybackRequests/{NextTrackGroupRequest.cs => NextItemGroupRequest.cs} (77%) rename MediaBrowser.Controller/SyncPlay/PlaybackRequests/{PreviousTrackGroupRequest.cs => PreviousItemGroupRequest.cs} (81%) rename MediaBrowser.Model/SyncPlay/RequestBodies/{NextTrackRequestBody.cs => NextItemRequestBody.cs} (67%) rename MediaBrowser.Model/SyncPlay/RequestBodies/{PreviousTrackRequestBody.cs => PreviousItemRequestBody.cs} (76%) diff --git a/Jellyfin.Api/Controllers/SyncPlayController.cs b/Jellyfin.Api/Controllers/SyncPlayController.cs index 763940c73..f8bbed9c4 100644 --- a/Jellyfin.Api/Controllers/SyncPlayController.cs +++ b/Jellyfin.Api/Controllers/SyncPlayController.cs @@ -108,14 +108,14 @@ namespace Jellyfin.Api.Controllers } /// - /// Request play in SyncPlay group. + /// Request to set new playlist in SyncPlay group. /// /// The new playlist to play in the group. - /// Play request sent to all group members. + /// Queue update sent to all group members. /// A indicating success. - [HttpPost("Play")] + [HttpPost("SetNewQueue")] [ProducesResponseType(StatusCodes.Status204NoContent)] - public ActionResult SyncPlayPlay( + public ActionResult SyncPlaySetNewQueue( [FromBody, Required] PlayRequestBody requestData) { var currentSession = RequestHelpers.GetSession(_sessionManager, _authorizationContext, Request); @@ -131,7 +131,7 @@ namespace Jellyfin.Api.Controllers /// Request to change playlist item in SyncPlay group. /// /// The new item to play. - /// Queue update request sent to all group members. + /// Queue update sent to all group members. /// A indicating success. [HttpPost("SetPlaylistItem")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -148,7 +148,7 @@ namespace Jellyfin.Api.Controllers /// Request to remove items from the playlist in SyncPlay group. /// /// The items to remove. - /// Queue update request sent to all group members. + /// Queue update sent to all group members. /// A indicating success. [HttpPost("RemoveFromPlaylist")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -165,7 +165,7 @@ namespace Jellyfin.Api.Controllers /// Request to move an item in the playlist in SyncPlay group. /// /// The new position for the item. - /// Queue update request sent to all group members. + /// Queue update sent to all group members. /// A indicating success. [HttpPost("MovePlaylistItem")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -182,7 +182,7 @@ namespace Jellyfin.Api.Controllers /// Request to queue items to the playlist of a SyncPlay group. /// /// The items to add. - /// Queue update request sent to all group members. + /// Queue update sent to all group members. /// A indicating success. [HttpPost("Queue")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -198,7 +198,7 @@ namespace Jellyfin.Api.Controllers /// /// Request unpause in SyncPlay group. /// - /// Unpause request sent to all group members. + /// Unpause update sent to all group members. /// A indicating success. [HttpPost("Unpause")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -213,7 +213,7 @@ namespace Jellyfin.Api.Controllers /// /// Request pause in SyncPlay group. /// - /// Pause request sent to all group members. + /// Pause update sent to all group members. /// A indicating success. [HttpPost("Pause")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -228,7 +228,7 @@ namespace Jellyfin.Api.Controllers /// /// Request stop in SyncPlay group. /// - /// Stop request sent to all group members. + /// Stop update sent to all group members. /// A indicating success. [HttpPost("Stop")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -244,7 +244,7 @@ namespace Jellyfin.Api.Controllers /// Request seek in SyncPlay group. /// /// The new playback position. - /// Seek request sent to all group members. + /// Seek update sent to all group members. /// A indicating success. [HttpPost("Seek")] [ProducesResponseType(StatusCodes.Status204NoContent)] @@ -317,35 +317,35 @@ namespace Jellyfin.Api.Controllers } /// - /// Request next track in SyncPlay group. + /// Request next item in SyncPlay group. /// - /// The current track information. - /// Next track request sent to all group members. + /// The current item information. + /// Next item update sent to all group members. /// A indicating success. - [HttpPost("NextTrack")] + [HttpPost("NextItem")] [ProducesResponseType(StatusCodes.Status204NoContent)] - public ActionResult SyncPlayNextTrack( - [FromBody, Required] NextTrackRequestBody requestData) + public ActionResult SyncPlayNextItem( + [FromBody, Required] NextItemRequestBody requestData) { var currentSession = RequestHelpers.GetSession(_sessionManager, _authorizationContext, Request); - var syncPlayRequest = new NextTrackGroupRequest(requestData.PlaylistItemId); + var syncPlayRequest = new NextItemGroupRequest(requestData.PlaylistItemId); _syncPlayManager.HandleRequest(currentSession, syncPlayRequest, CancellationToken.None); return NoContent(); } /// - /// Request previous track in SyncPlay group. + /// Request previous item in SyncPlay group. /// - /// The current track information. - /// Previous track request sent to all group members. + /// The current item information. + /// Previous item update sent to all group members. /// A indicating success. - [HttpPost("PreviousTrack")] + [HttpPost("PreviousItem")] [ProducesResponseType(StatusCodes.Status204NoContent)] - public ActionResult SyncPlayPreviousTrack( - [FromBody, Required] PreviousTrackRequestBody requestData) + public ActionResult SyncPlayPreviousItem( + [FromBody, Required] PreviousItemRequestBody requestData) { var currentSession = RequestHelpers.GetSession(_sessionManager, _authorizationContext, Request); - var syncPlayRequest = new PreviousTrackGroupRequest(requestData.PlaylistItemId); + var syncPlayRequest = new PreviousItemGroupRequest(requestData.PlaylistItemId); _syncPlayManager.HandleRequest(currentSession, syncPlayRequest, CancellationToken.None); return NoContent(); } diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs index 0b15e3ae4..5e3d4a252 100644 --- a/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs @@ -157,13 +157,13 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public virtual void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public virtual void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { UnhandledRequest(request); } /// - public virtual void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public virtual void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { UnhandledRequest(request); } diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs index 7730a298c..8074d5a96 100644 --- a/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs @@ -93,7 +93,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Change state. var waitingState = new WaitingGroupState(LoggerFactory); @@ -102,7 +102,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Change state. var waitingState = new WaitingGroupState(LoggerFactory); diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs index 90411f61b..28e5db950 100644 --- a/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs @@ -145,7 +145,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Change state. var waitingState = new WaitingGroupState(LoggerFactory); @@ -154,7 +154,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Change state. var waitingState = new WaitingGroupState(LoggerFactory); diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs index aab87d9c3..278a0af08 100644 --- a/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs @@ -148,7 +148,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Change state. var waitingState = new WaitingGroupState(LoggerFactory); @@ -157,7 +157,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Change state. var waitingState = new WaitingGroupState(LoggerFactory); diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs index fefb8067f..f5f603c29 100644 --- a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs @@ -560,7 +560,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Save state if first event. if (!InitialStateSet) @@ -582,7 +582,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates if (newItem) { // Send playing-queue update. - var playQueueUpdate = context.GetPlayQueueUpdate(PlayQueueUpdateReason.NextTrack); + var playQueueUpdate = context.GetPlayQueueUpdate(PlayQueueUpdateReason.NextItem); var update = context.NewSyncPlayGroupUpdate(GroupUpdateType.PlayQueue, playQueueUpdate); context.SendGroupUpdate(session, SyncPlayBroadcastType.AllGroup, update, cancellationToken); @@ -601,12 +601,12 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates context.SetState(newState); - _logger.LogDebug("No next track available in group {GroupId}.", context.GroupId.ToString()); + _logger.LogDebug("No next item available in group {GroupId}.", context.GroupId.ToString()); } } /// - public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken) + public override void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken) { // Save state if first event. if (!InitialStateSet) @@ -628,7 +628,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates if (newItem) { // Send playing-queue update. - var playQueueUpdate = context.GetPlayQueueUpdate(PlayQueueUpdateReason.PreviousTrack); + var playQueueUpdate = context.GetPlayQueueUpdate(PlayQueueUpdateReason.PreviousItem); var update = context.NewSyncPlayGroupUpdate(GroupUpdateType.PlayQueue, playQueueUpdate); context.SendGroupUpdate(session, SyncPlayBroadcastType.AllGroup, update, cancellationToken); @@ -647,7 +647,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates context.SetState(newState); - _logger.LogDebug("No previous track available in group {GroupId}.", context.GroupId.ToString()); + _logger.LogDebug("No previous item available in group {GroupId}.", context.GroupId.ToString()); } } diff --git a/MediaBrowser.Controller/SyncPlay/IGroupState.cs b/MediaBrowser.Controller/SyncPlay/IGroupState.cs index 0028823b4..89a8e2e2e 100644 --- a/MediaBrowser.Controller/SyncPlay/IGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/IGroupState.cs @@ -155,24 +155,24 @@ namespace MediaBrowser.Controller.SyncPlay void HandleRequest(IGroupStateContext context, GroupStateType prevState, ReadyGroupRequest request, SessionInfo session, CancellationToken cancellationToken); /// - /// Handles a next-track request from a session. Context's state can change. + /// Handles a next-item request from a session. Context's state can change. /// /// The context of the state. /// The previous state. - /// The next-track request. + /// The next-item request. /// The session. /// The cancellation token. - void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken); + void HandleRequest(IGroupStateContext context, GroupStateType prevState, NextItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken); /// - /// Handles a previous-track request from a session. Context's state can change. + /// Handles a previous-item request from a session. Context's state can change. /// /// The context of the state. /// The previous state. - /// The previous-track request. + /// The previous-item request. /// The session. /// The cancellation token. - void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousTrackGroupRequest request, SessionInfo session, CancellationToken cancellationToken); + void HandleRequest(IGroupStateContext context, GroupStateType prevState, PreviousItemGroupRequest request, SessionInfo session, CancellationToken cancellationToken); /// /// Handles a set-repeat-mode request from a session. Context's state should not change. diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextTrackGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.cs similarity index 77% rename from MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextTrackGroupRequest.cs rename to MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.cs index 73b7d0908..ab60265a6 100644 --- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextTrackGroupRequest.cs +++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.cs @@ -5,15 +5,15 @@ using MediaBrowser.Model.SyncPlay; namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests { /// - /// Class NextTrackGroupRequest. + /// Class NextItemGroupRequest. /// - public class NextTrackGroupRequest : AbstractPlaybackRequest + public class NextItemGroupRequest : AbstractPlaybackRequest { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The playing item identifier. - public NextTrackGroupRequest(string playlistItemId) + public NextItemGroupRequest(string playlistItemId) { PlaylistItemId = playlistItemId; } @@ -25,7 +25,7 @@ namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests public string PlaylistItemId { get; } /// - public override PlaybackRequestType Action { get; } = PlaybackRequestType.NextTrack; + public override PlaybackRequestType Action { get; } = PlaybackRequestType.NextItem; /// public override void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken) diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousTrackGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.cs similarity index 81% rename from MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousTrackGroupRequest.cs rename to MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.cs index 4c70beb0e..445c5fce6 100644 --- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousTrackGroupRequest.cs +++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.cs @@ -5,15 +5,15 @@ using MediaBrowser.Model.SyncPlay; namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests { /// - /// Class PreviousTrackGroupRequest. + /// Class PreviousItemGroupRequest. /// - public class PreviousTrackGroupRequest : AbstractPlaybackRequest + public class PreviousItemGroupRequest : AbstractPlaybackRequest { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The playing item identifier. - public PreviousTrackGroupRequest(string playlistItemId) + public PreviousItemGroupRequest(string playlistItemId) { PlaylistItemId = playlistItemId; } @@ -25,7 +25,7 @@ namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests public string PlaylistItemId { get; } /// - public override PlaybackRequestType Action { get; } = PlaybackRequestType.PreviousTrack; + public override PlaybackRequestType Action { get; } = PlaybackRequestType.PreviousItem; /// public override void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken) diff --git a/MediaBrowser.Model/SyncPlay/PlayQueueUpdateReason.cs b/MediaBrowser.Model/SyncPlay/PlayQueueUpdateReason.cs index e78940fe6..b609f4b1b 100644 --- a/MediaBrowser.Model/SyncPlay/PlayQueueUpdateReason.cs +++ b/MediaBrowser.Model/SyncPlay/PlayQueueUpdateReason.cs @@ -38,12 +38,12 @@ namespace MediaBrowser.Model.SyncPlay /// /// A user is requesting the next item in queue. /// - NextTrack = 6, + NextItem = 6, /// /// A user is requesting the previous item in queue. /// - PreviousTrack = 7, + PreviousItem = 7, /// /// A user is changing repeat mode. diff --git a/MediaBrowser.Model/SyncPlay/PlaybackRequestType.cs b/MediaBrowser.Model/SyncPlay/PlaybackRequestType.cs index 4809dc44f..4429623dd 100644 --- a/MediaBrowser.Model/SyncPlay/PlaybackRequestType.cs +++ b/MediaBrowser.Model/SyncPlay/PlaybackRequestType.cs @@ -61,14 +61,14 @@ namespace MediaBrowser.Model.SyncPlay Ready = 10, /// - /// A user is requesting next track in playlist. + /// A user is requesting next item in playlist. /// - NextTrack = 11, + NextItem = 11, /// - /// A user is requesting previous track in playlist. + /// A user is requesting previous item in playlist. /// - PreviousTrack = 12, + PreviousItem = 12, /// /// A user is setting the repeat mode. diff --git a/MediaBrowser.Model/SyncPlay/RequestBodies/NextTrackRequestBody.cs b/MediaBrowser.Model/SyncPlay/RequestBodies/NextItemRequestBody.cs similarity index 67% rename from MediaBrowser.Model/SyncPlay/RequestBodies/NextTrackRequestBody.cs rename to MediaBrowser.Model/SyncPlay/RequestBodies/NextItemRequestBody.cs index 1d8d135cb..39ce75dc1 100644 --- a/MediaBrowser.Model/SyncPlay/RequestBodies/NextTrackRequestBody.cs +++ b/MediaBrowser.Model/SyncPlay/RequestBodies/NextItemRequestBody.cs @@ -1,14 +1,14 @@ namespace MediaBrowser.Model.SyncPlay.RequestBodies { /// - /// Class NextTrackRequestBody. + /// Class NextItemRequestBody. /// - public class NextTrackRequestBody + public class NextItemRequestBody { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public NextTrackRequestBody() + public NextItemRequestBody() { PlaylistItemId = string.Empty; } diff --git a/MediaBrowser.Model/SyncPlay/RequestBodies/PreviousTrackRequestBody.cs b/MediaBrowser.Model/SyncPlay/RequestBodies/PreviousItemRequestBody.cs similarity index 76% rename from MediaBrowser.Model/SyncPlay/RequestBodies/PreviousTrackRequestBody.cs rename to MediaBrowser.Model/SyncPlay/RequestBodies/PreviousItemRequestBody.cs index 95ebeeb90..671a7291c 100644 --- a/MediaBrowser.Model/SyncPlay/RequestBodies/PreviousTrackRequestBody.cs +++ b/MediaBrowser.Model/SyncPlay/RequestBodies/PreviousItemRequestBody.cs @@ -1,14 +1,14 @@ namespace MediaBrowser.Model.SyncPlay.RequestBodies { /// - /// Class PreviousTrackRequestBody. + /// Class PreviousItemRequestBody. /// - public class PreviousTrackRequestBody + public class PreviousItemRequestBody { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public PreviousTrackRequestBody() + public PreviousItemRequestBody() { PlaylistItemId = string.Empty; }