diff options
Diffstat (limited to 'MediaBrowser.Controller')
3 files changed, 2 insertions, 22 deletions
diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index c7dd2cd5f3..66c6d39eea 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -222,7 +222,6 @@ <Compile Include="Persistence\MediaStreamQuery.cs" /> <Compile Include="Playlists\IPlaylistManager.cs" /> <Compile Include="Playlists\Playlist.cs" /> - <Compile Include="Playlists\PlaylistCreationOptions.cs" /> <Compile Include="Providers\DirectoryService.cs" /> <Compile Include="Providers\ICustomMetadataProvider.cs" /> <Compile Include="Providers\IExternalId.cs" /> diff --git a/MediaBrowser.Controller/Playlists/IPlaylistManager.cs b/MediaBrowser.Controller/Playlists/IPlaylistManager.cs index f5939ad969..c67a8a3d5b 100644 --- a/MediaBrowser.Controller/Playlists/IPlaylistManager.cs +++ b/MediaBrowser.Controller/Playlists/IPlaylistManager.cs @@ -1,4 +1,5 @@ using MediaBrowser.Controller.Entities; +using MediaBrowser.Model.Playlists; using System.Collections.Generic; using System.Threading.Tasks; @@ -18,7 +19,7 @@ namespace MediaBrowser.Controller.Playlists /// </summary> /// <param name="options">The options.</param> /// <returns>Task<Playlist>.</returns> - Task<Playlist> CreatePlaylist(PlaylistCreationOptions options); + Task<PlaylistCreationResult> CreatePlaylist(PlaylistCreationRequest options); /// <summary> /// Adds to playlist. diff --git a/MediaBrowser.Controller/Playlists/PlaylistCreationOptions.cs b/MediaBrowser.Controller/Playlists/PlaylistCreationOptions.cs deleted file mode 100644 index 1766ba75ca..0000000000 --- a/MediaBrowser.Controller/Playlists/PlaylistCreationOptions.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Collections.Generic; - -namespace MediaBrowser.Controller.Playlists -{ - public class PlaylistCreationOptions - { - public string Name { get; set; } - - public List<string> ItemIdList { get; set; } - - public string MediaType { get; set; } - - public string UserId { get; set; } - - public PlaylistCreationOptions() - { - ItemIdList = new List<string>(); - } - } -} |
