[MPlayer-users] problem running mplayer in script

Steve steve at szmidt.org
Mon May 10 22:02:06 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 10 May 2004 12:47 pm, rcooley wrote:
> On Mon, 10 May 2004 12:33:55 +0100
>
> Martin Collins <martin at mkcollins.org> wrote:
> > Run the script in the find. Cute :-)
>
> Having the script handle the string processing just makes it a bit more
> complicated.  Anyhow, I spent a few extra minutes and did things that
> way.  No usage this time, but everything else applies, be sure to edit
> to configure (good defaults though).
>
>
> I have an MPlayer feature request...  How about having MPlayer act like
> a normal program and returning 1 after an error instead of always 0?
> Right now, if MPlayer exits without sending the PCM to oggenc, it will
> just wait forever because it doesn't know MPlayer quit on it.

Yes, working exit codes would be nice. 

Also if there's a way to check the amount of conversion done. In my case I 
run into wma files that I cannot convert. The only way I can check it now 
is if I check the file size. 

It would be more appropriate if mplayer gave let's say exit code 1 for 
successful completion but nothing encoded.

Meanwhile I'm off on my 15hr conversion project... : )
- -- 
Steve

"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                                Benjamin Franklin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAn9/BljK16xgETzkRAqV4AKDRs2Mte+exXNrKnq1z+wS67OsnrwCfdAxV
3a+nHQwuZCFNKWHBjb8MI1A=
=eCJz
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list