summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/wps-display.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 9961058a3a..88a3883df0 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -27,6 +27,7 @@
27#include <stdlib.h> 27#include <stdlib.h>
28 28
29#include "lcd.h" 29#include "lcd.h"
30#include "hwcompat.h"
30#include "font.h" 31#include "font.h"
31#include "mpeg.h" 32#include "mpeg.h"
32#include "id3.h" 33#include "id3.h"
@@ -394,11 +395,17 @@ static char* get_tag(struct mp3entry* id3,
394#endif 395#endif
395 case 'f': /* full-line progress bar */ 396 case 'f': /* full-line progress bar */
396#ifdef HAVE_LCD_CHARCELLS 397#ifdef HAVE_LCD_CHARCELLS
397 *flags |= WPS_REFRESH_PLAYER_PROGRESS; 398 if(has_new_lcd()) {
398 *flags |= WPS_REFRESH_DYNAMIC; 399 *flags |= WPS_REFRESH_PLAYER_PROGRESS;
399 full_line_progressbar=1; 400 *flags |= WPS_REFRESH_DYNAMIC;
400 /* we need 11 characters (full line) for progress-bar */ 401 full_line_progressbar=1;
401 snprintf(buf, buf_size, " "); 402 /* we need 11 characters (full line) for
403 progress-bar */
404 snprintf(buf, buf_size, " ");
405 } else {
406 /* Tell the user if we have an OldPlayer */
407 snprintf(buf, buf_size, " <Old LCD> ");
408 }
402 return buf; 409 return buf;
403#endif 410#endif
404 case 'p': /* Playlist Position */ 411 case 'p': /* Playlist Position */