increment tvdb image provider version

pull/702/head
Luke Pulverenti 12 years ago
parent d66eee5abb
commit aaecc99d63

@ -243,6 +243,8 @@ namespace MediaBrowser.Providers.TV
if (!series.LockedFields.Contains(MetadataFields.Cast)) if (!series.LockedFields.Contains(MetadataFields.Cast))
{ {
series.People.Clear();
FetchActors(series, actorsXmlPath, cancellationToken); FetchActors(series, actorsXmlPath, cancellationToken);
} }
} }
@ -758,6 +760,8 @@ namespace MediaBrowser.Providers.TV
} }
} }
personInfo.Type = PersonType.Actor;
if (!string.IsNullOrEmpty(personInfo.Name)) if (!string.IsNullOrEmpty(personInfo.Name))
{ {
series.AddPerson(personInfo); series.AddPerson(personInfo);

@ -27,6 +27,30 @@ namespace MediaBrowser.Providers.TV
_providerManager = providerManager; _providerManager = providerManager;
} }
protected override bool RefreshOnVersionChange
{
get
{
return true;
}
}
protected override string ProviderVersion
{
get
{
return "2";
}
}
public override bool RequiresInternet
{
get
{
return true;
}
}
public override bool Supports(BaseItem item) public override bool Supports(BaseItem item)
{ {
return item is Person; return item is Person;

Loading…
Cancel
Save