Don't create wget output files

The place to discuss linux version of MakeMKV
Post Reply
trompette
Posts: 7
Joined: Fri May 30, 2014 2:39 pm

Don't create wget output files

Post by trompette » Wed Feb 22, 2017 11:50 pm

Hi,
It seems that recent wget versions (I'm running 1.19.1) redirect log messages to a file when running in the background. This causes the following messages when running the program:

Code: Select all

$ makemkv

Redirecting output to ‘wget-log’.

Redirecting output to ‘wget-log.1’.
And this also creates two wget log files in the current folder. I can reproduce this when I run wget in the background like so:

Code: Select all

$ wget -q -O - -T 20 -U 'MakeMKV/v1.10.4/linux(x64-release)' http://www.makemkv.com/keyinfo.txt.gz?a=7 &
Adding this switch fixes the issue:

Code: Select all

-o /dev/null

kevmitch
Posts: 59
Joined: Mon Mar 11, 2013 6:35 am

Re: Don't create wget output files

Post by kevmitch » Fri Jan 26, 2018 4:41 am

This still happens with the current MakeMKV v1.10.10 linux(x64-release). Most problematically, when using using libmmbd with mpv, which has recently fixed spam from libbluray. This wget output (not to mention the garbage file creation) is the sole remaining eyesore. This seem beyond the control of the library user. Seems kind of dumb "feature" for wget to have, but the fix is confirmed here and should be easy enough to implement in makemkvcon.

mosquitogang201
Posts: 5
Joined: Sat Dec 23, 2017 3:43 am

Re: Don't create wget output files

Post by mosquitogang201 » Sat Apr 14, 2018 11:09 pm

This bugged me too. The attached patch fixes it.
Attachments
makemkv_wget_patch.txt
(1.51 KiB) Downloaded 155 times

Post Reply