update home sections

This commit is contained in:
Luke Pulverenti
2017-06-13 02:33:29 -04:00
parent b5aca50c9e
commit 1663b258a7
11 changed files with 57 additions and 179 deletions

View File

@@ -56,7 +56,6 @@ namespace MediaBrowser.Controller.Entities
public string Path { get; set; }
public string PathNotStartsWith { get; set; }
public string Name { get; set; }
public string SlugName { get; set; }
public string Person { get; set; }
public string[] PersonIds { get; set; }

View File

@@ -221,12 +221,6 @@ namespace MediaBrowser.Controller.LiveTv
public override bool IsInternetMetadataEnabled()
{
if (IsMovie)
{
var options = (LiveTvOptions)ConfigurationManager.GetConfiguration("livetv");
return options.EnableMovieProviders;
}
return false;
}

View File

@@ -233,7 +233,12 @@ namespace MediaBrowser.Controller.MediaEncoding
return null;
}
return codec;
if (_mediaEncoder.SupportsDecoder(codec))
{
return codec;
}
return null;
}
/// <summary>