spaam / svtplay-dl

Small command-line program to download videos from some streaming sites.
https://svtplay-dl.se
MIT License
724 stars 122 forks source link

What is the meaning of --silent vs --silent-semi #1464

Open wahboh opened 2 years ago

wahboh commented 2 years ago

Thanks for an excellent and very useful application!

Question: I see no difference between using flag --silent and --silent-semi . The app is totally silent in both cases.

No flag gives a length of information about possible subtitles. --verbose gives tons of debug info.

How do I ONLY get download info (the "progress bars") as in previous versions of svtplay-dl?

spaam commented 2 years ago

the difference is this:

➜  lib git:(master) ✗ svtplay-dl https://www.svtplay.se/klipp/34799027/toppnyheter --silent-semi
INFO: Download of svt.nyheter.toppnyheter-a3eebdf-svtplay.mp4 was completed
➜  lib git:(master) ✗ svtplay-dl https://www.svtplay.se/klipp/34799027/toppnyheter -s
➜  lib git:(master) ✗

it shows a message when the video is downloaded. the silent one shows nothing

wahboh commented 2 years ago

Thanks for your reply!

Previously and when using --verbose you got progress bars that were helpful to se if a download has stalled. In the 2021 versions of svtplay-dl I think I remember that those progress bars were default unless you used -s or --silent-semi. Do I remember correctly, and have the progress bars been removed?

Thanks for your work!

spaam commented 2 years ago

yes progressbars are default with and without --verbose . they get slightly borked when using --verbose because of all the output from it. progressbars are still there in the script. i tried it now and it stil works like it did last year and before that :)