Code

Major cleanup of the mpd client code (mpc->mpdclient)
[ncmpc.git] / src / ncmpc.h
index 93e48d541235219e97e75dc4fcd98cebe6b0fe8d..6bbb745fbbcee19bb081d67a8c3a6dca464b3b20 100644 (file)
@@ -6,9 +6,9 @@
 #endif
 
 #ifdef DEBUG
-#define D(x) x
+#define D(x, args...) fprintf(stderr, x,  ##args)
 #else
-#define D(x)
+#define D(x,...)
 #endif
 
 /* i18n */
 /* time in milliseconds before trying to reconnect (int) */
 #define MPD_RECONNECT_TIME  1000
 
+/* song format - list window */
+#define LIST_FORMAT "%name%|[%artist% - ]%title%|%file%"
+
+/* song format - status window */
+#define STATUS_FORMAT "[%artist% - ]%title%|%basename%"
 
 #endif /* NCMPC_H */