The Free Software Media System - Server Backend & API
[5644] [DLNA] [Music] Next track command from any DLNA device does not do anything.
Stéphane Senart3164781ce092
diff --git a/Emby.Dlna/PlayTo/PlayToController.cs b/Emby.Dlna/PlayTo/PlayToController.csindex e0c752c199..41723bc6c5 100644--- a/Emby.Dlna/PlayTo/PlayToController.cs+++ b/Emby.Dlna/PlayTo/PlayToController.cs@@ -175,6 +175,11 @@ namespace Emby.Dlna.PlayTo// Send a message to the DLNA device to notify what is the next track in the playlist.var currentItemIndex = _playlist.FindIndex(item => item.StreamInfo.ItemId == streamInfo.ItemId);+ if (currentItemIndex >= 0)+ {+ _currentPlaylistIndex = currentItemIndex;+ }+await SendNextTrackMessage(currentItemIndex, CancellationToken.None);}catch (Exception ex)