Is there an achievement for this?
This commit is contained in:
8
grpoppro
8
grpoppro
@@ -8,8 +8,6 @@ GRPOPPRO_DATA_FILE="$GRPOPPRO_DATA_DIR/lastPlayedSeries"
|
||||
GRPOPPRO_PLAYLIST_FILE="$GRPOPPRO_DATA_DIR/lastPlaylistPlayed"
|
||||
GRPOPPRO_COOKIE_FILE="$GRPOPPRO_DATA_DIR/cookies.txt"
|
||||
GRPOPPRO_HISTORY_FILE="$GRPOPPRO_DATA_DIR/history"
|
||||
GRPOPPRO_INTERACTIVE="on"
|
||||
GRPOPPRO_DEBUG="on"
|
||||
### Curl constants
|
||||
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"
|
||||
@@ -565,6 +563,9 @@ function getMovie {
|
||||
|
||||
### 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
|
||||
while IFS='=' read -r key value; do
|
||||
# Ignore lines starting with #
|
||||
@@ -616,9 +617,6 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||
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
|
||||
[[ "$#" -gt 3 ]] && usage
|
||||
[[ "$#" -eq 3 ]] && getSeries "$@"
|
||||
|
||||
Reference in New Issue
Block a user