summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-02-14 14:40:24 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-02-14 14:40:24 +0000
commit9f4bd8712fc122f61ec162c544d613a95c3ca66e (patch)
tree4e652a1e7c19ac8a6bb789ee79304744c133d029 /apps/filetree.c
parent0403c2a572154667f3f2bd671d7d5a7cc08c64af (diff)
downloadrockbox-9f4bd8712fc122f61ec162c544d613a95c3ca66e.tar.gz
rockbox-9f4bd8712fc122f61ec162c544d613a95c3ca66e.zip
Cuesheet support by Jonathan Gordon and me (FS #6460).
Everytime an audio file is loaded, a cue file with the same name is searched for. A setting allows to disable this (default is off). Cuesheet files can also be viewed in the file browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 10174dbb31..df4065c91b 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -41,6 +41,7 @@
41#include "dircache.h" 41#include "dircache.h"
42#include "splash.h" 42#include "splash.h"
43#include "yesno.h" 43#include "yesno.h"
44#include "cuesheet.h"
44#ifdef HAVE_LCD_BITMAP 45#ifdef HAVE_LCD_BITMAP
45#include "keyboard.h" 46#include "keyboard.h"
46#endif 47#endif
@@ -550,6 +551,10 @@ int ft_enter(struct tree_context* c)
550 } 551 }
551 break; 552 break;
552 553
554 case TREE_ATTR_CUE:
555 display_cuesheet_content(buf);
556 break;
557
553 default: 558 default:
554 { 559 {
555 char* plugin; 560 char* plugin;