diff options
-rw-r--r-- | plugins/wavpack/wavpack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/wavpack/wavpack.c b/plugins/wavpack/wavpack.c index 26889237..ac1d4071 100644 --- a/plugins/wavpack/wavpack.c +++ b/plugins/wavpack/wavpack.c @@ -314,6 +314,8 @@ wv_insert (DB_playItem_t *after, const char *fname) { deadbeef->pl_add_meta (it, "title", NULL); char s[100]; + snprintf (s, sizeof (s), "%d bytes", deadbeef->fgetlength (fp)); + deadbeef->pl_add_meta (it, ":FILE_SIZE", s); snprintf (s, sizeof (s), "%d", WavpackGetBytesPerSample (ctx) * 8); deadbeef->pl_add_meta (it, ":BPS", s); snprintf (s, sizeof (s), "%d", WavpackGetNumChannels (ctx)); |