summaryrefslogtreecommitdiff
path: root/plugins/flac
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-03-24 21:30:11 +0100
committerGravatar waker <wakeroid@gmail.com>2011-03-24 21:30:11 +0100
commitfd04c7a395f4ac26942222e29e2dd9a8901bff41 (patch)
tree0ed33d33f0171603c7f6503b52f5512770e59fcd /plugins/flac
parent2278425be18b7600c055e54e5777b44858e1af4e (diff)
got rid of filetype field in playitem structure
Diffstat (limited to 'plugins/flac')
-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);