summaryrefslogtreecommitdiff
path: root/rc/bin/play
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-05-14 01:15:33 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-05-14 01:15:33 +0200
commitb98b2c57cf1031b43b57bb8b8d8b4954ac6dd4cc (patch)
treeebf2693475d5daee225cd0df45d9898d9c65bc61 /rc/bin/play
parent704bd2b513dca6ba35deb5adf97529e4ebb3261f (diff)
play: set user-agent, otherwise server thinks we'r mozilla m(
Diffstat (limited to 'rc/bin/play')
-rwxr-xr-xrc/bin/play2
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)