summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f0340e)
raw | patch | inline | side by side (parent: 7f0340e)
author | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 11:50:35 +0000 (13:50 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 11:50:35 +0000 (13:50 +0200) |
The caller should decide how to display error messages.
src/mpdclient.c | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 6d9d72b9c206789e6694400783397f8b13553ba1..5699e0760275307a680f75490c99da2439dc2daa 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
if (length <= 0) {
mpd_freeStatus(status);
- screen_status_message("You have to have a playlist longer than 1 song in length to crop");
} else if (status->state == 3 || status->state == 2) {
/* If playing or paused */
mpd_freeStatus(status);
} else {
mpd_freeStatus(status);
- screen_status_message("You need to be playing to crop the playlist\n");
}
return mpdclient_finish_command(c);