Skip to content

Commit

Permalink
Fix Thai subtitles
Browse files Browse the repository at this point in the history
Fix #1382
  • Loading branch information
yujincheng08 committed Jan 28, 2024
1 parent ff79035 commit 1d13a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,7 @@ class BangumiSeasonHook(classLoader: ClassLoader) : BaseHook(classLoader) {
height = optLong("height")
}
}
duration = episode.optInt("duration")
epId = episode.optLong("id")
epIndex = episode.optInt("index")
from = episode.optString("from")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ object BiliRoamingApi {
if (!sPrefs.getBoolean("force_th_comment", false))
ep.optJSONObject("rights")?.put("area_limit", 1)
}
ep.put("duration", 114514)
episodes.put(ep)
}
data.put("id", sid)
Expand Down

0 comments on commit 1d13a8d

Please sign in to comment.