ID:10T Error
This commit is contained in:
7
grpoppro
7
grpoppro
@@ -500,7 +500,9 @@ if [[ "$#" -eq 3 ]]; then
|
|||||||
| head -n1 \
|
| head -n1 \
|
||||||
| awk -F\" '{print $8}'
|
| awk -F\" '{print $8}'
|
||||||
)"
|
)"
|
||||||
message "Loading $title at season $season on episode $episode"
|
title="${title//%20/ }"
|
||||||
|
capitalized_title="$(echo "$title" | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2)}1')"
|
||||||
|
message "Loading $capitalized_title at season $season on episode $episode"
|
||||||
play
|
play
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@@ -512,7 +514,8 @@ if [[ "$#" -eq 1 ]] && [[ "$1" != "--menu" ]] && [[ "$1" != "--resume" ]] && [[
|
|||||||
getInternalID "$simpleurl" # Gets the complete url and performs one request to get the internal id or inform us it does not exist
|
getInternalID "$simpleurl" # Gets the complete url and performs one request to get the internal id or inform us it does not exist
|
||||||
getMovieStreamUrl "$internalid" # Gets the internal id and performs one request to get the stream url
|
getMovieStreamUrl "$internalid" # Gets the internal id and performs one request to get the stream url
|
||||||
title="${title//%20/ }"
|
title="${title//%20/ }"
|
||||||
message "Loading $title"
|
capitalized_title="$(echo "$title" | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2)}1')"
|
||||||
|
message "Loading $capitalized_title"
|
||||||
play # It uses mpv to stream the file
|
play # It uses mpv to stream the file
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user