[MPlayer-users] problem running mplayer in script
Steve
steve at szmidt.org
Mon May 10 11:46:18 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 10 May 2004 05:17 am, Martin Collins wrote:
>
> Try adding -v to the mplayer command line. Then it will tell you what
> it thinks its command line is.
> The while read song thing seems a strange way to do it. How about
It's not a command line problem.
> for i in `find ...`
> do
> mplayer ... $i
> done
>
> Check out basename and dirname.
> You might hit a limit with the find in which case you will need recursion
> to walk the directory tree so use a function.
There's no recursion if you read the script. It simply executes mplayer with
a file name. It does not like the file name even if I put the file instead
of the $song var.
> Martin
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
- --
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)
iD8DBQFAn09uljK16xgETzkRAu3RAKC9Ph++xNE+Gkk+WdAtZb/rdS9o5ACgozER
3ymi0MtRBRxiQHqtsHFNFgo=
=rNGr
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list