File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
ARD/src/main/kotlin/com/bnyro
C3TV/src/main/kotlin/com/bnyro Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
2929import com.lagradost.cloudstream3.utils.ExtractorLink
3030import com.lagradost.cloudstream3.utils.Qualities
3131import com.lagradost.cloudstream3.utils.newExtractorLink
32+ import com.lagradost.cloudstream3.utils.newSubtitleFile
3233import java.text.SimpleDateFormat
3334import java.util.Calendar
3435import java.util.Locale
@@ -419,7 +420,7 @@ open class ARD : MainAPI() {
419420 for (subtitle in embedded.subtitles) {
420421 for (source in subtitle.sources) {
421422 subtitleCallback.invoke(
422- SubtitleFile (
423+ newSubtitleFile (
423424 lang = subtitle.languageCode.orEmpty(),
424425 url = source.url ? : continue
425426 )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
99import com.lagradost.cloudstream3.utils.ExtractorLinkType
1010import com.lagradost.cloudstream3.utils.Qualities
1111import com.lagradost.cloudstream3.utils.newExtractorLink
12-
12+ import com.lagradost.cloudstream3.utils.newSubtitleFile
1313
1414open class MediaCCC : MainAPI () {
1515 override var name = " C3TV"
@@ -104,7 +104,7 @@ open class MediaCCC : MainAPI() {
104104 )
105105 } else if (recording.mimeType.startsWith(" text" )) {
106106 subtitleCallback.invoke(
107- SubtitleFile (recording.language, recording.url)
107+ newSubtitleFile (recording.language, recording.url)
108108 )
109109 }
110110 }
You can’t perform that action at this time.
0 commit comments