2
0
Fork 0
mirror of https://github.com/alexanderepstein/Bash-Snippets synced 2018-11-08 02:59:35 +01:00

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

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