summaryrefslogtreecommitdiff
path: root/plugins/shn/shn.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shn/shn.c')
-rw-r--r--plugins/shn/shn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/shn/shn.c b/plugins/shn/shn.c
index 04b00575..c8e0a773 100644
--- a/plugins/shn/shn.c
+++ b/plugins/shn/shn.c
@@ -860,7 +860,7 @@ shn_seek (DB_fileinfo_t *_info, float time) {
}
DB_playItem_t *
-shn_insert (DB_playItem_t *after, const char *fname) {
+shn_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) {
shn_file *tmp_file;
DB_FILE *f;
char data[4];
@@ -918,7 +918,7 @@ shn_insert (DB_playItem_t *after, const char *fname) {
deadbeef->pl_add_meta (it, ":BITRATE", s);
deadbeef->pl_add_meta (it, "title", NULL);
- after = deadbeef->pl_insert_item (after, it);
+ after = deadbeef->plt_insert_item (plt, after, it);
deadbeef->pl_item_unref (it);
return after;
}