"%s:%s\n" "%s:%s\n" "%s:%s\n" "%s:%u\n"
"%s:%li\n" "%s:%s\n" "%s:%s\n" "%s"
"%s:%s\n" "%s:%lu.%lu\n" "%s:%lu.%lu\n" "%s:%s\n"
- "%s:%s\n",
+ "%s:%s\n" "%s:%u\n",
status_item_list[SI_FILE_SIZE], nmmd->size / 1024,
status_item_list[SI_MTIME], mtime,
status_item_list[SI_LENGTH], nmmd->afd.afhi.seconds_total,
(long unsigned)now.tv_usec,
status_item_list[SI_ATTRIBUTES], mmd->afd.attributes_string,
- status_item_list[SI_DIRECTORY], dirname
+ status_item_list[SI_DIRECTORY], dirname,
+ status_item_list[SI_LYRICS_ID], nmmd->afd.afsi.lyrics_id
);
free(basename);
d[SI_IMAGE_ID].align = CENTER;
d[SI_IMAGE_ID].x = 21;
d[SI_IMAGE_ID].y = 17;
- d[SI_IMAGE_ID].len = 21;
+ d[SI_IMAGE_ID].len = 10;
+
+ d[SI_LYRICS_ID].prefix = "lyr: ";
+ d[SI_LYRICS_ID].postfix = "";
+ d[SI_LYRICS_ID].fg = COLOR_RED;
+ d[SI_LYRICS_ID].bg = COLOR_BLACK;
+ d[SI_LYRICS_ID].align = CENTER;
+ d[SI_LYRICS_ID].x = 31;
+ d[SI_LYRICS_ID].y = 17;
+ d[SI_LYRICS_ID].len = 11;
d[SI_FORMAT].prefix = "format: ";
d[SI_FORMAT].postfix = "";
SI_DIRECTORY, SI_DECODER_FLAGS, SI_AUDIOD_STATUS,
SI_PLAY_TIME, SI_UPTIME, SI_OFFSET,
SI_LENGTH, SI_STREAM_START, SI_CURRENT_TIME,
- SI_AUDIOD_UPTIME, SI_IMAGE_ID, NUM_STAT_ITEMS
+ SI_AUDIOD_UPTIME, SI_IMAGE_ID, SI_LYRICS_ID,
+ NUM_STAT_ITEMS
};
int stat_item_valid(const char *item);
[SI_CURRENT_TIME] = "current_time",
[SI_AUDIOD_UPTIME] = "audiod_uptime",
- [SI_IMAGE_ID] = "image_id"
+ [SI_IMAGE_ID] = "image_id",
+ [SI_LYRICS_ID] = "lyrics_id"
};
static void dump_stat_client_list(void)