Moving getConfiguredPlayer so no need for vlc with travis

This commit is contained in:
Alex Epstein 2017-08-02 00:49:42 -04:00
parent a5326c1f0a
commit 2e913a0ce2
1 changed files with 3 additions and 1 deletions

View File

@ -161,7 +161,6 @@ EOF
}
getConfiguredClient || exit 1
getConfiguredPlayer || exit 1
checkInternet || exit 1
while getopts "vuc:s:h*:" option; do
@ -199,10 +198,13 @@ elif [[ $1 == "update" ]]; then
update
exit 0
elif [[ $flag == "search" ]]; then
getConfiguredPlayer || exit 1
searchview || exit 1
elif [[ $flag == "channel" ]]; then
getConfiguredPlayer || exit 1
channelview || exit 1
else
search=$(printf '%s ' "$@")
getConfiguredPlayer || exit 1
searchview || exit 1
fi