mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Fixed: Don't download artist images if match existing (#362)
* Fixed: Don't download artist images if existing exists * fixup: Wrap FileSetWriteTime in try * fixup! Tests and Rework
This commit is contained in:
@@ -117,6 +117,18 @@ namespace NzbDrone.Common.Http
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? LastModified
|
||||
{
|
||||
get
|
||||
{
|
||||
return GetSingleValue("Last-Modified", Convert.ToDateTime);
|
||||
}
|
||||
set
|
||||
{
|
||||
SetSingleValue("Last-Modified", value);
|
||||
}
|
||||
}
|
||||
|
||||
public new IEnumerator<KeyValuePair<string, string>> GetEnumerator()
|
||||
{
|
||||
return AllKeys.SelectMany(GetValues, (k, c) => new KeyValuePair<string, string>(k, c)).ToList().GetEnumerator();
|
||||
|
||||
Reference in New Issue
Block a user