From 228c2014c7e5484347f55aa1026081a31506d9c4 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Thu, 3 Mar 2022 23:54:59 -0800 Subject: [PATCH] remove support for mplayer --- ani-cli | 6 ------ aniwrapper | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ani-cli b/ani-cli index 324ed3d..28ae781 100755 --- a/ani-cli +++ b/ani-cli @@ -375,9 +375,6 @@ play_file() { mpv) 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 & ;; @@ -673,9 +670,6 @@ open_episode() { mpv) 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) nohup "$PLAYER_FN" --play-and-exit --http-referrer="$dpage_link" "$video_url" > /dev/null 2>&1 & ;; diff --git a/aniwrapper b/aniwrapper index 7ec269f..38ae3eb 100755 --- a/aniwrapper +++ b/aniwrapper @@ -12,7 +12,7 @@ DEFAULT_DOWNLOAD="$HOME/Videos/sauce" ROFI_THEME="aniwrapper.rasi" THEMES="alter|aniwrapper|dracula|doomone|fancy|material|monokai|nord|nord2|onedark" QUALITIES="1. best|2. 1080p|3. 720p|4. 480p|5. 360p|6. worst" -SUPPORTED_PLAYERS="mpv|mplayer|vlc" +SUPPORTED_PLAYERS="mpv|vlc" QUALITY=best PLAYER_FN=mpv DPI=96