mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Clear playlist in SyncPlay group
This commit is contained in:
@@ -534,6 +534,16 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
return itemFound;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void ClearPlayQueue(bool clearPlayingItem)
|
||||
{
|
||||
PlayQueue.ClearPlaylist(clearPlayingItem);
|
||||
if (clearPlayingItem)
|
||||
{
|
||||
RestartCurrentItem();
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool RemoveFromPlayQueue(IReadOnlyList<Guid> playlistItemIds)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user