Changed ShowAnnounced to save last announced season number
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user