mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
Add TrySetProviderId extension
This commit is contained in:
@@ -479,10 +479,7 @@ public class GuideManager : IGuideManager
|
||||
DateModified = DateTime.UtcNow
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(info.Etag))
|
||||
{
|
||||
item.SetProviderId(EtagKey, info.Etag);
|
||||
}
|
||||
item.TrySetProviderId(EtagKey, info.Etag);
|
||||
}
|
||||
|
||||
if (!string.Equals(info.ShowId, item.ShowId, StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user