Merge branch 'dev' into code-cleanup

This commit is contained in:
Erwin de Haan
2019-01-11 12:50:36 +01:00
345 changed files with 2991 additions and 3236 deletions

View File

@@ -420,7 +420,7 @@ namespace MediaBrowser.Model.Entities
var fromCodec = Codec;
// Can't convert from this
// Can't convert from this
if (StringHelper.EqualsIgnoreCase(fromCodec, "ass"))
{
return false;
@@ -430,7 +430,7 @@ namespace MediaBrowser.Model.Entities
return false;
}
// Can't convert to this
// Can't convert to this
if (StringHelper.EqualsIgnoreCase(toCodec, "ass"))
{
return false;

View File

@@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Entities
{
return !string.IsNullOrEmpty(instance.GetProviderId(provider.ToString()));
}
/// <summary>
/// Gets a provider id
/// </summary>
@@ -65,7 +65,7 @@ namespace MediaBrowser.Model.Entities
{
throw new ArgumentNullException(nameof(instance));
}
// If it's null remove the key from the dictionary
if (string.IsNullOrEmpty(value))
{