Skip to content

Commit

Permalink
fix: 合集中视频的封面
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Dec 5, 2024
1 parent 5e74d3f commit 83db7b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data class UgcSeasonEpisode(
val cid: Long = 0L,
@SerialName("title") val title: String = "",
// attribute
// arc
val arc: UgcSeasonEpisodeArchive = UgcSeasonEpisodeArchive(),
// page
val bvid: String = "",
// pages
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.muedsa.tvbox.bilibili.model.bilibili

import kotlinx.serialization.Serializable

@Serializable
data class UgcSeasonEpisodeArchive(
val aid: Long = 0,
val pic: String = "",
val title: String = "",
)
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class MediaDetailService(
).toJsonString(),
title = it.title,
subTitle = info.owner?.name ?: "",
coverImageUrl = info.pic
coverImageUrl = it.arc.pic,
)
},
cardWidth = BilibiliConst.AV_CARD_WIDTH,
Expand Down

0 comments on commit 83db7b8

Please sign in to comment.