mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-25 12:27:38 +00:00
readability changes
This commit is contained in:
@@ -34,7 +34,7 @@ public class SrtFromTtmlWriter {
|
|||||||
private static String getTimestamp(Element frame, String attr) {
|
private static String getTimestamp(Element frame, String attr) {
|
||||||
return frame
|
return frame
|
||||||
.attr(attr)
|
.attr(attr)
|
||||||
.replace('.', ',');// Str uses comma as decimal separator
|
.replace('.', ',');// SRT subtitles uses comma as decimal separator
|
||||||
}
|
}
|
||||||
|
|
||||||
private void writeFrame(String begin, String end, StringBuilder text) throws IOException {
|
private void writeFrame(String begin, String end, StringBuilder text) throws IOException {
|
||||||
|
|||||||
Reference in New Issue
Block a user