summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 2962d57dac..832a49e359 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -642,9 +642,10 @@ static int compare(const void *p1, const void *p2)
642 return strncasecmp(e1->name, e2->name, MAX_PATH); 642 return strncasecmp(e1->name, e2->name, MAX_PATH);
643} 643}
644 644
645static void tagtree_buffer_event(struct mp3entry *id3) 645static void tagtree_buffer_event(void *data)
646{ 646{
647 struct tagcache_search tcs; 647 struct tagcache_search tcs;
648 struct mp3entry *id3 = (struct mp3entry*)data;
648 649
649 /* Do not gather data unless proper setting has been enabled. */ 650 /* Do not gather data unless proper setting has been enabled. */
650 if (!global_settings.runtimedb) 651 if (!global_settings.runtimedb)
@@ -671,12 +672,13 @@ static void tagtree_buffer_event(struct mp3entry *id3)
671 tagcache_search_finish(&tcs); 672 tagcache_search_finish(&tcs);
672} 673}
673 674
674static void tagtree_track_finish_event(struct mp3entry *id3) 675static void tagtree_track_finish_event(void *data)
675{ 676{
676 long playcount; 677 long playcount;
677 long playtime; 678 long playtime;
678 long lastplayed; 679 long lastplayed;
679 long tagcache_idx; 680 long tagcache_idx;
681 struct mp3entry *id3 = (struct mp3entry*)data;
680 682
681 /* Do not gather data unless proper setting has been enabled. */ 683 /* Do not gather data unless proper setting has been enabled. */
682 if (!global_settings.runtimedb) 684 if (!global_settings.runtimedb)