From a3b9bfc763e0918803329d2d7445ffc460024683 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 19 Aug 2008 12:05:01 +0000 Subject: dont let the database create a new playlist when party mode is on. (fixes FS#8292) its not consistant with the filebrowser though, i.e you have to open the context menu for the item to add it to the playlist (whereas in the filebrowser it automatically gets queued if its selected) still better than ignoreing the setting though git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18316 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/tagtree.c b/apps/tagtree.c index ce562b78e9..5415610501 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1489,6 +1489,10 @@ int tagtree_enter(struct tree_context* c) case allsubentries: if (newextra == playtrack) { + if (global_settings.party_mode && audio_status()) { + splash(HZ, ID2P(LANG_PARTY_MODE)); + break; + } c->dirlevel--; /* about to create a new current playlist... allow user to cancel the operation */ -- cgit v1.2.3