aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities
diff options
context:
space:
mode:
authorstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
committerstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
commit48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch)
tree8dae77a31670a888d733484cb17dd4077d5444e8 /MediaBrowser.Model/Entities
parentc32d8656382a0eacb301692e0084377fc433ae9b (diff)
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'MediaBrowser.Model/Entities')
-rw-r--r--MediaBrowser.Model/Entities/ChapterInfo.cs29
-rw-r--r--MediaBrowser.Model/Entities/CollectionType.cs63
-rw-r--r--MediaBrowser.Model/Entities/DisplayPreferences.cs123
-rw-r--r--MediaBrowser.Model/Entities/EmptyRequestResult.cs7
-rw-r--r--MediaBrowser.Model/Entities/ExtraType.cs16
-rw-r--r--MediaBrowser.Model/Entities/IHasProviderIds.cs16
-rw-r--r--MediaBrowser.Model/Entities/ImageType.cs58
-rw-r--r--MediaBrowser.Model/Entities/IsoType.cs17
-rw-r--r--MediaBrowser.Model/Entities/ItemReview.cs52
-rw-r--r--MediaBrowser.Model/Entities/LibraryUpdateInfo.cs53
-rw-r--r--MediaBrowser.Model/Entities/LocationType.cs26
-rw-r--r--MediaBrowser.Model/Entities/MBRegistrationRecord.cs14
-rw-r--r--MediaBrowser.Model/Entities/MediaStream.cs454
-rw-r--r--MediaBrowser.Model/Entities/MediaStreamType.cs25
-rw-r--r--MediaBrowser.Model/Entities/MediaType.cs30
-rw-r--r--MediaBrowser.Model/Entities/MediaUrl.cs9
-rw-r--r--MediaBrowser.Model/Entities/MetadataFields.cs58
-rw-r--r--MediaBrowser.Model/Entities/MetadataProviders.cs41
-rw-r--r--MediaBrowser.Model/Entities/PackageReviewInfo.cs38
-rw-r--r--MediaBrowser.Model/Entities/ParentalRating.cs21
-rw-r--r--MediaBrowser.Model/Entities/PersonType.cs42
-rw-r--r--MediaBrowser.Model/Entities/PluginSecurityInfo.cs21
-rw-r--r--MediaBrowser.Model/Entities/ProviderIdsExtensions.cs103
-rw-r--r--MediaBrowser.Model/Entities/ScrollDirection.cs17
-rw-r--r--MediaBrowser.Model/Entities/SeriesStatus.cs18
-rw-r--r--MediaBrowser.Model/Entities/SortOrder.cs17
-rw-r--r--MediaBrowser.Model/Entities/TrailerType.cs11
-rw-r--r--MediaBrowser.Model/Entities/UserDataSaveReason.cs34
-rw-r--r--MediaBrowser.Model/Entities/Video3DFormat.cs12
-rw-r--r--MediaBrowser.Model/Entities/VideoType.cs26
-rw-r--r--MediaBrowser.Model/Entities/VirtualFolderInfo.cs54
31 files changed, 0 insertions, 1505 deletions
diff --git a/MediaBrowser.Model/Entities/ChapterInfo.cs b/MediaBrowser.Model/Entities/ChapterInfo.cs
deleted file mode 100644
index 7e5700965..000000000
--- a/MediaBrowser.Model/Entities/ChapterInfo.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class ChapterInfo
- /// </summary>
- public class ChapterInfo
- {
- /// <summary>
- /// Gets or sets the start position ticks.
- /// </summary>
- /// <value>The start position ticks.</value>
- public long StartPositionTicks { get; set; }
-
- /// <summary>
- /// Gets or sets the name.
- /// </summary>
- /// <value>The name.</value>
- public string Name { get; set; }
-
- /// <summary>
- /// Gets or sets the image path.
- /// </summary>
- /// <value>The image path.</value>
- public string ImagePath { get; set; }
- public DateTime ImageDateModified { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/CollectionType.cs b/MediaBrowser.Model/Entities/CollectionType.cs
deleted file mode 100644
index b1cbb9ac3..000000000
--- a/MediaBrowser.Model/Entities/CollectionType.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-namespace MediaBrowser.Model.Entities
-{
- public static class CollectionType
- {
- public const string Movies = "movies";
-
- public const string TvShows = "tvshows";
-
- public const string Music = "music";
-
- public const string MusicVideos = "musicvideos";
-
- public const string Trailers = "trailers";
-
- public const string HomeVideos = "homevideos";
-
- public const string BoxSets = "boxsets";
-
- public const string Books = "books";
- public const string Photos = "photos";
- public const string Games = "games";
- public const string Channels = "channels";
- public const string LiveTv = "livetv";
- public const string Playlists = "playlists";
- public const string Folders = "folders";
- }
-
- public static class SpecialFolder
- {
- public const string LiveTvNowPlaying = "LiveTvNowPlaying";
- public const string LiveTvChannels = "LiveTvChannels";
- public const string LiveTvRecordingGroups = "LiveTvRecordingGroups";
-
- public const string TvShowSeries = "TvShowSeries";
- public const string TvGenres = "TvGenres";
- public const string TvGenre = "TvGenre";
- public const string TvLatest = "TvLatest";
- public const string TvNextUp = "TvNextUp";
- public const string TvResume = "TvResume";
- public const string TvFavoriteSeries = "TvFavoriteSeries";
- public const string TvFavoriteEpisodes = "TvFavoriteEpisodes";
-
- public const string MovieLatest = "MovieLatest";
- public const string MovieResume = "MovieResume";
- public const string MovieMovies = "MovieMovies";
- public const string MovieCollections = "MovieCollections";
- public const string MovieFavorites = "MovieFavorites";
- public const string MovieGenres = "MovieGenres";
- public const string MovieGenre = "MovieGenre";
-
- public const string MusicArtists = "MusicArtists";
- public const string MusicAlbumArtists = "MusicAlbumArtists";
- public const string MusicAlbums = "MusicAlbums";
- public const string MusicGenres = "MusicGenres";
- public const string MusicLatest = "MusicLatest";
- public const string MusicPlaylists = "MusicPlaylists";
- public const string MusicSongs = "MusicSongs";
- public const string MusicFavorites = "MusicFavorites";
- public const string MusicFavoriteArtists = "MusicFavoriteArtists";
- public const string MusicFavoriteAlbums = "MusicFavoriteAlbums";
- public const string MusicFavoriteSongs = "MusicFavoriteSongs";
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/DisplayPreferences.cs b/MediaBrowser.Model/Entities/DisplayPreferences.cs
deleted file mode 100644
index 0ba8eaa4f..000000000
--- a/MediaBrowser.Model/Entities/DisplayPreferences.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-using MediaBrowser.Model.Drawing;
-using System;
-using System.Collections.Generic;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Defines the display preferences for any item that supports them (usually Folders)
- /// </summary>
- public class DisplayPreferences
- {
- /// <summary>
- /// The image scale
- /// </summary>
- private const double ImageScale = .9;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="DisplayPreferences" /> class.
- /// </summary>
- public DisplayPreferences()
- {
- RememberIndexing = false;
- PrimaryImageHeight = 250;
- PrimaryImageWidth = 250;
- ShowBackdrop = true;
- CustomPrefs = new Dictionary<string, string>();
- }
-
- /// <summary>
- /// Gets or sets the user id.
- /// </summary>
- /// <value>The user id.</value>
- public string Id { get; set; }
- /// <summary>
- /// Gets or sets the type of the view.
- /// </summary>
- /// <value>The type of the view.</value>
- public string ViewType { get; set; }
- /// <summary>
- /// Gets or sets the sort by.
- /// </summary>
- /// <value>The sort by.</value>
- public string SortBy { get; set; }
- /// <summary>
- /// Gets or sets the index by.
- /// </summary>
- /// <value>The index by.</value>
- public string IndexBy { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether [remember indexing].
- /// </summary>
- /// <value><c>true</c> if [remember indexing]; otherwise, <c>false</c>.</value>
- public bool RememberIndexing { get; set; }
- /// <summary>
- /// Gets or sets the height of the primary image.
- /// </summary>
- /// <value>The height of the primary image.</value>
- public int PrimaryImageHeight { get; set; }
- /// <summary>
- /// Gets or sets the width of the primary image.
- /// </summary>
- /// <value>The width of the primary image.</value>
- public int PrimaryImageWidth { get; set; }
- /// <summary>
- /// Gets or sets the custom prefs.
- /// </summary>
- /// <value>The custom prefs.</value>
- public Dictionary<string, string> CustomPrefs { get; set; }
- /// <summary>
- /// Gets or sets the scroll direction.
- /// </summary>
- /// <value>The scroll direction.</value>
- public ScrollDirection ScrollDirection { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether to show backdrops on this item.
- /// </summary>
- /// <value><c>true</c> if showing backdrops; otherwise, <c>false</c>.</value>
- public bool ShowBackdrop { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether [remember sorting].
- /// </summary>
- /// <value><c>true</c> if [remember sorting]; otherwise, <c>false</c>.</value>
- public bool RememberSorting { get; set; }
- /// <summary>
- /// Gets or sets the sort order.
- /// </summary>
- /// <value>The sort order.</value>
- public SortOrder SortOrder { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether [show sidebar].
- /// </summary>
- /// <value><c>true</c> if [show sidebar]; otherwise, <c>false</c>.</value>
- public bool ShowSidebar { get; set; }
- /// <summary>
- /// Gets or sets the client
- /// </summary>
- public string Client { get; set; }
-
- /// <summary>
- /// Increases the size of the image.
- /// </summary>
- public void IncreaseImageSize()
- {
- double newWidth = PrimaryImageWidth / ImageScale;
-
- ImageSize size = DrawingUtils.Resize(PrimaryImageWidth, PrimaryImageHeight, newWidth, null, null, null);
-
- PrimaryImageWidth = Convert.ToInt32(size.Width);
- PrimaryImageHeight = Convert.ToInt32(size.Height);
- }
-
- /// <summary>
- /// Decreases the size of the image.
- /// </summary>
- public void DecreaseImageSize()
- {
- ImageSize size = DrawingUtils.Scale(PrimaryImageWidth, PrimaryImageHeight, ImageScale);
-
- PrimaryImageWidth = Convert.ToInt32(size.Width);
- PrimaryImageHeight = Convert.ToInt32(size.Height);
- }
- }
-}
diff --git a/MediaBrowser.Model/Entities/EmptyRequestResult.cs b/MediaBrowser.Model/Entities/EmptyRequestResult.cs
deleted file mode 100644
index 5c9a725fd..000000000
--- a/MediaBrowser.Model/Entities/EmptyRequestResult.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- public class EmptyRequestResult
- {
- }
-}
diff --git a/MediaBrowser.Model/Entities/ExtraType.cs b/MediaBrowser.Model/Entities/ExtraType.cs
deleted file mode 100644
index ab8da58c0..000000000
--- a/MediaBrowser.Model/Entities/ExtraType.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- public enum ExtraType
- {
- Clip = 1,
- Trailer = 2,
- BehindTheScenes = 3,
- DeletedScene = 4,
- Interview = 5,
- Scene = 6,
- Sample = 7,
- ThemeSong = 8,
- ThemeVideo = 9
- }
-}
diff --git a/MediaBrowser.Model/Entities/IHasProviderIds.cs b/MediaBrowser.Model/Entities/IHasProviderIds.cs
deleted file mode 100644
index 796850dbd..000000000
--- a/MediaBrowser.Model/Entities/IHasProviderIds.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Collections.Generic;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Since BaseItem and DTOBaseItem both have ProviderIds, this interface helps avoid code repition by using extension methods
- /// </summary>
- public interface IHasProviderIds
- {
- /// <summary>
- /// Gets or sets the provider ids.
- /// </summary>
- /// <value>The provider ids.</value>
- Dictionary<string, string> ProviderIds { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/ImageType.cs b/MediaBrowser.Model/Entities/ImageType.cs
deleted file mode 100644
index 6e0ba717f..000000000
--- a/MediaBrowser.Model/Entities/ImageType.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum ImageType
- /// </summary>
- public enum ImageType
- {
- /// <summary>
- /// The primary
- /// </summary>
- Primary = 0,
- /// <summary>
- /// The art
- /// </summary>
- Art = 1,
- /// <summary>
- /// The backdrop
- /// </summary>
- Backdrop = 2,
- /// <summary>
- /// The banner
- /// </summary>
- Banner = 3,
- /// <summary>
- /// The logo
- /// </summary>
- Logo = 4,
- /// <summary>
- /// The thumb
- /// </summary>
- Thumb = 5,
- /// <summary>
- /// The disc
- /// </summary>
- Disc = 6,
- /// <summary>
- /// The box
- /// </summary>
- Box = 7,
- /// <summary>
- /// The screenshot
- /// </summary>
- Screenshot = 8,
- /// <summary>
- /// The menu
- /// </summary>
- Menu = 9,
- /// <summary>
- /// The chapter image
- /// </summary>
- Chapter = 10,
- /// <summary>
- /// The box rear
- /// </summary>
- BoxRear = 11
- }
-}
diff --git a/MediaBrowser.Model/Entities/IsoType.cs b/MediaBrowser.Model/Entities/IsoType.cs
deleted file mode 100644
index 567b98ab9..000000000
--- a/MediaBrowser.Model/Entities/IsoType.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum IsoType
- /// </summary>
- public enum IsoType
- {
- /// <summary>
- /// The DVD
- /// </summary>
- Dvd,
- /// <summary>
- /// The blu ray
- /// </summary>
- BluRay
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/ItemReview.cs b/MediaBrowser.Model/Entities/ItemReview.cs
deleted file mode 100644
index e1a32aa11..000000000
--- a/MediaBrowser.Model/Entities/ItemReview.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class ItemReview
- /// </summary>
- public class ItemReview
- {
- /// <summary>
- /// Gets or sets the name of the reviewer.
- /// </summary>
- /// <value>The name of the reviewer.</value>
- public string ReviewerName { get; set; }
-
- /// <summary>
- /// Gets or sets the publisher.
- /// </summary>
- /// <value>The publisher.</value>
- public string Publisher { get; set; }
-
- /// <summary>
- /// Gets or sets the date.
- /// </summary>
- /// <value>The date.</value>
- public DateTime Date { get; set; }
-
- /// <summary>
- /// Gets or sets the score.
- /// </summary>
- /// <value>The score.</value>
- public float? Score { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this <see cref="ItemReview"/> is likes.
- /// </summary>
- /// <value><c>null</c> if [likes] contains no value, <c>true</c> if [likes]; otherwise, <c>false</c>.</value>
- public bool? Likes { get; set; }
-
- /// <summary>
- /// Gets or sets the URL.
- /// </summary>
- /// <value>The URL.</value>
- public string Url { get; set; }
-
- /// <summary>
- /// Gets or sets the caption.
- /// </summary>
- /// <value>The caption.</value>
- public string Caption { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/LibraryUpdateInfo.cs b/MediaBrowser.Model/Entities/LibraryUpdateInfo.cs
deleted file mode 100644
index 8995e0888..000000000
--- a/MediaBrowser.Model/Entities/LibraryUpdateInfo.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class LibraryUpdateInfo
- /// </summary>
- public class LibraryUpdateInfo
- {
- /// <summary>
- /// Gets or sets the folders added to.
- /// </summary>
- /// <value>The folders added to.</value>
- public string[] FoldersAddedTo { get; set; }
- /// <summary>
- /// Gets or sets the folders removed from.
- /// </summary>
- /// <value>The folders removed from.</value>
- public string[] FoldersRemovedFrom { get; set; }
-
- /// <summary>
- /// Gets or sets the items added.
- /// </summary>
- /// <value>The items added.</value>
- public string[] ItemsAdded { get; set; }
-
- /// <summary>
- /// Gets or sets the items removed.
- /// </summary>
- /// <value>The items removed.</value>
- public string[] ItemsRemoved { get; set; }
-
- /// <summary>
- /// Gets or sets the items updated.
- /// </summary>
- /// <value>The items updated.</value>
- public string[] ItemsUpdated { get; set; }
-
- public string[] CollectionFolders { get; set; }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="LibraryUpdateInfo"/> class.
- /// </summary>
- public LibraryUpdateInfo()
- {
- FoldersAddedTo = new string[] { };
- FoldersRemovedFrom = new string[] { };
- ItemsAdded = new string[] { };
- ItemsRemoved = new string[] { };
- ItemsUpdated = new string[] { };
- CollectionFolders = new string[] { };
- }
- }
-}
diff --git a/MediaBrowser.Model/Entities/LocationType.cs b/MediaBrowser.Model/Entities/LocationType.cs
deleted file mode 100644
index 84de803aa..000000000
--- a/MediaBrowser.Model/Entities/LocationType.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum LocationType
- /// </summary>
- public enum LocationType
- {
- /// <summary>
- /// The file system
- /// </summary>
- FileSystem = 0,
- /// <summary>
- /// The remote
- /// </summary>
- Remote = 1,
- /// <summary>
- /// The virtual
- /// </summary>
- Virtual = 2,
- /// <summary>
- /// The offline
- /// </summary>
- Offline = 3
- }
-}
diff --git a/MediaBrowser.Model/Entities/MBRegistrationRecord.cs b/MediaBrowser.Model/Entities/MBRegistrationRecord.cs
deleted file mode 100644
index 00176fb34..000000000
--- a/MediaBrowser.Model/Entities/MBRegistrationRecord.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.Entities
-{
- public class MBRegistrationRecord
- {
- public DateTime ExpirationDate { get; set; }
- public bool IsRegistered { get; set; }
- public bool RegChecked { get; set; }
- public bool RegError { get; set; }
- public bool TrialVersion { get; set; }
- public bool IsValid { get; set; }
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs
deleted file mode 100644
index 8a402e6f4..000000000
--- a/MediaBrowser.Model/Entities/MediaStream.cs
+++ /dev/null
@@ -1,454 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MediaBrowser.Model.Dlna;
-using MediaBrowser.Model.Extensions;
-using System.Diagnostics;
-using MediaBrowser.Model.MediaInfo;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class MediaStream
- /// </summary>
- [DebuggerDisplay("StreamType = {Type}")]
- public class MediaStream
- {
- /// <summary>
- /// Gets or sets the codec.
- /// </summary>
- /// <value>The codec.</value>
- public string Codec { get; set; }
-
- /// <summary>
- /// Gets or sets the codec tag.
- /// </summary>
- /// <value>The codec tag.</value>
- public string CodecTag { get; set; }
-
- /// <summary>
- /// Gets or sets the language.
- /// </summary>
- /// <value>The language.</value>
- public string Language { get; set; }
-
- /// <summary>
- /// Gets or sets the comment.
- /// </summary>
- /// <value>The comment.</value>
- public string Comment { get; set; }
-
- public string TimeBase { get; set; }
- public string CodecTimeBase { get; set; }
-
- public string Title { get; set; }
-
- public string DisplayTitle
- {
- get
- {
- if (Type == MediaStreamType.Audio)
- {
- //if (!string.IsNullOrEmpty(Title))
- //{
- // return AddLanguageIfNeeded(Title);
- //}
-
- List<string> attributes = new List<string>();
-
- if (!string.IsNullOrEmpty(Language))
- {
- attributes.Add(StringHelper.FirstToUpper(Language));
- }
- if (!string.IsNullOrEmpty(Codec) && !StringHelper.EqualsIgnoreCase(Codec, "dca"))
- {
- attributes.Add(AudioCodec.GetFriendlyName(Codec));
- }
- else if (!string.IsNullOrEmpty(Profile) && !StringHelper.EqualsIgnoreCase(Profile, "lc"))
- {
- attributes.Add(Profile);
- }
-
- if (!string.IsNullOrEmpty(ChannelLayout))
- {
- attributes.Add(ChannelLayout);
- }
- else if (Channels.HasValue)
- {
- attributes.Add(StringHelper.ToStringCultureInvariant(Channels.Value) + " ch");
- }
- if (IsDefault)
- {
- attributes.Add("Default");
- }
-
- return string.Join(" ", attributes.ToArray(attributes.Count));
- }
-
- if (Type == MediaStreamType.Video)
- {
- List<string> attributes = new List<string>();
-
- var resolutionText = GetResolutionText();
-
- if (!string.IsNullOrEmpty(resolutionText))
- {
- attributes.Add(resolutionText);
- }
-
- if (!string.IsNullOrEmpty(Codec))
- {
- attributes.Add(Codec.ToUpper());
- }
-
- return string.Join(" ", attributes.ToArray(attributes.Count));
- }
-
- if (Type == MediaStreamType.Subtitle)
- {
- //if (!string.IsNullOrEmpty(Title))
- //{
- // return AddLanguageIfNeeded(Title);
- //}
-
- List<string> attributes = new List<string>();
-
- if (!string.IsNullOrEmpty(Language))
- {
- attributes.Add(StringHelper.FirstToUpper(Language));
- }
- else
- {
- attributes.Add("Und");
- }
-
- if (IsDefault)
- {
- attributes.Add("Default");
- }
-
- if (IsForced)
- {
- attributes.Add("Forced");
- }
-
- string name = string.Join(" ", attributes.ToArray(attributes.Count));
-
- return name;
- }
-
- if (Type == MediaStreamType.Video)
- {
-
- }
-
- return null;
- }
- }
-
- private string GetResolutionText()
- {
- var i = this;
-
- if (i.Width.HasValue)
- {
- if (i.Width >= 3800)
- {
- return "4K";
- }
- if (i.Width >= 2500)
- {
- if (i.IsInterlaced)
- {
- return "1440I";
- }
- return "1440P";
- }
- if (i.Width >= 1900)
- {
- if (i.IsInterlaced)
- {
- return "1080I";
- }
- return "1080P";
- }
- if (i.Width >= 1260)
- {
- if (i.IsInterlaced)
- {
- return "720I";
- }
- return "720P";
- }
- if (i.Width >= 700)
- {
-
- if (i.IsInterlaced)
- {
- return "480I";
- }
- return "480P";
- }
-
- }
- return null;
- }
-
- private string AddLanguageIfNeeded(string title)
- {
- if (!string.IsNullOrEmpty(Language) &&
- !string.Equals(Language, "und", StringComparison.OrdinalIgnoreCase) &&
- !IsLanguageInTitle(title, Language))
- {
- title = StringHelper.FirstToUpper(Language) + " " + title;
- }
-
- return title;
- }
-
- private bool IsLanguageInTitle(string title, string language)
- {
- if (title.IndexOf(Language, StringComparison.OrdinalIgnoreCase) != -1)
- {
- return true;
- }
-
- return false;
- }
-
- public string NalLengthSize { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is interlaced.
- /// </summary>
- /// <value><c>true</c> if this instance is interlaced; otherwise, <c>false</c>.</value>
- public bool IsInterlaced { get; set; }
-
- public bool? IsAVC { get; set; }
-
- /// <summary>
- /// Gets or sets the channel layout.
- /// </summary>
- /// <value>The channel layout.</value>
- public string ChannelLayout { get; set; }
-
- /// <summary>
- /// Gets or sets the bit rate.
- /// </summary>
- /// <value>The bit rate.</value>
- public int? BitRate { get; set; }
-
- /// <summary>
- /// Gets or sets the bit depth.
- /// </summary>
- /// <value>The bit depth.</value>
- public int? BitDepth { get; set; }
-
- /// <summary>
- /// Gets or sets the reference frames.
- /// </summary>
- /// <value>The reference frames.</value>
- public int? RefFrames { get; set; }
-
- /// <summary>
- /// Gets or sets the length of the packet.
- /// </summary>
- /// <value>The length of the packet.</value>
- public int? PacketLength { get; set; }
-
- /// <summary>
- /// Gets or sets the channels.
- /// </summary>
- /// <value>The channels.</value>
- public int? Channels { get; set; }
-
- /// <summary>
- /// Gets or sets the sample rate.
- /// </summary>
- /// <value>The sample rate.</value>
- public int? SampleRate { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is default.
- /// </summary>
- /// <value><c>true</c> if this instance is default; otherwise, <c>false</c>.</value>
- public bool IsDefault { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is forced.
- /// </summary>
- /// <value><c>true</c> if this instance is forced; otherwise, <c>false</c>.</value>
- public bool IsForced { get; set; }
-
- /// <summary>
- /// Gets or sets the height.
- /// </summary>
- /// <value>The height.</value>
- public int? Height { get; set; }
-
- /// <summary>
- /// Gets or sets the width.
- /// </summary>
- /// <value>The width.</value>
- public int? Width { get; set; }
-
- /// <summary>
- /// Gets or sets the average frame rate.
- /// </summary>
- /// <value>The average frame rate.</value>
- public float? AverageFrameRate { get; set; }
-
- /// <summary>
- /// Gets or sets the real frame rate.
- /// </summary>
- /// <value>The real frame rate.</value>
- public float? RealFrameRate { get; set; }
-
- /// <summary>
- /// Gets or sets the profile.
- /// </summary>
- /// <value>The profile.</value>
- public string Profile { get; set; }
-
- /// <summary>
- /// Gets or sets the type.
- /// </summary>
- /// <value>The type.</value>
- public MediaStreamType Type { get; set; }
-
- /// <summary>
- /// Gets or sets the aspect ratio.
- /// </summary>
- /// <value>The aspect ratio.</value>
- public string AspectRatio { get; set; }
-
- /// <summary>
- /// Gets or sets the index.
- /// </summary>
- /// <value>The index.</value>
- public int Index { get; set; }
-
- /// <summary>
- /// Gets or sets the score.
- /// </summary>
- /// <value>The score.</value>
- public int? Score { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is external.
- /// </summary>
- /// <value><c>true</c> if this instance is external; otherwise, <c>false</c>.</value>
- public bool IsExternal { get; set; }
-
- /// <summary>
- /// Gets or sets the method.
- /// </summary>
- /// <value>The method.</value>
- public SubtitleDeliveryMethod? DeliveryMethod { get; set; }
- /// <summary>
- /// Gets or sets the delivery URL.
- /// </summary>
- /// <value>The delivery URL.</value>
- public string DeliveryUrl { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether this instance is external URL.
- /// </summary>
- /// <value><c>null</c> if [is external URL] contains no value, <c>true</c> if [is external URL]; otherwise, <c>false</c>.</value>
- public bool? IsExternalUrl { get; set; }
-
- public bool IsTextSubtitleStream
- {
- get
- {
- if (Type != MediaStreamType.Subtitle) return false;
-
- if (string.IsNullOrEmpty(Codec) && !IsExternal)
- {
- return false;
- }
-
- return IsTextFormat(Codec);
- }
- }
-
- public static bool IsTextFormat(string format)
- {
- string codec = format ?? string.Empty;
-
- // sub = external .sub file
-
- return StringHelper.IndexOfIgnoreCase(codec, "pgs") == -1 &&
- StringHelper.IndexOfIgnoreCase(codec, "dvd") == -1 &&
- StringHelper.IndexOfIgnoreCase(codec, "dvbsub") == -1 &&
- !StringHelper.EqualsIgnoreCase(codec, "sub") &&
- !StringHelper.EqualsIgnoreCase(codec, "dvb_subtitle");
- }
-
- public bool SupportsSubtitleConversionTo(string toCodec)
- {
- if (!IsTextSubtitleStream)
- {
- return false;
- }
-
- var fromCodec = Codec;
-
- // Can't convert from this
- if (StringHelper.EqualsIgnoreCase(fromCodec, "ass"))
- {
- return false;
- }
- if (StringHelper.EqualsIgnoreCase(fromCodec, "ssa"))
- {
- return false;
- }
-
- // Can't convert to this
- if (StringHelper.EqualsIgnoreCase(toCodec, "ass"))
- {
- return false;
- }
- if (StringHelper.EqualsIgnoreCase(toCodec, "ssa"))
- {
- return false;
- }
-
- return true;
- }
-
- /// <summary>
- /// Gets or sets a value indicating whether [supports external stream].
- /// </summary>
- /// <value><c>true</c> if [supports external stream]; otherwise, <c>false</c>.</value>
- public bool SupportsExternalStream { get; set; }
-
- /// <summary>
- /// Gets or sets the filename.
- /// </summary>
- /// <value>The filename.</value>
- public string Path { get; set; }
-
- /// <summary>
- /// Gets or sets the external identifier.
- /// </summary>
- /// <value>The external identifier.</value>
- public string ExternalId { get; set; }
-
- /// <summary>
- /// Gets or sets the pixel format.
- /// </summary>
- /// <value>The pixel format.</value>
- public string PixelFormat { get; set; }
-
- /// <summary>
- /// Gets or sets the level.
- /// </summary>
- /// <value>The level.</value>
- public double? Level { get; set; }
-
- /// <summary>
- /// Gets a value indicating whether this instance is anamorphic.
- /// </summary>
- /// <value><c>true</c> if this instance is anamorphic; otherwise, <c>false</c>.</value>
- public bool? IsAnamorphic { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/MediaStreamType.cs b/MediaBrowser.Model/Entities/MediaStreamType.cs
deleted file mode 100644
index 084a411f9..000000000
--- a/MediaBrowser.Model/Entities/MediaStreamType.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum MediaStreamType
- /// </summary>
- public enum MediaStreamType
- {
- /// <summary>
- /// The audio
- /// </summary>
- Audio,
- /// <summary>
- /// The video
- /// </summary>
- Video,
- /// <summary>
- /// The subtitle
- /// </summary>
- Subtitle,
- /// <summary>
- /// The embedded image
- /// </summary>
- EmbeddedImage
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/MediaType.cs b/MediaBrowser.Model/Entities/MediaType.cs
deleted file mode 100644
index 0c9bde6fb..000000000
--- a/MediaBrowser.Model/Entities/MediaType.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class MediaType
- /// </summary>
- public class MediaType
- {
- /// <summary>
- /// The video
- /// </summary>
- public const string Video = "Video";
- /// <summary>
- /// The audio
- /// </summary>
- public const string Audio = "Audio";
- /// <summary>
- /// The game
- /// </summary>
- public const string Game = "Game";
- /// <summary>
- /// The photo
- /// </summary>
- public const string Photo = "Photo";
- /// <summary>
- /// The book
- /// </summary>
- public const string Book = "Book";
- }
-}
diff --git a/MediaBrowser.Model/Entities/MediaUrl.cs b/MediaBrowser.Model/Entities/MediaUrl.cs
deleted file mode 100644
index 2e17bba8a..000000000
--- a/MediaBrowser.Model/Entities/MediaUrl.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- public class MediaUrl
- {
- public string Url { get; set; }
- public string Name { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/MetadataFields.cs b/MediaBrowser.Model/Entities/MetadataFields.cs
deleted file mode 100644
index a99fd0fe0..000000000
--- a/MediaBrowser.Model/Entities/MetadataFields.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum MetadataFields
- /// </summary>
- public enum MetadataFields
- {
- /// <summary>
- /// The cast
- /// </summary>
- Cast,
- /// <summary>
- /// The genres
- /// </summary>
- Genres,
- /// <summary>
- /// The production locations
- /// </summary>
- ProductionLocations,
- /// <summary>
- /// The studios
- /// </summary>
- Studios,
- /// <summary>
- /// The tags
- /// </summary>
- Tags,
- /// <summary>
- /// The name
- /// </summary>
- Name,
- /// <summary>
- /// The overview
- /// </summary>
- Overview,
- /// <summary>
- /// The runtime
- /// </summary>
- Runtime,
- /// <summary>
- /// The official rating
- /// </summary>
- OfficialRating,
- /// <summary>
- /// The images
- /// </summary>
- Images,
- /// <summary>
- /// The backdrops
- /// </summary>
- Backdrops,
- /// <summary>
- /// The screenshots
- /// </summary>
- Screenshots
- }
-}
diff --git a/MediaBrowser.Model/Entities/MetadataProviders.cs b/MediaBrowser.Model/Entities/MetadataProviders.cs
deleted file mode 100644
index efd4339d5..000000000
--- a/MediaBrowser.Model/Entities/MetadataProviders.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum MetadataProviders
- /// </summary>
- public enum MetadataProviders
- {
- Gamesdb = 1,
- /// <summary>
- /// The imdb
- /// </summary>
- Imdb = 2,
- /// <summary>
- /// The TMDB
- /// </summary>
- Tmdb = 3,
- /// <summary>
- /// The TVDB
- /// </summary>
- Tvdb = 4,
- /// <summary>
- /// The tvcom
- /// </summary>
- Tvcom = 5,
- /// <summary>
- /// Tmdb Collection Id
- /// </summary>
- TmdbCollection = 7,
- MusicBrainzAlbum = 8,
- MusicBrainzAlbumArtist = 9,
- MusicBrainzArtist = 10,
- MusicBrainzReleaseGroup = 11,
- Zap2It = 12,
- TvRage = 15,
- AudioDbArtist = 16,
- AudioDbAlbum = 17,
- MusicBrainzTrack = 18,
- TvMaze = 19
- }
-}
diff --git a/MediaBrowser.Model/Entities/PackageReviewInfo.cs b/MediaBrowser.Model/Entities/PackageReviewInfo.cs
deleted file mode 100644
index 52500a41e..000000000
--- a/MediaBrowser.Model/Entities/PackageReviewInfo.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.Entities
-{
- public class PackageReviewInfo
- {
- /// <summary>
- /// The package id (database key) for this review
- /// </summary>
- public int id { get; set; }
-
- /// <summary>
- /// The rating value
- /// </summary>
- public int rating { get; set; }
-
- /// <summary>
- /// Whether or not this review recommends this item
- /// </summary>
- public bool recommend { get; set; }
-
- /// <summary>
- /// A short description of the review
- /// </summary>
- public string title { get; set; }
-
- /// <summary>
- /// A full review
- /// </summary>
- public string review { get; set; }
-
- /// <summary>
- /// Time of review
- /// </summary>
- public DateTime timestamp { get; set; }
-
- }
-}
diff --git a/MediaBrowser.Model/Entities/ParentalRating.cs b/MediaBrowser.Model/Entities/ParentalRating.cs
deleted file mode 100644
index e2d1c6574..000000000
--- a/MediaBrowser.Model/Entities/ParentalRating.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class ParentalRating
- /// </summary>
- public class ParentalRating
- {
- /// <summary>
- /// Gets or sets the name.
- /// </summary>
- /// <value>The name.</value>
- public string Name { get; set; }
-
- /// <summary>
- /// Gets or sets the value.
- /// </summary>
- /// <value>The value.</value>
- public int Value { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/PersonType.cs b/MediaBrowser.Model/Entities/PersonType.cs
deleted file mode 100644
index bc274972d..000000000
--- a/MediaBrowser.Model/Entities/PersonType.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Struct PersonType
- /// </summary>
- public class PersonType
- {
- /// <summary>
- /// The actor
- /// </summary>
- public const string Actor = "Actor";
- /// <summary>
- /// The director
- /// </summary>
- public const string Director = "Director";
- /// <summary>
- /// The composer
- /// </summary>
- public const string Composer = "Composer";
- /// <summary>
- /// The writer
- /// </summary>
- public const string Writer = "Writer";
- /// <summary>
- /// The guest star
- /// </summary>
- public const string GuestStar = "GuestStar";
- /// <summary>
- /// The producer
- /// </summary>
- public const string Producer = "Producer";
- /// <summary>
- /// The conductor
- /// </summary>
- public const string Conductor = "Conductor";
- /// <summary>
- /// The lyricist
- /// </summary>
- public const string Lyricist = "Lyricist";
- }
-}
diff --git a/MediaBrowser.Model/Entities/PluginSecurityInfo.cs b/MediaBrowser.Model/Entities/PluginSecurityInfo.cs
deleted file mode 100644
index 5cab55013..000000000
--- a/MediaBrowser.Model/Entities/PluginSecurityInfo.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class PluginSecurityInfo
- /// </summary>
- public class PluginSecurityInfo
- {
- /// <summary>
- /// Gets or sets the supporter key.
- /// </summary>
- /// <value>The supporter key.</value>
- public string SupporterKey { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is MB supporter.
- /// </summary>
- /// <value><c>true</c> if this instance is MB supporter; otherwise, <c>false</c>.</value>
- public bool IsMBSupporter { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
deleted file mode 100644
index e10232baa..000000000
--- a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Class ProviderIdsExtensions
- /// </summary>
- public static class ProviderIdsExtensions
- {
- /// <summary>
- /// Determines whether [has provider identifier] [the specified instance].
- /// </summary>
- /// <param name="instance">The instance.</param>
- /// <param name="provider">The provider.</param>
- /// <returns><c>true</c> if [has provider identifier] [the specified instance]; otherwise, <c>false</c>.</returns>
- public static bool HasProviderId(this IHasProviderIds instance, MetadataProviders provider)
- {
- return !string.IsNullOrEmpty(instance.GetProviderId(provider.ToString()));
- }
-
- /// <summary>
- /// Gets a provider id
- /// </summary>
- /// <param name="instance">The instance.</param>
- /// <param name="provider">The provider.</param>
- /// <returns>System.String.</returns>
- public static string GetProviderId(this IHasProviderIds instance, MetadataProviders provider)
- {
- return instance.GetProviderId(provider.ToString());
- }
-
- /// <summary>
- /// Gets a provider id
- /// </summary>
- /// <param name="instance">The instance.</param>
- /// <param name="name">The name.</param>
- /// <returns>System.String.</returns>
- public static string GetProviderId(this IHasProviderIds instance, string name)
- {
- if (instance == null)
- {
- throw new ArgumentNullException("instance");
- }
-
- if (instance.ProviderIds == null)
- {
- return null;
- }
-
- string id;
- instance.ProviderIds.TryGetValue(name, out id);
- return id;
- }
-
- /// <summary>
- /// Sets a provider id
- /// </summary>
- /// <param name="instance">The instance.</param>
- /// <param name="name">The name.</param>
- /// <param name="value">The value.</param>
- public static void SetProviderId(this IHasProviderIds instance, string name, string value)
- {
- if (instance == null)
- {
- throw new ArgumentNullException("instance");
- }
-
- // If it's null remove the key from the dictionary
- if (string.IsNullOrEmpty(value))
- {
- if (instance.ProviderIds != null)
- {
- if (instance.ProviderIds.ContainsKey(name))
- {
- instance.ProviderIds.Remove(name);
- }
- }
- }
- else
- {
- // Ensure it exists
- if (instance.ProviderIds == null)
- {
- instance.ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
- }
-
- instance.ProviderIds[name] = value;
- }
- }
-
- /// <summary>
- /// Sets a provider id
- /// </summary>
- /// <param name="instance">The instance.</param>
- /// <param name="provider">The provider.</param>
- /// <param name="value">The value.</param>
- public static void SetProviderId(this IHasProviderIds instance, MetadataProviders provider, string value)
- {
- instance.SetProviderId(provider.ToString(), value);
- }
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/ScrollDirection.cs b/MediaBrowser.Model/Entities/ScrollDirection.cs
deleted file mode 100644
index ed2210300..000000000
--- a/MediaBrowser.Model/Entities/ScrollDirection.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum ScrollDirection
- /// </summary>
- public enum ScrollDirection
- {
- /// <summary>
- /// The horizontal
- /// </summary>
- Horizontal,
- /// <summary>
- /// The vertical
- /// </summary>
- Vertical
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/SeriesStatus.cs b/MediaBrowser.Model/Entities/SeriesStatus.cs
deleted file mode 100644
index d04a2856c..000000000
--- a/MediaBrowser.Model/Entities/SeriesStatus.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum SeriesStatus
- /// </summary>
- public enum SeriesStatus
- {
- /// <summary>
- /// The continuing
- /// </summary>
- Continuing,
- /// <summary>
- /// The ended
- /// </summary>
- Ended
- }
-}
diff --git a/MediaBrowser.Model/Entities/SortOrder.cs b/MediaBrowser.Model/Entities/SortOrder.cs
deleted file mode 100644
index 5130449ba..000000000
--- a/MediaBrowser.Model/Entities/SortOrder.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum SortOrder
- /// </summary>
- public enum SortOrder
- {
- /// <summary>
- /// The ascending
- /// </summary>
- Ascending,
- /// <summary>
- /// The descending
- /// </summary>
- Descending
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/TrailerType.cs b/MediaBrowser.Model/Entities/TrailerType.cs
deleted file mode 100644
index 085f461cf..000000000
--- a/MediaBrowser.Model/Entities/TrailerType.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace MediaBrowser.Model.Entities
-{
- public enum TrailerType
- {
- ComingSoonToTheaters = 1,
- ComingSoonToDvd = 2,
- ComingSoonToStreaming = 3,
- Archive = 4,
- LocalTrailer = 5
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/Entities/UserDataSaveReason.cs b/MediaBrowser.Model/Entities/UserDataSaveReason.cs
deleted file mode 100644
index d9691f395..000000000
--- a/MediaBrowser.Model/Entities/UserDataSaveReason.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum UserDataSaveReason
- /// </summary>
- public enum UserDataSaveReason
- {
- /// <summary>
- /// The playback start
- /// </summary>
- PlaybackStart = 1,
- /// <summary>
- /// The playback progress
- /// </summary>
- PlaybackProgress = 2,
- /// <summary>
- /// The playback finished
- /// </summary>
- PlaybackFinished = 3,
- /// <summary>
- /// The toggle played
- /// </summary>
- TogglePlayed = 4,
- /// <summary>
- /// The update user rating
- /// </summary>
- UpdateUserRating = 5,
- /// <summary>
- /// The import
- /// </summary>
- Import = 6
- }
-}
diff --git a/MediaBrowser.Model/Entities/Video3DFormat.cs b/MediaBrowser.Model/Entities/Video3DFormat.cs
deleted file mode 100644
index 722df4281..000000000
--- a/MediaBrowser.Model/Entities/Video3DFormat.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- public enum Video3DFormat
- {
- HalfSideBySide,
- FullSideBySide,
- FullTopAndBottom,
- HalfTopAndBottom,
- MVC
- }
-}
diff --git a/MediaBrowser.Model/Entities/VideoType.cs b/MediaBrowser.Model/Entities/VideoType.cs
deleted file mode 100644
index 05c2fa32c..000000000
--- a/MediaBrowser.Model/Entities/VideoType.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Enum VideoType
- /// </summary>
- public enum VideoType
- {
- /// <summary>
- /// The video file
- /// </summary>
- VideoFile,
- /// <summary>
- /// The iso
- /// </summary>
- Iso,
- /// <summary>
- /// The DVD
- /// </summary>
- Dvd,
- /// <summary>
- /// The blu ray
- /// </summary>
- BluRay
- }
-}
diff --git a/MediaBrowser.Model/Entities/VirtualFolderInfo.cs b/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
deleted file mode 100644
index 901090717..000000000
--- a/MediaBrowser.Model/Entities/VirtualFolderInfo.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using System.Collections.Generic;
-using MediaBrowser.Model.Configuration;
-
-namespace MediaBrowser.Model.Entities
-{
- /// <summary>
- /// Used to hold information about a user's list of configured virtual folders
- /// </summary>
- public class VirtualFolderInfo
- {
- /// <summary>
- /// Gets or sets the name.
- /// </summary>
- /// <value>The name.</value>
- public string Name { get; set; }
-
- /// <summary>
- /// Gets or sets the locations.
- /// </summary>
- /// <value>The locations.</value>
- public string[] Locations { get; set; }
-
- /// <summary>
- /// Gets or sets the type of the collection.
- /// </summary>
- /// <value>The type of the collection.</value>
- public string CollectionType { get; set; }
-
- public LibraryOptions LibraryOptions { get; set; }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="VirtualFolderInfo"/> class.
- /// </summary>
- public VirtualFolderInfo()
- {
- Locations = new string[] { };
- }
-
- /// <summary>
- /// Gets or sets the item identifier.
- /// </summary>
- /// <value>The item identifier.</value>
- public string ItemId { get; set; }
-
- /// <summary>
- /// Gets or sets the primary image item identifier.
- /// </summary>
- /// <value>The primary image item identifier.</value>
- public string PrimaryImageItemId { get; set; }
-
- public double? RefreshProgress { get; set; }
- public string RefreshStatus { get; set; }
- }
-}