set DontFetchMeta at resolve time

This commit is contained in:
Luke Pulverenti
2013-06-09 09:31:23 -04:00
parent 4c230f7901
commit fb4c559549
2 changed files with 5 additions and 14 deletions

View File

@@ -155,19 +155,7 @@ namespace MediaBrowser.Controller.Entities
/// Returns true if this item should not attempt to fetch metadata
/// </summary>
/// <value><c>true</c> if [dont fetch meta]; otherwise, <c>false</c>.</value>
[IgnoreDataMember]
public virtual bool DontFetchMeta
{
get
{
if (Path != null)
{
return Path.IndexOf("[dontfetchmeta]", StringComparison.OrdinalIgnoreCase) != -1;
}
return false;
}
}
public bool DontFetchMeta { get; set; }
/// <summary>
/// Determines whether the item has a saved local image of the specified name (jpg or png).