mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-04 02:28:36 +00:00
fix: partially marked series marking as watched.
This commit is contained in:
parent
baf8ea2ec0
commit
d614dd809d
1 changed files with 0 additions and 10 deletions
|
|
@ -75,16 +75,6 @@ object TraktWatchedSyncAdapter : WatchedSyncAdapter {
|
|||
val showId = normalizeId(show.ids) ?: return@forEach
|
||||
val showName = show.title ?: showId
|
||||
|
||||
// Add a series-level watched entry
|
||||
result += WatchedItem(
|
||||
id = showId,
|
||||
type = "series",
|
||||
name = showName,
|
||||
season = null,
|
||||
episode = null,
|
||||
markedAtEpochMs = rankedTimestamp(item.lastWatchedAt),
|
||||
)
|
||||
|
||||
// Add per-episode watched entries
|
||||
item.seasons.orEmpty().forEach seasonLoop@{ season ->
|
||||
val seasonNumber = season.number ?: return@seasonLoop
|
||||
|
|
|
|||
Loading…
Reference in a new issue