MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / updateEpTime

Method updateEpTime

MediaLibrary/animeinfo.cpp:224–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void Anime::updateEpTime(const QString &path, qint64 time, bool isFinished)
225{
226 if(!epLoaded) return;
227 for(auto &e : epInfoList)
228 {
229 if(e.localFile==path)
230 {
231 if(isFinished) e.finishTime = time;
232 else e.lastPlayTime = time;
233 return;
234 }
235 }
236}
237
238void Anime::updateEpInfo(const QString &path, const EpInfo &nInfo)
239{

Callers 6

updateFinishTimeMethod · 0.45
setDataMethod · 0.45
setCurrentItemMethod · 0.45
playPrevOrNextMethod · 0.45
setCurrentPlayTimeMethod · 0.45
updatePlayTimeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected