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:
parent
a5326c1f0a
commit
2e913a0ce2
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue