diff --git a/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/SelectorMediaSourceEngine.kt b/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/SelectorMediaSourceEngine.kt index 891fbbcfef..a6236627e1 100644 --- a/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/SelectorMediaSourceEngine.kt +++ b/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/SelectorMediaSourceEngine.kt @@ -184,7 +184,7 @@ abstract class SelectorMediaSourceEngine { val subtitleLanguages = guessSubtitleLanguages(info, parser) info.episodeSort ?: return@mapNotNull null DefaultMedia( - mediaId = "$mediaSourceId.${subjectName}-${info.name}-${info.episodeSort}", + mediaId = "$mediaSourceId.${subjectName}-${info.channel}-${info.name}-${info.episodeSort}", mediaSourceId = mediaSourceId, originalUrl = info.playUrl, download = ResourceLocation.WebVideo(info.playUrl), diff --git a/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/WebSearchSubjectInfo.kt b/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/WebSearchSubjectInfo.kt index 88a0d5ad86..0acf918d68 100644 --- a/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/WebSearchSubjectInfo.kt +++ b/app/shared/app-data/src/commonMain/kotlin/data/source/media/source/web/WebSearchSubjectInfo.kt @@ -27,7 +27,7 @@ class WebSearchChannelInfo( data class WebSearchEpisodeInfo( /** - * 播放线路 + * 播放线路, 与 [name] 一起组成 ID. 如要修改, 考虑 [SelectorMediaSourceEngine.selectMedia] */ val channel: String?, /**