diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-14 01:15:33 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-14 01:15:33 +0200 |
commit | b98b2c57cf1031b43b57bb8b8d8b4954ac6dd4cc (patch) | |
tree | ebf2693475d5daee225cd0df45d9898d9c65bc61 /rc/bin | |
parent | 704bd2b513dca6ba35deb5adf97529e4ebb3261f (diff) |
play: set user-agent, otherwise server thinks we'r mozilla m(
Diffstat (limited to 'rc/bin')
-rwxr-xr-x | rc/bin/play | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/play b/rc/bin/play index 6851e4cbf..80ea396b0 100755 --- a/rc/bin/play +++ b/rc/bin/play @@ -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) |