aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Studio.cs
diff options
context:
space:
mode:
authorTthecreator <epostvanthomas@kpnmail.nl>2019-01-22 15:22:42 +0000
committerGitHub <noreply@github.com>2019-01-22 15:22:42 +0000
commit189b99df16bd4c93cc96422d7282d01d9ff5b82f (patch)
tree26d7da95fe3e3b2772b8b39a2463a6c0ac7652fc /MediaBrowser.Controller/Entities/Studio.cs
parenta00c0defa8cb22774f5dc8a7d566eb36ac7307e8 (diff)
parentedcfd8b565f632088c8b1f826db8e2fbecf9790d (diff)
Merge pull request #1 from jellyfin/dev
Update from jellyfin repo
Diffstat (limited to 'MediaBrowser.Controller/Entities/Studio.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Studio.cs36
1 files changed, 6 insertions, 30 deletions
diff --git a/MediaBrowser.Controller/Entities/Studio.cs b/MediaBrowser.Controller/Entities/Studio.cs
index c076cd680..d6da0d48c 100644
--- a/MediaBrowser.Controller/Entities/Studio.cs
+++ b/MediaBrowser.Controller/Entities/Studio.cs
@@ -1,7 +1,7 @@
-using System;
+using System;
using System.Collections.Generic;
-using MediaBrowser.Model.Serialization;
using MediaBrowser.Controller.Extensions;
+using MediaBrowser.Model.Serialization;
using Microsoft.Extensions.Logging;
namespace MediaBrowser.Controller.Entities
@@ -29,31 +29,13 @@ namespace MediaBrowser.Controller.Entities
/// </summary>
/// <value>The containing folder path.</value>
[IgnoreDataMember]
- public override string ContainingFolderPath
- {
- get
- {
- return Path;
- }
- }
+ public override string ContainingFolderPath => Path;
[IgnoreDataMember]
- public override bool IsDisplayedAsFolder
- {
- get
- {
- return true;
- }
- }
+ public override bool IsDisplayedAsFolder => true;
[IgnoreDataMember]
- public override bool SupportsAncestors
- {
- get
- {
- return false;
- }
- }
+ public override bool SupportsAncestors => false;
public override double GetDefaultPrimaryImageAspectRatio()
{
@@ -81,13 +63,7 @@ namespace MediaBrowser.Controller.Entities
}
[IgnoreDataMember]
- public override bool SupportsPeople
- {
- get
- {
- return false;
- }
- }
+ public override bool SupportsPeople => false;
public static string GetPath(string name)
{