stsaz / fmedia

fast audio player/recorder/converter
BSD 2-Clause "Simplified" License
212 stars 20 forks source link

Information in terminal. #58

Closed eskiq closed 3 years ago

eskiq commented 3 years ago

I do have 1 file playing in terminal and I wanted to ask if I can somehow remove all information displayed in terminal like this:

fmedia v1.24 (win-x64)

#1 " - " 2.wav 0.34 MB, 0:02.005 (88,448 samples), 1411 kbps, WAVE, 44100 Hz, in
t16, stereo

[===================================.............................] 0:01 / 0:02
stsaz commented 3 years ago

Try --notui or suppress output entirely by using fmedia ... >nil 2>nil.

eskiq commented 3 years ago

I tried --notui, but its still displaying text output. This is my little bash script:

@echo off
goto Loop

:Loop
fmedia 3.wav
timeout /t 60 
goto Loop

How it should look like with "fmedia ... >nil 2>nil"?

Now I see that with --notui it works, but there is still version of the program:

fmedia v1.24 (win-x64)

Waiting for 0 seconds, press a key to continue ...
fmedia v1.24 (win-x64)

Waiting for 0 seconds, press a key to continue ...
fmedia v1.24 (win-x64)