Toei wrote: 
> hi i just get another shark white one .
> 
> where i can get rs-stream.sh where its located?
> 
> alsa detect two sharks but just change r to R
> 
> And it give another address to the other shark.

The code to locate the card at line 194.

You can just change the *r*adioSHARK to *R*adioSHARK


Code:
--------------------
    --- /u/tmp/rs-stream.sh     2021-06-06 09:03:37.000000000 -0400
  +++ /u/tmp/rs-stream2.sh      2021-06-19 08:31:12.000000000 -0400
  @@ -191,7 +191,7 @@
  ;;
  esac
  
  -CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep radioSHARK | awk '-F[ 
:]' '{print $2}')
  +CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep RadioSHARK | awk '-F[ 
:]' '{print $2}')
  
  if [ -z $CARD ]; then
        print -u2 "radioSHARK not found."
--------------------



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=54926

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to