Changed ShowAnnounced to save last announced season number

This commit is contained in:
2024-11-19 19:52:44 -05:00
parent 6a518b0c9b
commit 039e3189eb

View File

@@ -300,14 +300,13 @@ namespace AnimeAnnouncer
} }
else else
{ {
_ = tmdbCache.SetPair($"ShowAnnounced-{supposedShowId}", "1"); _ = tmdbCache.SetPair($"ShowAnnounced-{supposedShowId}", latestSeasonNumber.ToString());
} }
if(mastodonClient != null && cachedShow != null) if(mastodonClient != null && cachedShow != null)
{ {
try try
{ {
PostStatus(cachedShow); PostStatus(cachedShow);
} }
catch(Exception ex) catch(Exception ex)
{ {