summaryrefslogtreecommitdiff
path: root/cflac.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-14 19:50:35 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-14 19:50:35 +0200
commit9714adc59ea1d46750bd24153ce82c5cfaa5df78 (patch)
tree72ec05221c6c0da840da04cedaef9a804e966cc3 /cflac.c
parent6d82e1b24c2e98ed627b5d8ed6a2064bebd44d9d (diff)
added filetype to playlist format
Diffstat (limited to 'cflac.c')
-rw-r--r--cflac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cflac.c b/cflac.c
index 6d8f2d3e..af560a2c 100644
--- a/cflac.c
+++ b/cflac.c
@@ -406,7 +406,7 @@ cflac_insert (playItem_t *after, const char *fname) {
}
#endif
FLAC__stream_decoder_delete(decoder);
- it->filetype = "FLAC";
+ it->filetype = "flac";
after = pl_insert_item (after, it);
return after;
}
@@ -427,5 +427,6 @@ codec_t cflac = {
.seek = cflac_seek,
.insert = cflac_insert,
.getexts = cflac_getexts,
- .id = "stdflac"
+ .id = "stdflac",
+ .filetypes = { "flac", NULL }
};