Fix Home navigation ownership and merge watch lanes
This commit is contained in:
parent
c2f7ccc438
commit
12c201dc55
41 changed files with 671 additions and 307 deletions
|
|
@ -99,6 +99,8 @@ class HomeFixture(context: Context) {
|
|||
resumeSeconds = item.optDouble("resumeSeconds", 0.0).takeIf { it.isFinite() } ?: 0.0,
|
||||
played = item.optBoolean("played"), addedAt = item.optString("addedAt", ""), genres = genres(item).toList(), ratings = ratings(item),
|
||||
held = item.optString("availability") == "in_library", tmdbId = item.intOrNull("tmdbId"),
|
||||
seriesId = item.stringOrNull("seriesId"),
|
||||
lastPlayedAt = item.stringOrNull("lastPlayedAt")?.let { java.time.Instant.parse(it).toEpochMilli() },
|
||||
)
|
||||
|
||||
private fun ratings(item: JSONObject): List<HomeRating> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue