Raspi+MIPS wrote: > Hi everybody, > > is there a way to execute several cli commands in one step, avoiding > latencies from multiple connections? > > This gives me only the answer to the first query (artist): > > > Code: -------------------- > > echo -e "$playermac artist ?\n$playermac album ?\n$playermac title ?\nexit"| netcat 192.168.1.100 9090 -------------------- > > > > Thanks all!
Hi, 4 shure - your cmdline if *ux - so install expect and put all your "questions" to the cli in on -expectphrase-. Gruss Jan ------------------------------------------------------------------------ DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=100755 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
