aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs
diff options
context:
space:
mode:
authorIonut Andrei Oanca <oancaionutandrei@gmail.com>2020-10-21 15:46:50 +0200
committerIonut Andrei Oanca <oancaionutandrei@gmail.com>2020-10-21 15:46:50 +0200
commit93cbf64f884688b667c5403412cb8193dadb251c (patch)
tree243495cf8732a14fda47deeabd0922bdb5c2801e /MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs
parent8819a9d478e6fc11dbfdcff80d9a2dc175953373 (diff)
End comments with a period
Diffstat (limited to 'MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs')
-rw-r--r--MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs b/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs
index 701982cc0..6b4f9401e 100644
--- a/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs
+++ b/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs
@@ -261,9 +261,9 @@ namespace MediaBrowser.Controller.SyncPlay
if (ShuffleMode.Equals(GroupShuffleMode.Shuffle))
{
- // Append items to sorted playlist as they are
+ // Append items to sorted playlist as they are.
SortedPlaylist.AddRange(newItems);
- // Shuffle items before adding to shuffled playlist
+ // Shuffle items before adding to shuffled playlist.
newItems.Shuffle();
ShuffledPlaylist.InsertRange(PlayingItemIndex + 1, newItems);
}
@@ -387,11 +387,11 @@ namespace MediaBrowser.Controller.SyncPlay
{
if (playlistItemIds.Contains(playingItem.PlaylistItemId))
{
- // Playing item has been removed, picking previous item
+ // Playing item has been removed, picking previous item.
PlayingItemIndex--;
if (PlayingItemIndex < 0)
{
- // Was first element, picking next if available
+ // Was first element, picking next if available.
PlayingItemIndex = SortedPlaylist.Count() > 0 ? 0 : -1;
}
@@ -399,7 +399,7 @@ namespace MediaBrowser.Controller.SyncPlay
}
else
{
- // Restoring playing item
+ // Restoring playing item.
SetPlayingItemByPlaylistId(playingItem.PlaylistItemId);
return false;
}