Re: [RDD] Why is it so?

2018-02-03 Thread David Klann
Arrrgh. Thanks for that correction! Serves me right for relying on
memory. You're absolutely correct. That change from wget came more than
10 years ago!


On 02/03/2018 02:37 AM, Hoggins! wrote:
> If I'm correct, RDCatch is libcurl-based, so it has not much to do with
> wget or its behavior.
> So in that case I guess it would be preferable to test with cURL instead
> of wget on both platforms to get more consistent results.
> 
> Le 03/02/2018 à 04:13, David Klann a écrit :
>> RDCatch uses
>> wget so it makes sense that you are seeing the same issue there.



signature.asc
Description: OpenPGP digital signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Why is it so?

2018-02-03 Thread Lamar Owen

On 02/02/2018 02:48 PM, Bill Putney wrote:


wget --post-data 'user=_/username/_&password=_/password/_' 
http://www.xyz.org/downloads/Current.mp3


...Using the Firefox browser on the same Rivendell machine and filling 
in the username and password in the pop-up then right-click and save 
always works.


Hmm, using the POST method with this string is not the same thing as a 
right-click then save in Firefox.  Try this command instead:
wget --user=username --password=password 
http://www.xyz.org/downloads/Current.mp3


Why it works in OS X I don't know, but the pop-up username/password 
prompt from a right-click then save in Firefox is an authenticated GET 
not a POST.


Hope that helps.__

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Why is it so?

2018-02-03 Thread Hoggins!
If I'm correct, RDCatch is libcurl-based, so it has not much to do with
wget or its behavior.
So in that case I guess it would be preferable to test with cURL instead
of wget on both platforms to get more consistent results.

Le 03/02/2018 à 04:13, David Klann a écrit :
> RDCatch uses
> wget so it makes sense that you are seeing the same issue there.




signature.asc
Description: OpenPGP digital signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Why is it so?

2018-02-02 Thread David Klann
On 02/02/2018 01:48 PM, Bill Putney wrote:
> Why is it that;
> 
> wget --post-data 'user=_/username/_&password=_/password/_'
> http://www.xyz.org/downloads/Current.mp3
> 
> does exactly what you think it should do in OS X but gets an error
> message back from the web server and stores it in WCL_Current.mp3
> instead of the audio when executed in a Rivendell (Broadcast Appliance)
> terminal
> window?
> 

My initial guess is that www.xyz.org is responding with a redirect to
either a different site, or simply a different file name. RDCatch uses
wget so it makes sense that you are seeing the same issue there.

Why it works differently between MacOS and Linux remains a mystery. Can
you post the output of wget --version from both operating systems? Also,
check the contents of /etc/wgetrc and any other dot-files (e.g.,
$HOME/.wgetrc).

  ~David

> Using the Firefox browser on the same Rivendell machine and filling in
> the username and password in the pop-up then right-click and save always
> works.
> 
> It seems to be the same kind of broken that happens with RDCatch with
> this same download. Then when RDCatch tries to import it into a cart it
> complains about it not being a valid audio file . Trying to work
> around broken RDCatch but maybe it's not RDCatch but a system call
> that's broken.
> 
> Thanks,
> 
> Bill Putney - WB6RFW
> 
> District 2 Commissioner - Port of Port Townsend
> Chief Engineer - KPTZ
> El Jefe de Contenido - Port Townsend Film Festival
> Private Pilot-Single Engine Land | Airframe & Powerplant / Inspection
> Authorization




signature.asc
Description: OpenPGP digital signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Why is it so?

2018-02-02 Thread Cowboy
On Fri, 2 Feb 2018 11:48:54 -0800
Bill Putney  wrote:

> wget --post-data 'user=_/username/_&password=_/password/_' 
> http://www.xyz.org/downloads/Current.mp3
> 
> does exactly what you think it should do in OS X but gets an error 
> message back from the web server and stores it in WCL_Current.mp3 
> instead of the audio when executed in a Rivendell (Broadcast Appliance) 
> terminal
> window?

 Most likely because "what you think it should do" is based entirely on
 your familiarity with OS X, and not so much on the other variants.

 I'll not argue one is right and one is wrong, because they are
 just different. Such is the nature of ported stuff.
 Apple changed some things when they adapted it from Linux.

-- 
Cowboy

There's two theories about arguing with a woman.
 Neither one works.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Why is it so?

2018-02-02 Thread Bill Putney

Why is it that;

wget --post-data 'user=_/username/_&password=_/password/_' 
http://www.xyz.org/downloads/Current.mp3


does exactly what you think it should do in OS X but gets an error 
message back from the web server and stores it in WCL_Current.mp3 
instead of the audio when executed in a Rivendell (Broadcast Appliance) 
terminal

window?

Using the Firefox browser on the same Rivendell machine and filling in 
the username and password in the pop-up then right-click and save always 
works.


It seems to be the same kind of broken that happens with RDCatch with 
this same download. Then when RDCatch tries to import it into a cart it 
complains about it not being a valid audio file . Trying to work 
around broken RDCatch but maybe it's not RDCatch but a system call 
that's broken.


Thanks,

Bill Putney - WB6RFW

District 2 Commissioner - Port of Port Townsend
Chief Engineer - KPTZ
El Jefe de Contenido - Port Townsend Film Festival
Private Pilot-Single Engine Land | Airframe & Powerplant / Inspection 
Authorization


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev