View Single Post
  #41  
Old 06-24-2012, 12:52 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/dotfiles/commit/d1af

Quote:
1. Auto detect host

In the past the script has listed RTMP URLs, and the user needed to paste in
a correct URL. With this patch is an effort to automatically detect the RTMP
host and edit the hosts file accordingly. The regex is new so it might need
some tweaking.

2. The final rtmpdump call was not correct. It was calling something to the
effect of

rtmpdump <arguments>
rtmpdump <arguments> -v

That is wrong because it will try to execute both command in all circumstance.
Command was changed to

rtmpdump <arguments> || rtmpdump <arguments> -v

3. Script is no longer generating a second script and calling script. This is
not necessary
Reply With Quote