[fix]
[tts ]
This commit is contained in:
yangyakun
2024-11-04 16:26:06 +08:00
parent 92b7b45426
commit dd1e31186f
2 changed files with 1 additions and 2 deletions

View File

@@ -73,7 +73,6 @@ data class CarExecutableTaskResponse(val data: List<Result>?) : BaseData(){
it.videoList?.forEach { videoInfoIt-> it.videoList?.forEach { videoInfoIt->
videoInfoList.add(videoInfoIt) videoInfoList.add(videoInfoIt)
} }
it.isPlayTts = true
if(videoInfoList.isNotEmpty()) { if(videoInfoList.isNotEmpty()) {
it.videoListDB = GsonUtils.toJson(videoInfoList) it.videoListDB = GsonUtils.toJson(videoInfoList)
} }

View File

@@ -270,7 +270,7 @@ object LineModel:CommonModel(){
private fun startStationVideo(startStationInfo: BusStationBean){ private fun startStationVideo(startStationInfo: BusStationBean){
val introductionList = mutableListOf<MediaItem>() val introductionList = mutableListOf<MediaItem>()
startStationInfo.videoList.forEach { startStationInfo.videoList?.forEach {
if(it.type==1) { if(it.type==1) {
introductionList.add( introductionList.add(
MediaItem( MediaItem(