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/sndfile | |
parent | 2278425be18b7600c055e54e5777b44858e1af4e (diff) |
got rid of filetype field in playitem structure
Diffstat (limited to 'plugins/sndfile')
-rw-r--r-- | plugins/sndfile/sndfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sndfile/sndfile.c b/plugins/sndfile/sndfile.c index 57d09763..f9a7369f 100644 --- a/plugins/sndfile/sndfile.c +++ b/plugins/sndfile/sndfile.c @@ -316,7 +316,7 @@ sndfile_insert (DB_playItem_t *after, const char *fname) { float duration = (float)totalsamples / samplerate; DB_playItem_t *it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); - it->filetype = "wav"; + deadbeef->pl_add_meta (it, ":FILETYPE", "wav"); deadbeef->pl_set_item_duration (it, duration); trace ("sndfile: totalsamples=%d, samplerate=%d, duration=%f\n", totalsamples, samplerate, duration); |