mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-01 00:59:27 +00:00
Take videoid from meta for track services in progress items
This commit is contained in:
parent
abbfb62b4e
commit
ebbc9709fc
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,11 @@ internal fun enrichWatchProgressEntry(
|
|||
null
|
||||
}
|
||||
return current.copy(
|
||||
videoId = if (current.source != WatchProgressSourceLocal && episodeVideo != null) {
|
||||
episodeVideo.id.takeIf(String::isNotBlank) ?: current.videoId
|
||||
} else {
|
||||
current.videoId
|
||||
},
|
||||
title = meta.name.takeIf(String::isNotBlank) ?: current.title,
|
||||
poster = meta.poster?.takeIf(String::isNotBlank) ?: current.poster,
|
||||
background = meta.background?.takeIf(String::isNotBlank) ?: current.background,
|
||||
|
|
|
|||
Loading…
Reference in a new issue