SRT works ; adds support for export/import ass

This commit is contained in:
Guillaume Tâche
2024-08-24 20:52:01 +02:00
parent d14e32bfd0
commit 728b563d8b
37 changed files with 552 additions and 145 deletions

View File

@@ -48,12 +48,12 @@ public interface ParametersModel {
/**
* @return The current font family
*/
String fontFamily();
String fontName();
/**
* @param fontFamily The new font family
*/
void setFontFamily(String fontFamily);
void setFontName(String fontFamily);
/**
* @return The current font size

View File

@@ -1,6 +1,7 @@
package com.github.gtache.autosubtitle.gui;
import com.github.gtache.autosubtitle.Language;
import com.github.gtache.autosubtitle.VideoInfo;
import com.github.gtache.autosubtitle.subtitle.Subtitle;
import com.github.gtache.autosubtitle.subtitle.SubtitleCollection;
@@ -32,6 +33,18 @@ public interface SubtitlesModel<T extends Subtitle, U extends SubtitleCollection
*/
void setVideoLanguage(Language language);
/**
* @return The video info
*/
VideoInfo videoInfo();
/**
* Sets the video info
*
* @param videoInfo The new video info
*/
void setVideoInfo(VideoInfo videoInfo);
/**
* @return The list of available translations languages
*/