diff options
author | waker <wakeroid@gmail.com> | 2011-03-24 21:30:11 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-24 21:30:11 +0100 |
commit | fd04c7a395f4ac26942222e29e2dd9a8901bff41 (patch) | |
tree | 0ed33d33f0171603c7f6503b52f5512770e59fcd /plugins/gme | |
parent | 2278425be18b7600c055e54e5777b44858e1af4e (diff) |
got rid of filetype field in playitem structure
Diffstat (limited to 'plugins/gme')
-rw-r--r-- | plugins/gme/cgme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gme/cgme.c b/plugins/gme/cgme.c index 5b6a436f..8eb6d8d3 100644 --- a/plugins/gme/cgme.c +++ b/plugins/gme/cgme.c @@ -339,12 +339,12 @@ cgme_insert (DB_playItem_t *after, const char *fname) { while (ext >= fname && *ext != '.') { ext--; } - it->filetype = NULL; if (*ext == '.') { ext++; for (int i = 0; plugin.exts[i]; i++) { if (!strcasecmp (ext, plugin.exts[i])) { - it->filetype = plugin.exts[i]; + deadbeef->pl_add_meta (it, ":FILETYPE", plugin.exts[i]); + break; } } } |