Merge pull request #714 from awiouy/scw-dev8

spotify-connect-web: handle PCM specified as a:CARD=c,DEV=d
This commit is contained in:
Christian Hewitt 2016-09-09 11:11:02 +04:00 committed by GitHub
commit 5559d9a600
3 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
8.0.103
- Handle PCM specified as a:CARD=c,DEV=d
8.0.102 8.0.102
- Add passwordless/mutiuser login - Add passwordless/mutiuser login

View File

@ -18,7 +18,7 @@
PKG_NAME="spotify-connect-web" PKG_NAME="spotify-connect-web"
PKG_VERSION="0.0.3-alpha" PKG_VERSION="0.0.3-alpha"
PKG_REV="102" PKG_REV="103"
PKG_ARCH="arm" PKG_ARCH="arm"
PKG_ADDON_PROJECTS="RPi2 WeTek_Core WeTek_Play" PKG_ADDON_PROJECTS="RPi2 WeTek_Core WeTek_Play"
PKG_LICENSE="prop." PKG_LICENSE="prop."

View File

@ -71,6 +71,7 @@ case "$scw_o" in
*:CARD=*) *:CARD=*)
card="${scw_o##*:CARD=}" card="${scw_o##*:CARD=}"
card="${card%%,*}"
activate_card "$card" activate_card "$card"
index="$(readlink /proc/asound/$card)" index="$(readlink /proc/asound/$card)"
index="${index##*card}" index="${index##*card}"