summaryrefslogtreecommitdiff
path: root/cgme.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 /cgme.c
parent6d82e1b24c2e98ed627b5d8ed6a2064bebd44d9d (diff)
added filetype to playlist format
Diffstat (limited to 'cgme.c')
-rw-r--r--cgme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgme.c b/cgme.c
index 372f05d8..30d9d866 100644
--- a/cgme.c
+++ b/cgme.c
@@ -140,7 +140,7 @@ cgme_insert (playItem_t *after, const char *fname) {
else {
it->duration = (float)inf.length/1000.f;
}
- it->filetype = "GME";
+ it->filetype = "gme";
after = pl_insert_item (after, it);
}
else {
@@ -192,6 +192,7 @@ codec_t cgme = {
.getexts = cgme_getexts,
.numvoices = cgme_numvoices,
.mutevoice = cgme_mutevoice,
- .id = "stdgme"
+ .id = "stdgme",
+ .filetypes = { "gme", NULL }
};