summaryrefslogtreecommitdiff
path: root/plugins/flac/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/flac/flac.c')
-rw-r--r--plugins/flac/flac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c
index 87a81db1..0f4c729d 100644
--- a/plugins/flac/flac.c
+++ b/plugins/flac/flac.c
@@ -688,7 +688,7 @@ cflac_insert (DB_playItem_t *after, const char *fname) {
}
FLAC__stream_decoder_delete(decoder);
decoder = NULL;
- it->filetype = isogg ? "OggFLAC" : "FLAC";
+ deadbeef->pl_add_meta (it, ":FILETYPE", isogg ? "OggFLAC" : "FLAC");
char s[100];
int64_t fsize = deadbeef->fgetlength (info.file);