From: Jonatan L. <li...@ky...> - 2007-06-17 17:33:09
|
Janek Kozicki wrote: > Nils Erik Svangård said: (by the date of Sun, 17 Jun 2007 12:54:28 +0200) > >> That worked! >> I am not familiar with the term "leafnames". Whats is that? >> >> I did a !mplayer -shuffle $@ and that worked. But it seems strange to >> me anyway, what is the diffrence? mplayer seems to shuffle the >> selection, shouldnt the same limitation of the size of the argument >> apply here? > > the length of command lines arguments is much shorter because the names > did not contain a full path (for each of the arguments). mplayer was > invoked from that directory, and only filenames were used, without > directory. Perhaps the sendto should cd into the directory where the "sent" files live before invoking the program, and not use the full paths? as far as I know, this will always be the same dir for all the files since you can't select files from different directories. this would also be nice for other purposes, like "sendTo convert to MP3" and the resulting file would end up there in the same dir without one having to extract the dirname of the first file argument with a script. -- /Jonatan [ http://kymatica.com ] |