Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add USER_AGENT

(redo from clean state)
  • Loading branch information...
commit 8bb4d6aac625b2177d802993d15d67caf400d4b8 1 parent 80c06ae
@mitsukarenai mitsukarenai authored
Showing with 7 additions and 0 deletions.
  1. +2 −0  fadecut
  2. +5 −0 fadecut.1
View
2  fadecut
@@ -62,6 +62,7 @@ VERBOSE=0 # verbosity level
LOOP_INTERVAL=10 # loop interval in seconds
RESTART_STREAMRIPPER_INTERVAL=900 # restart interval streamripper
STREAMRIPPER_START=0 # start streamripper [0/1]
+USER_AGENT="Streamripper/1.x" # streamripper useragent
STREAMRIPPER_OPTS="-o always -T" # streamripper options
E_NOARGS=65 # standard errorlevel definition
@@ -206,6 +207,7 @@ then
$BIN_STREAMRIPPER $STREAM_URL -d . \
--codeset-filesys=utf8 \
--codeset-id3=ISO-8859-1 \
+ -u $USER_AGENT \
-s $STREAMRIPPER_OPTS \
> $LOGDIR/fadecutstream-$PID.log 2>&1 &
PidStreamripper=$!
View
5 fadecut.1
@@ -132,6 +132,11 @@ FADE_OUT=4
.RS
Fade out for <n> seconds.
.RE
+.PP
+USER_AGENT="Streamripper/1.x"
+.RS
+Set the user-agent used by streamripper
+.RE
.SH EXAMPLES
Create a new ripping profile
.RS
Please sign in to comment.
Something went wrong with that request. Please try again.