summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index fa88a5941b..ecc9f44d4d 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -722,10 +722,15 @@ static void tagtree_track_finish_event(void *data)
722 } 722 }
723 tagcache_idx--; 723 tagcache_idx--;
724 724
725 /* Don't process unplayed tracks. */ 725 /* Don't process unplayed tracks, or tracks interrupted within the
726 if (id3->elapsed == 0) 726 first 15 seconds. */
727 if (id3->elapsed == 0
728#if CONFIG_CODEC == SWCODEC /* HWCODEC doesn't have automatic_skip */
729 || (id3->elapsed < 15 * 1000 && !automatic_skip)
730#endif
731 )
727 { 732 {
728 logf("not logging unplayed track"); 733 logf("not logging unplayed or skipped track");
729 return; 734 return;
730 } 735 }
731 736