diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-16 21:06:08 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-16 21:06:08 +0100 |
commit | 6814d91504c04dfe2e1e5876d19cf5625e5de926 (patch) | |
tree | 39ae715a30ed0ef3d5e8d0291b05bfb4fd62280b /plugins | |
parent | 8cda195231d378f9fb918c4da0b3ada3078c1c75 (diff) |
mp3: don't reload id3v2 for remote mp3s on each play
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mpgmad/mpgmad.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index e3bbd68a..c5f67ef3 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -852,14 +852,6 @@ cmp3_init (DB_fileinfo_t *_info, DB_playItem_t *it) { } else { deadbeef->fset_track (info->buffer.file, it); - int64_t len = deadbeef->fgetlength (info->buffer.file); - if (len > 0) { - deadbeef->pl_delete_all_meta (it); - int v2err = deadbeef->junk_id3v2_read (it, info->buffer.file); - if (v2err != 0) { - deadbeef->fseek (info->buffer.file, 0, SEEK_SET); - } - } deadbeef->pl_add_meta (it, "title", NULL); int res = cmp3_scan_stream (&info->buffer, 0); if (res < 0) { |