FritzLoad gestartet 11.07.2010 11:50:12: ./fritzload.sh 1 -l-DEBUG /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ dl_job_file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ accountType=free
+ [ /var/fritzload/downloads = default ]
+ targetdir=/var/fritzload/downloads
+ [ -e /var/fritzload/downloads ]
+ rm -f /var/media/ftp/uStor01/FritzLoad/bin/../tmp/signal.stop1.dl /var/media/ftp/uStor01/FritzLoad/bin/../tmp/signal.restart1.dl /var/media/ftp/uStor01/FritzLoad/bin/../tmp/reconnect1.*
+ local usedHosterList=
+ echo -n /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ sed -e s,.*\(https\?\|ftp\)://.*,,
+ [ -n /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt ]
+ [ -f /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt ]
+ true
+ isEmpty /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ grep -c . /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 1 = 0 ]
+ unlock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 1
+ nextHosterEntry /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt line=
+ usedHosterList=
+ nextLine /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ correctFile /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt unlock=0
+ grep -c \r /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 0 != 0 ]
+ sed -e 1!d /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ unlock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ matchedLine=
+ matchedLineStore=
+ skip=0
+ echo -n
+ sed -n s/^[ \ ]*@\(.*\)/\1/p;s/[ \ ]*$//
+ passwd=
+ [ -n ]
+ [ -z -o -z ]
+ print Leerzeile 1
+ curl_msg_update
+ messageCount=1
+ [ 1 -ge 100 ]
+ echo -n 1
+ date +%H:%M:%S
+ echo 11:50:13 Leerzeile
11:50:13 Leerzeile
+ [ 1 = 0 ]
+ curl_msg Leerzeile
+ local message=Leerzeile type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n Leerzeile
+ [ 1 -ge 2 ]
+ [ 1 = 3 ]
+ startUnrar=1
+ skip=1
+ [ 1 = 1 ]
+ lock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ tr -d \r\t
+ sed -e 1d
+ mv /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt.tmp /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ unlock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ continue
+ true
+ isEmpty /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ grep -c . /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 1 = 0 ]
+ unlock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 1
+ nextHosterEntry /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt line=
+ usedHosterList=
+ nextLine /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ correctFile /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt unlock=0
+ grep -c \r /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 0 != 0 ]
+ sed -e 1!d /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ unlock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ matchedLine=http://www.youtube.com/watch?v=fLp63WBV-Ic
+ matchedLineStore=http://www.youtube.com/watch?v=fLp63WBV-Ic
+ skip=0
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ sed -n s/^[ \ ]*@\(.*\)/\1/p;s/[ \ ]*$//
+ passwd=
+ [ -n ]
+ [ -z http://www.youtube.com/watch?v=fLp63WBV-Ic -o -z http://www.youtube.com/watch?v=fLp63WBV-Ic ]
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ sed /^[ \ ]*#.*/d
+ [ -z http://www.youtube.com/watch?v=fLp63WBV-Ic ]
+ [ 0 = 1 ]
+ [ 1 = 1 ]
+ unrarit
+ unrar_settings
+ local ini=/var/media/ftp/uStor01/FritzLoad/bin/../config/unrar.ini
+ [ ! -f /var/media/ftp/uStor01/FritzLoad/bin/../config/unrar.ini ]
+ . /var/media/ftp/uStor01/FritzLoad/bin/../config/unrar.ini
unrarActive="1"
+ unrarActive=1
unrar_extractDir="/var/fritzload/downloads/unrar"
+ unrar_extractDir=/var/fritzload/downloads/unrar
unrar_moveDeleted=""
+ unrar_moveDeleted=
unrar_deleteArchives="-D"
+ unrar_deleteArchives=-D
unrar_packageSubDir="-P"
+ unrar_packageSubDir=-P
unrar_packageSubDirCount="1"
+ unrar_packageSubDirCount=1
unrar_DeepExtract="-x"
+ unrar_DeepExtract=-x
+ return 0
+ [ 1 != 1 ]
+ [ ! -f /var/media/ftp/uStor01/FritzLoad/bin/../config/unrar_jobs.txt ]
+ return 1
+ local loopDownload=0
+ [ -z http://www.youtube.com/watch?v=fLp63WBV-Ic ]
+ oneclickhoster http://www.youtube.com/watch?v=fLp63WBV-Ic free
+ url_string http://www.youtube.com/watch?v=fLp63WBV-Ic
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ sed -e s,^[ \ R]*\([0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]-[0-9][0-9]:[0-9][0-9];\)\?[ \ ]*\([^ ;]*\)[ \ ]*\(;.*\)\?$,\2,;\
s,\ *$,,;\
s,.*\(https\?\|ftp\)://,\1://,I;\
s/%3F/?/
+ tr -s /
+ sed -e s,\(https\?\|ftp\):/,\1://,
+ local param=http://www.youtube.com/watch?v=fLp63WBV-Ic param2file=
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ tr -d \n\r\t
+ [ -z http://www.youtube.com/watch?v=fLp63WBV-Ic ]
+ [ 0 = 1 ]
+ date +%d.%m.%y-%H:%M
+ matchedLineStore=11.07.10-11:50; http://www.youtube.com/watch?v=fLp63WBV-Ic
+ local switchPremium=free
+ [ free = free -a 0 = 1 ]
+ local premium=free
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ tr A-Z\-\. a-z__
+ sed -e s,\(http://\)rs[0-9]*.\(rapidshare.com.*\),\1\2, -e s,^https\?://\(www.\)*\([^/]*\).*,\2, -e s,2shared_com,twoshared_com, -e s,4shared_com,fourshared_com,
+ hoster_main=youtube_com
+ hoster_plugin=/var/media/ftp/uStor01/FritzLoad/bin/../lib/hoster/youtube_com.sh
+ [ -n youtube_com -a -f /var/media/ftp/uStor01/FritzLoad/bin/../lib/hoster/youtube_com.sh ]
+ hoster youtube_com free
+ local host=youtube_com wishedAccountType=free try=0 success=0 reconnected=0
+ local accountType=free
+ [ free = premium ]
+ [ youtube_com != normaldownload ]
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ sed -n s,.*\(https\?://[^/]*\).*,\1,p
+ local http=http://www.youtube.com
+ [ -n http://www.youtube.com ]
+ [ -z ]
+ usedHosterList=http://www.youtube.com
+ echo -e ### youtube_com-free: http://www.youtube.com/watch?v=fLp63WBV-Ic
### youtube_com-free: http://www.youtube.com/watch?v=fLp63WBV-Ic
+ waitPing
+ print Warte auf Internetverbindung...
+ curl_msg_update
+ messageCount=2
+ [ 2 -ge 100 ]
+ echo -n 2
+ date +%H:%M:%S
+ echo 11:50:13 Warte auf Internetverbindung...
11:50:13 Warte auf Internetverbindung...
+ [ 0 = 0 ]
+ return
+ [ 0 = 0 ]
+ curl_msg Warte auf Internetverbindung...
+ local message=Warte auf Internetverbindung... type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n Warte auf Internetverbindung...
+ ping -c 1 google.com
+ [ 0 = 0 ]
+ unrarFileBaseChanged
+ unrarFileBase
+ local file=
+ echo -n
+ sed -n s/\.[pP][aA][rR][tT][0-9]*\.[rR][aA][rR]$//p
+ base=
+ [ -z ]
+ echo -n
+ sed -n s/\.[rR][aA0-9][rR0-9][0-9]*$//p
+ base=
+ echo
+ local file= base=
+ [ -n ]
+ return 1
+ curl_msg_update
+ messageCount=3
+ [ 3 -ge 100 ]
+ echo -n 3
+ filename=http://www.youtube.com/watch?v=fLp63WBV-Ic
+ youtube_com free
+ local f=/var/tmp/fritzload1/dl.response.htm c=/var/tmp/fritzload1/dl.cookie.txt
+ local url file id signature
+ local file_or_playlist playlist=/var/tmp/fritzload1/list.tmp filename
+ GET http://www.youtube.com/watch?v=fLp63WBV-Ic /var/tmp/fritzload1/dl.response.htm --cookie-jar /var/tmp/fritzload1/dl.cookie.txt GET1
+ local url=http://www.youtube.com/watch?v=fLp63WBV-Ic file=/var/tmp/fritzload1/dl.response.htm options=--cookie-jar /var/tmp/fritzload1/dl.cookie.txt title=GET1
+ local titleURL=http://www.youtube.com/watch?v=fLp63WBV-Ic
+ print GET1: http://www.youtube.com/watch?v=fLp63WBV-Ic Options: --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ curl_msg_update
+ messageCount=4
+ [ 4 -ge 100 ]
+ echo -n 4
+ date +%H:%M:%S
+ echo 11:50:13 GET1: http://www.youtube.com/watch?v=fLp63WBV-Ic Options: --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
11:50:13 GET1: http://www.youtube.com/watch?v=fLp63WBV-Ic Options: --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ [ 0 = 0 ]
+ return
+ curl_msg GET1: http://www.youtube.com/watch?v=fLp63WBV-Ic
+ local message=GET1: http://www.youtube.com/watch?v=fLp63WBV-Ic type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n GET1: http://www.youtube.com/watch?v=fLp63WBV-Ic
+ [ --cookie-jar /var/tmp/fritzload1/dl.cookie.txt = - ]
+ /var/media/ftp/uStor01/FritzLoad/bin/../bin/curl -A 1 --location -Lso /var/tmp/fritzload1/dl.response.htm http://www.youtube.com/watch?v=fLp63WBV-Ic --user-agent User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
Segmentation fault
+ local retVal=0
+ [ 0 != 0 ]
+ [ 1 = 1 ]
+ [ GET1 != GET ]
+ filename GET1
+ echo -n GET1
+ tr -c A-Za-z0-9_#\/\-\. _
+ cp /var/tmp/fritzload1/dl.response.htm /var/tmp/fritzload1/dl.response.htm.GET1.htm
cp: cannot stat '/var/tmp/fritzload1/dl.response.htm': No such file or directory
+ return 0
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ grep -E view_play_list|user
+ file_or_playlist=
+ [ -z ]
+ [ 0 -lt 10 ]
+ try=1
+ _onefiledownload
+ local
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ sed -e s/.*\/watch?v=\(.*\)$/\1/
+ videoid=fLp63WBV-Ic
./fritzload.sh: line 1: can't open /var/tmp/fritzload1/dl.response.htm: no such file
+ tr , \n
+ grep "t"
+ sed -e s,.*: "\([^"]*\).*,\1,
+ t=
./fritzload.sh: line 1: can't open /var/tmp/fritzload1/dl.response.htm: no such file
+ tr , \n
+ grep "fmt_list"
+ sed -e s,.*: "\([^/]*\).*,\1,
+ fmt=
+ [ -z fLp63WBV-Ic ]
+ [ -z ]
+ grep var swfHTML /var/tmp/fritzload1/dl.response.htm
grep: /var/tmp/fritzload1/dl.response.htm: No such file or directory
+ sed -n -e s/.*fmt_url_map=\([0-9]\+\)|.*&t=\([^&]\+\)&.*&video_id=\([A-Za-z0-9_-]\+\).*/?video_id=\3\&t=\2\&fmt=\1/p
+ sed s/+/ /g; s/%/\\x/g
+ echo -e
+ url=
+ dl_url=http://www.youtube.com/get_video
+ grep -c 'IS_HD_AVAILABLE': true, /var/tmp/fritzload1/dl.response.htm
grep: /var/tmp/fritzload1/dl.response.htm: No such file or directory
+ [ != 0 ]
ash: 0: unknown operand
+ dl_url=http://www.youtube.com/get_video?video_id=fLp63WBV-Ic&t=&fmt=
+ [ -z http://www.youtube.com/get_video?video_id=fLp63WBV-Ic&t=&fmt= ]
+ grep meta name="title" /var/tmp/fritzload1/dl.response.htm
grep: /var/tmp/fritzload1/dl.response.htm: No such file or directory
+ tr -s \n\r\t\
+ sed -e s/'//g -e s/´//g -e s/,//g -e s,/,_,g -e s/ß/ss/g -e s/.*content=\"\([^\"]*\).*/\1/ -e s/"//g -e s/"//g
+ tr -c a-zA-Z0-9 _
+ file=.mp4
+ [ .mp4 = .mp4 ]
+ errmsg Dateinamen nicht gefunden (Video-Title)
+ date +%H:%M
+ local msg=FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
+ curl_msg_update
+ messageCount=5
+ [ 5 -ge 100 ]
+ echo -n 5
+ echo FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
+ curl_msg FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
+ local message=FAILED: 11:50: Dateinamen nicht gefunden (Video-Title) type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
+ smbmsg FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
+ [ 0 -eq 1 ]
+ dboxmsg FAILED: 11:50: Dateinamen nicht gefunden (Video-Title)
+ [ 0 -eq 1 ]
+ break
+ retVal=0
+ cleanup
+ local type=dl
+ [ 1 = 0 ]
+ [ 0 -eq 2 ]
+ [ 0 = 1 ]
+ [ 0 -eq 3 ]
+ [ 0 -eq 0 ]
+ errmsg Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ date +%H:%M
+ local msg=FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ curl_msg_update
+ messageCount=6
+ [ 6 -ge 100 ]
+ echo -n 6
+ echo FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ curl_msg FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ local message=FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic) type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ smbmsg FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ [ 0 -eq 1 ]
+ dboxmsg FAILED: 11:50: Download failed (http://www.youtube.com/watch?v=fLp63WBV-Ic)
+ [ 0 -eq 1 ]
+ remove_failed http://www.youtube.com/watch?v=fLp63WBV-Ic 11.07.10-11:50; http://www.youtube.com/watch?v=fLp63WBV-Ic /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ local remove=http://www.youtube.com/watch?v=fLp63WBV-Ic store=11.07.10-11:50; http://www.youtube.com/watch?v=fLp63WBV-Ic jobFile=/var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt failedFile=/var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ lock /var/media/ftp/uStor01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ lock /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_failed1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 1330 /var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ return 0
+ remove_line http://www.youtube.com/watch?v=fLp63WBV-Ic /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ local line=http://www.youtube.com/watch?v=fLp63WBV-Ic file=/var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt unlock=0
+ [ -n http://www.youtube.com/watch?v=fLp63WBV-Ic -a -f /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt ]
+ alreadyLocked /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ __read_lock_pid /var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ [ -L /var/tmp/fritzloadLocks/dl_failed1.txt.lock ]
+ ls -l /var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ sed -n s,.* -> \([0-9][0-9]*\)$,\1,p
+ [ 1330 = 1330 ]
+ return 0
+ tr -d \r\t
+ grep -v ^http://www.youtube.com/watch?v=fLp63WBV-Ic$
+ mv /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt.tmp /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ remove_url http://www.youtube.com/watch?v=fLp63WBV-Ic /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ url_string http://www.youtube.com/watch?v=fLp63WBV-Ic
+ echo -n http://www.youtube.com/watch?v=fLp63WBV-Ic
+ sed -e s,^[ \ R]*\([0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]-[0-9][0-9]:[0-9][0-9];\)\?[ \ ]*\([^ ;]*\)[ \ ]*\(;.*\)\?$,\2,;\
s,\ *$,,;\
s,.*\(https\?\|ftp\)://,\1://,I;\
s/%3F/?/
+ tr -s /
+ sed -e s,\(https\?\|ftp\):/,\1://,
+ local file=/var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt url=http://www.youtube.com/watch?v=fLp63WBV-Ic unlock=0
+ [ -n http://www.youtube.com/watch?v=fLp63WBV-Ic -a -f /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt ]
+ alreadyLocked /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ __read_lock_pid /var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ [ -L /var/tmp/fritzloadLocks/dl_failed1.txt.lock ]
+ ls -l /var/tmp/fritzloadLocks/dl_failed1.txt.lock
+ sed -n s,.* -> \([0-9][0-9]*\)$,\1,p
+ [ 1330 = 1330 ]
+ return 0
+ tr -d \r\t
+ grep -v ^[ \ ]*\([0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]-[0-9][0-9]:[0-9][0-9];[ \ ]*\)\?http://www.youtube.com/watch?v=fLp63WBV-Ic[ \ ]*\(;.*\)\?$
+ mv /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt.tmp /var/media/ftp/uStor01/FritzLoad/bin/../config/dl_failed1.txt