mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
remove support for mplayer
This commit is contained in:
parent
006fdc6572
commit
228c2014c7
6
ani-cli
6
ani-cli
@ -375,9 +375,6 @@ play_file() {
|
|||||||
mpv)
|
mpv)
|
||||||
nohup "$PLAYER_FN" --force-media-title="aniwrapper: play-from-file - $1" "$1" > /dev/null 2>&1 &
|
nohup "$PLAYER_FN" --force-media-title="aniwrapper: play-from-file - $1" "$1" > /dev/null 2>&1 &
|
||||||
;;
|
;;
|
||||||
mplayer)
|
|
||||||
nohup "$PLAYER_FN" -title "aniwrapper: play-from-file - $1" "$1" > /dev/null 2>&1 &
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
nohup "$PLAYER_FN" "$1" > /dev/null 2>&1 &
|
nohup "$PLAYER_FN" "$1" > /dev/null 2>&1 &
|
||||||
;;
|
;;
|
||||||
@ -673,9 +670,6 @@ open_episode() {
|
|||||||
mpv)
|
mpv)
|
||||||
nohup "$PLAYER_FN" --referrer="$dpage_link" "$video_url" --force-media-title="aniwrapper: $anime_id E$(printf "%03d" "$episode")" > /dev/null 2>&1 &
|
nohup "$PLAYER_FN" --referrer="$dpage_link" "$video_url" --force-media-title="aniwrapper: $anime_id E$(printf "%03d" "$episode")" > /dev/null 2>&1 &
|
||||||
;;
|
;;
|
||||||
mplayer)
|
|
||||||
nohup "$PLAYER_FN" -referrer "$dpage_link" "$video_url" -title "aniwrapper: $anime_id E$(printf "%03d" "$episode")" > /dev/null 2>&1 &
|
|
||||||
;;
|
|
||||||
vlc)
|
vlc)
|
||||||
nohup "$PLAYER_FN" --play-and-exit --http-referrer="$dpage_link" "$video_url" > /dev/null 2>&1 &
|
nohup "$PLAYER_FN" --play-and-exit --http-referrer="$dpage_link" "$video_url" > /dev/null 2>&1 &
|
||||||
;;
|
;;
|
||||||
|
@ -12,7 +12,7 @@ DEFAULT_DOWNLOAD="$HOME/Videos/sauce"
|
|||||||
ROFI_THEME="aniwrapper.rasi"
|
ROFI_THEME="aniwrapper.rasi"
|
||||||
THEMES="alter|aniwrapper|dracula|doomone|fancy|material|monokai|nord|nord2|onedark"
|
THEMES="alter|aniwrapper|dracula|doomone|fancy|material|monokai|nord|nord2|onedark"
|
||||||
QUALITIES="1. best|2. 1080p|3. 720p|4. 480p|5. 360p|6. worst"
|
QUALITIES="1. best|2. 1080p|3. 720p|4. 480p|5. 360p|6. worst"
|
||||||
SUPPORTED_PLAYERS="mpv|mplayer|vlc"
|
SUPPORTED_PLAYERS="mpv|vlc"
|
||||||
QUALITY=best
|
QUALITY=best
|
||||||
PLAYER_FN=mpv
|
PLAYER_FN=mpv
|
||||||
DPI=96
|
DPI=96
|
||||||
|
Loading…
Reference in New Issue
Block a user