Subtitle Resync

Java

Subtitle Resync remove or add delay time.

Gradle

allprojects {
   repositories {
      ...
      maven { url 'https://jitpack.io' }
   }
}
dependencies {
    ...
    compile 'com.github.bachors:SubtitleResync:1.0'
}

Usage

String srt = "your subtitle";

new SubtitleResync()
	.subtitle(srt) // subtitle String
	.delay(SubtitleResync.ADD) // or SubtitleResync.REMOVE
	.millisecond(1500) // milliseconds
	.resync(new SubtitleResync.Listener() {
        @Override
        public void onResponse(String srt) {
            // output
            ...
        }
    });

 


keyboard_arrow_up