Hi,
when nyxmms2 gets a server error it should return a non-zero
exit-status, so scripts can handle them. Also, error messages should
be on stderr.
$ xmms2 next
Server error: Can't set pos outside the current playlist!
$ echo $?
0
$ xmms2 next 2>/dev/null
Server error: Can't set pos outside the current playlist!
version info:
$ xmms2 --version
NyCLI version 0.1 (Speak To Me)
Copyright (C) 2008 XMMS2 Team
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Using readline version 6.2
Cheers,
Felix
--
_______________________________________________
Xmms2-devel mailing list
[email protected]
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel