Quote:
Originally Posted by Anywho
Tiz done... You can get the latest (for Windows) v2.4 (110812) from here.
|
Nice one! Thanks for putting this out there.

As promised, have tested this successfully, using some Q&D bodges to iViewDownloader v15.84, thusly:
Code:
...
SET RTMP_DEBUG=-# -V
SET RTMP_PORT=
SET CURL_OPT=--compressed -B -s -o
...
...
) else (
bin\rtmpdump.exe %RESUME% %RTMP_DEBUG% -r rtmp://203.18.195.10/ %RTMP_PORT% -a ondemand?auth=%TOKEN% -y %SHOW_PATH% -o "%SAVE_PATH%" %SWFPARAM%
)
REM pause
rem echo %ERRORLEVEL%
if ERRORLEVEL 3 (
Call :LogMessage Error connecting to port 1935. Retrying on port 80...
set /a RETRY_COUNT=!RETRY_COUNT! - 1
if !RETRY_COUNT! GTR 1 (
DEL "%SAVE_PATH%"
SET RTMP_PORT=-c 80
goto RetryDownload
) else (
call :FailedList %1 %2
if /i "%LEECH%" == "p" pause
goto DownloadFailed
)
)
...
I noticed that I had to force the deletion of the zero-byte file created if the 1935 port connect failed. Otherwise the retry fails; rtmpdump appears to insist the stream output file doesn't exist. I hope this helps; I'm sure it needs refinement by someone who understands batch programming and the downloaders more than me.
Not sure if aunty have been watching us here, but it seems the iview client itself has stopped failing over to port 80. Now we're ahead of the curve!
Cheers.