Skip to content

Commit

Permalink
More changes to support internal subs #2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexballas committed Aug 22, 2024
1 parent e3e8b67 commit 8da5fab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/gui/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,11 @@ func playAction(screen *NewScreen) {
if screen.SelectInternalSubs.Selected != "" {
for n, opt := range screen.SelectInternalSubs.Options {
if opt == screen.SelectInternalSubs.Selected {
screen.PlayPause.Text = "Extracting Subtitles"
screen.PlayPause.Refresh()
tempSubsPath, err := utils.ExtractSub(n, screen.mediafile)
screen.PlayPause.Text = "Play"
screen.PlayPause.Refresh()
if err != nil {
break
}
Expand Down

0 comments on commit 8da5fab

Please sign in to comment.