The Free Software Media System - Server Backend & API
Add missing references
crobiberob64108923aeb
diff --git a/Jellyfin.Api/Controllers/ChannelsController.cs b/Jellyfin.Api/Controllers/ChannelsController.csindex 93d9a9d00f..36dff2ad35 100644--- a/Jellyfin.Api/Controllers/ChannelsController.cs+++ b/Jellyfin.Api/Controllers/ChannelsController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Linq;using System.Threading;using System.Threading.Tasks;diff --git a/Jellyfin.Api/Controllers/DlnaController.cs b/Jellyfin.Api/Controllers/DlnaController.csindex 69c9481743..e6f0fb41e9 100644--- a/Jellyfin.Api/Controllers/DlnaController.cs+++ b/Jellyfin.Api/Controllers/DlnaController.cs@@ -1,4 +1,5 @@using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using Jellyfin.Api.Constants;using MediaBrowser.Controller.Dlna;using MediaBrowser.Model.Dlna;diff --git a/Jellyfin.Api/Controllers/DlnaServerController.cs b/Jellyfin.Api/Controllers/DlnaServerController.csindex 832fcc8c62..2f93ca2c2e 100644--- a/Jellyfin.Api/Controllers/DlnaServerController.cs+++ b/Jellyfin.Api/Controllers/DlnaServerController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Diagnostics.CodeAnalysis;using System.IO;using System.Net.Mime;diff --git a/Jellyfin.Api/Controllers/GenresController.cs b/Jellyfin.Api/Controllers/GenresController.csindex 230aff417d..53be163701 100644--- a/Jellyfin.Api/Controllers/GenresController.cs+++ b/Jellyfin.Api/Controllers/GenresController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Globalization;using System.Linq;using Jellyfin.Api.Constants;diff --git a/Jellyfin.Api/Controllers/HlsSegmentController.cs b/Jellyfin.Api/Controllers/HlsSegmentController.csindex 304b5ce828..58c583d097 100644--- a/Jellyfin.Api/Controllers/HlsSegmentController.cs+++ b/Jellyfin.Api/Controllers/HlsSegmentController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Diagnostics.CodeAnalysis;using System.IO;using System.Linq;diff --git a/Jellyfin.Api/Controllers/ImageController.cs b/Jellyfin.Api/Controllers/ImageController.csindex 3cde4062d0..e28957c9ba 100644--- a/Jellyfin.Api/Controllers/ImageController.cs+++ b/Jellyfin.Api/Controllers/ImageController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Diagnostics.CodeAnalysis;using System.Globalization;using System.IO;diff --git a/Jellyfin.Api/Controllers/ItemRefreshController.cs b/Jellyfin.Api/Controllers/ItemRefreshController.csindex 0d1e02a78b..87086c681e 100644--- a/Jellyfin.Api/Controllers/ItemRefreshController.cs+++ b/Jellyfin.Api/Controllers/ItemRefreshController.cs@@ -1,5 +1,6 @@using System;using System.ComponentModel;+using System.ComponentModel.DataAnnotations;using Jellyfin.Api.Constants;using MediaBrowser.Controller.Library;using MediaBrowser.Controller.Providers;diff --git a/Jellyfin.Api/Controllers/ItemsController.cs b/Jellyfin.Api/Controllers/ItemsController.csindex cc8051365b..170606b11b 100644--- a/Jellyfin.Api/Controllers/ItemsController.cs+++ b/Jellyfin.Api/Controllers/ItemsController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Globalization;using System.Linq;using Jellyfin.Api.Constants;diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.csindex e086e90297..fb3f0f5f5e 100644--- a/Jellyfin.Api/Controllers/LiveTvController.cs+++ b/Jellyfin.Api/Controllers/LiveTvController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Diagnostics.CodeAnalysis;using System.IO;using System.Linq;diff --git a/Jellyfin.Api/Controllers/MusicGenresController.cs b/Jellyfin.Api/Controllers/MusicGenresController.csindex 493386e933..df97c0ab9b 100644--- a/Jellyfin.Api/Controllers/MusicGenresController.cs+++ b/Jellyfin.Api/Controllers/MusicGenresController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Globalization;using System.Linq;using Jellyfin.Api.Constants;diff --git a/Jellyfin.Api/Controllers/PlaystateController.cs b/Jellyfin.Api/Controllers/PlaystateController.csindex 797c5aa36e..091f884d23 100644--- a/Jellyfin.Api/Controllers/PlaystateController.cs+++ b/Jellyfin.Api/Controllers/PlaystateController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Diagnostics.CodeAnalysis;using System.Threading.Tasks;using Jellyfin.Api.Constants;diff --git a/Jellyfin.Api/Controllers/StudiosController.cs b/Jellyfin.Api/Controllers/StudiosController.csindex b3bb065003..0208ebfbba 100644--- a/Jellyfin.Api/Controllers/StudiosController.cs+++ b/Jellyfin.Api/Controllers/StudiosController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Linq;using Jellyfin.Api.Constants;using Jellyfin.Api.Extensions;diff --git a/Jellyfin.Api/Controllers/SuggestionsController.cs b/Jellyfin.Api/Controllers/SuggestionsController.csindex 4fff3cd3ef..52593b1ce1 100644--- a/Jellyfin.Api/Controllers/SuggestionsController.cs+++ b/Jellyfin.Api/Controllers/SuggestionsController.cs@@ -1,4 +1,5 @@using System;+using System.ComponentModel.DataAnnotations;using System.Linq;using Jellyfin.Api.Extensions;using Jellyfin.Api.Helpers;diff --git a/Jellyfin.Api/Controllers/UniversalAudioController.cs b/Jellyfin.Api/Controllers/UniversalAudioController.csindex d57f23d9cd..a3678454f4 100644--- a/Jellyfin.Api/Controllers/UniversalAudioController.cs+++ b/Jellyfin.Api/Controllers/UniversalAudioController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Globalization;using System.Linq;using System.Threading.Tasks;diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.csindex 809fbf43a0..f93e80393f 100644--- a/Jellyfin.Api/Controllers/UserLibraryController.cs+++ b/Jellyfin.Api/Controllers/UserLibraryController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Linq;using System.Threading;using System.Threading.Tasks;diff --git a/Jellyfin.Api/Controllers/UserViewsController.cs b/Jellyfin.Api/Controllers/UserViewsController.csindex fb78707f86..8582a5a210 100644--- a/Jellyfin.Api/Controllers/UserViewsController.cs+++ b/Jellyfin.Api/Controllers/UserViewsController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Globalization;using System.Linq;using Jellyfin.Api.Extensions;diff --git a/Jellyfin.Api/Controllers/VideoHlsController.cs b/Jellyfin.Api/Controllers/VideoHlsController.csindex 77f21fcf3a..cf667bf435 100644--- a/Jellyfin.Api/Controllers/VideoHlsController.cs+++ b/Jellyfin.Api/Controllers/VideoHlsController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Globalization;using System.IO;using System.Threading;diff --git a/Jellyfin.Api/Controllers/YearsController.cs b/Jellyfin.Api/Controllers/YearsController.csindex 620edf9054..b83b09c35e 100644--- a/Jellyfin.Api/Controllers/YearsController.cs+++ b/Jellyfin.Api/Controllers/YearsController.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Linq;using Jellyfin.Api.Constants;using Jellyfin.Api.Extensions;