From 3d7d1d4d5b0289c6357e02be70efe2958ae55e0a Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Tue, 28 May 2024 00:01:57 +0200 Subject: plugins: properties: show track info for whole playlist Track Info can now be displayed for the set of all tracks contained in a playlist. This lets you calculate a playlist's length, for example, even if it is not currently playing. This functionality can be accessed from the existing "Properties" screen for a selected playlist file. A line has been added at the very bottom to show Track Info. Change-Id: I311532b7cfa9e29d46c0cd5623ba4c06c1dd5b5f --- apps/tagtree.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'apps/tagtree.c') diff --git a/apps/tagtree.c b/apps/tagtree.c index 3a875d6da6..be728dcc95 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1312,30 +1312,6 @@ void tagtree_init(void) initialize_tagtree(); } -static bool show_search_progress(bool init, int count) -{ - static int last_tick = 0; - - /* Don't show splashes for 1/2 second after starting search */ - if (init) - { - last_tick = current_tick + HZ/2; - return true; - } - - /* Update progress every 1/10 of a second */ - if (TIME_AFTER(current_tick, last_tick + HZ/10)) - { - splashf(0, str(LANG_PLAYLIST_SEARCH_MSG), count, str(LANG_OFF_ABORT)); - if (action_userabort(TIMEOUT_NOBLOCK)) - return false; - last_tick = current_tick; - yield(); - } - - return true; -} - static int format_str(struct tagcache_search *tcs, struct display_format *fmt, char *buf, int buf_size) { -- cgit v1.2.3