diff options
Diffstat (limited to 'src/screen_play.c')
-rw-r--r-- | src/screen_play.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/screen_play.c b/src/screen_play.c index 8d3fc6cf7..9dc2a9651 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -151,9 +151,14 @@ play_exit(void) } static char * -play_title(void) +play_title(char *str, size_t size) { - return _("Music Player Client - Playlist"); + if( strcmp(options.host, "localhost") == 0 ) + return _("Playlist"); + + snprintf(str, size, _("Playlist on %s"), options.host); + + return str; } static void |