play: set user-agent, otherwise server thinks we'r mozilla m(

This commit is contained in:
cinap_lenrek 2014-05-14 01:15:33 +02:00
parent 704bd2b513
commit b98b2c57cf

View file

@ -34,7 +34,7 @@ fn play1 {
sed 's/ //g' | while(j=`{read}){
echo $"j >[1=2]
if(~ $"j http:* https:* HTTP:* HTTPS:*){
hget -r 'Icy-MetaData: 0' $"j | play1 $"j
hget -r 'User-Agent: play' -r 'Icy-MetaData: 0' $"j | play1 $"j
}
if not {
if(test -r $"j)