Skip to content

Commit

Permalink
feat: Added VLC Sub Support (#192)
Browse files Browse the repository at this point in the history
* feat: Added VLC Sub Support

* Updated versioning and formatting
  • Loading branch information
ibz096 authored Feb 26, 2024
1 parent 244412a commit f9294ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lobster.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

LOBSTER_VERSION="4.2.2"
LOBSTER_VERSION="4.2.3"

config_file="$HOME/.config/lobster/lobster_config.txt"
lobster_editor=${VISUAL:-${EDITOR}}
Expand Down Expand Up @@ -415,7 +415,8 @@ EOF
fi
;;
vlc)
vlc "$video_link" --meta-title "$displayed_title"
vlc_subs_links=$(printf "%s" "$subs_links" | sed 's/https\\:/https:/g; s/:\([^\/]\)/#\1/g')
vlc "$video_link" --meta-title "$displayed_title" --input-slave="$vlc_subs_links"
;;
mpv | mpv.exe)
[ -z "$continue_choice" ] && check_history
Expand Down

0 comments on commit f9294ff

Please sign in to comment.