play: set user-agent, otherwise server thinks we'r mozilla m(
This commit is contained in:
parent
704bd2b513
commit
b98b2c57cf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue