mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 18:14:42 +01:00
Merge pull request #4499 from crobibero/more-param
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Playlists
|
||||
{
|
||||
@@ -9,15 +10,10 @@ namespace MediaBrowser.Model.Playlists
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public Guid[] ItemIdList { get; set; }
|
||||
public IReadOnlyList<Guid> ItemIdList { get; set; } = Array.Empty<Guid>();
|
||||
|
||||
public string MediaType { get; set; }
|
||||
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
public PlaylistCreationRequest()
|
||||
{
|
||||
ItemIdList = Array.Empty<Guid>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user