mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-18 13:26:09 +00:00
fix: entry handling in TraktProgressRepository
This commit is contained in:
parent
765c6d4dbe
commit
78948e8b45
1 changed files with 3 additions and 1 deletions
|
|
@ -638,7 +638,9 @@ object TraktProgressRepository {
|
|||
shouldStop = true
|
||||
continue
|
||||
}
|
||||
resultsByShow.putIfAbsent(entry.parentMetaId, entry)
|
||||
if (!resultsByShow.containsKey(entry.parentMetaId)) {
|
||||
resultsByShow[entry.parentMetaId] = entry
|
||||
}
|
||||
if (resultsByShow.size >= MAX_RECENT_EPISODE_HISTORY_ENTRIES) {
|
||||
shouldStop = true
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue