MCPcopy Index your code
hub / github.com/MALSync/MALSync / autoNextEp

Method autoNextEp

src/pages-sync/syncPage.ts:131–136  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

129 autoNextEpRun = false;
130
131 public autoNextEp(item) {
132 if (api.settings.get('autoNextEp') && !this.autoNextEpRun && item.current + 1 > item.duration) {
133 this.autoNextEpRun = true;
134 this.openNextEp();
135 }
136 }
137
138 curState: any = undefined;
139

Callers 1

handlePageMethod · 0.95

Calls 2

openNextEpMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected