Skip to content

Commit

Permalink
fix(en/hstream): Fix subtitles (#2549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudemirovsky authored Nov 25, 2023
1 parent 1750b3d commit 135faf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/en/hstream/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ext {
extName = 'Hstream'
pkgNameSuffix = 'en.hstream'
extClass = '.Hstream'
extVersionCode = 6
extVersionCode = 7
libVersion = '13'
containsNsfw = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class Hstream : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
.parseAs<PlayerApiResponse>()

val urlBase = data.stream_domains.random() + "/" + data.stream_url
val subtitleList = listOf(Track(urlBase, "English"))
val subtitleList = listOf(Track("$urlBase/eng.ass", "English"))

val resolutions = listOfNotNull("720", "1080", if (data.resolution == "4k") "2160" else null)
return resolutions.map { resolution ->
Expand Down

0 comments on commit 135faf9

Please sign in to comment.