Is there an achievement for this?

This commit is contained in:
2025-01-05 13:25:30 +02:00
parent 68f9a4cece
commit 37d3bf2df3

View File

@@ -8,8 +8,6 @@ GRPOPPRO_DATA_FILE="$GRPOPPRO_DATA_DIR/lastPlayedSeries"
GRPOPPRO_PLAYLIST_FILE="$GRPOPPRO_DATA_DIR/lastPlaylistPlayed" GRPOPPRO_PLAYLIST_FILE="$GRPOPPRO_DATA_DIR/lastPlaylistPlayed"
GRPOPPRO_COOKIE_FILE="$GRPOPPRO_DATA_DIR/cookies.txt" GRPOPPRO_COOKIE_FILE="$GRPOPPRO_DATA_DIR/cookies.txt"
GRPOPPRO_HISTORY_FILE="$GRPOPPRO_DATA_DIR/history" GRPOPPRO_HISTORY_FILE="$GRPOPPRO_DATA_DIR/history"
GRPOPPRO_INTERACTIVE="on"
GRPOPPRO_DEBUG="on"
### Curl constants ### Curl constants
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0" USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"
ACCEPT="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ACCEPT="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
@@ -565,6 +563,9 @@ function getMovie {
### Program starts here ### ### Program starts here ###
# Prepare the necessary steps for Termux environment
[[ "$OSTYPE" != "linux-gnu" ]] && GRPOPPRO_INTERACTIVE="off" && menu="fzf -i --prompt=seasonXepisode" && player="am start -n is.xyz.mpv/.MPVActivity -a android.intent.action.VIEW -d" && getFzfForTermux
if [[ -f "$GRPOPPRO_CONFIG_FILE" ]]; then if [[ -f "$GRPOPPRO_CONFIG_FILE" ]]; then
while IFS='=' read -r key value; do while IFS='=' read -r key value; do
# Ignore lines starting with # # Ignore lines starting with #
@@ -616,9 +617,6 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
fi fi
fi fi
# Prepare the necessary steps for Termux environment
[[ "$OSTYPE" != "linux-gnu" ]] && GRPOPPRO_INTERACTIVE="off" && menu="fzf -i --prompt=seasonXepisode" && player="am start -n is.xyz.mpv/.MPVActivity -a android.intent.action.VIEW -d" && getFzfForTermux
[[ "$#" -lt 1 ]] && usage [[ "$#" -lt 1 ]] && usage
[[ "$#" -gt 3 ]] && usage [[ "$#" -gt 3 ]] && usage
[[ "$#" -eq 3 ]] && getSeries "$@" [[ "$#" -eq 3 ]] && getSeries "$@"