Handle AniList update errors and expand setup docs

This commit is contained in:
2026-02-17 00:00:30 -08:00
parent 5602d751eb
commit 7610bba16e
2 changed files with 18 additions and 1 deletions

View File

@@ -1317,7 +1317,9 @@ function bindMpvClientEventHandlers(mpvClient: MpvIpcClient): void {
if (text.trim() && appState.subtitleTimingTracker) {
appState.subtitleTimingTracker.recordSubtitle(text, start, end);
}
void maybeRunAnilistPostWatchUpdate();
void maybeRunAnilistPostWatchUpdate().catch((error) => {
logger.error("AniList post-watch update failed unexpectedly", error);
});
});
mpvClient.on("media-path-change", ({ path }) => {
mediaRuntime.updateCurrentMediaPath(path);