summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.c b/main.c
index 5bf14332..65d5d0d9 100644
--- a/main.c
+++ b/main.c
@@ -122,13 +122,15 @@ update_songinfo (void) {
strcpy (t, "-:--");
}
- int bitrate = streamer_get_bitrate ();
char sbitrate[20] = "";
+#if 0 // NOTE: do not enable that for stable branch yet
+ int bitrate = streamer_get_bitrate ();
if (bitrate > 0) {
snprintf (sbitrate, sizeof (sbitrate), "%d kbps ", bitrate);
}
+#endif
const char *spaused = p_ispaused () ? "Paused | " : "";
- snprintf (sbtext_new, sizeof (sbtext_new), "%s[%s] %s| %dHz | %d bit | %s | %d:%02d / %s | %d songs | %s total playtime", spaused, str_playing_song.filetype ? str_playing_song.filetype:"-", sbitrate, samplerate, bitspersample, mode, minpos, secpos, t, pl_getcount (), totaltime_str);
+ snprintf (sbtext_new, sizeof (sbtext_new), "%s%s %s| %dHz | %d bit | %s | %d:%02d / %s | %d songs | %s total playtime", spaused, str_playing_song.filetype ? str_playing_song.filetype:"-", sbitrate, samplerate, bitspersample, mode, minpos, secpos, t, pl_getcount (), totaltime_str);
}
if (strcmp (sbtext_new, sb_text)) {