Index: apps/lang/english.lang =================================================================== --- apps/lang/english.lang (revision 14964) +++ apps/lang/english.lang (working copy) @@ -10930,6 +10930,20 @@ + id: LANG_VIDEOS + desc: in the main menu + user: + + *: "Videos" + + + *: "Videos" + + + *: "Videos" + + + id: VOICE_OF desc: spoken only, as in 3/8 => 3 of 8 user: Index: apps/settings.h =================================================================== --- apps/settings.h (revision 14964) +++ apps/settings.h (working copy) @@ -69,6 +69,7 @@ #define CODECS_DIR ROCKBOX_DIR "/codecs" #define RECPRESETS_DIR ROCKBOX_DIR "/recpresets" #define FMPRESET_PATH ROCKBOX_DIR "/fmpresets" +#define VIDS_DIR "/Videos" #define VIEWERS_CONFIG ROCKBOX_DIR "/viewers.config" #define CONFIGFILE ROCKBOX_DIR "/config.cfg" @@ -164,7 +165,8 @@ * must be added after NUM_FILTER_MODES. */ enum { SHOW_ALL, SHOW_SUPPORTED, SHOW_MUSIC, SHOW_PLAYLIST, SHOW_ID3DB, NUM_FILTER_MODES, - SHOW_WPS, SHOW_RWPS, SHOW_FMR, SHOW_CFG, SHOW_LNG, SHOW_MOD, SHOW_FONT, SHOW_PLUGINS}; + SHOW_WPS, SHOW_RWPS, SHOW_FMR, SHOW_CFG, SHOW_LNG, + SHOW_MOD, SHOW_FONT, SHOW_VIDS, SHOW_PLUGINS}; /* recursive dir insert options */ enum { RECURSE_OFF, RECURSE_ON, RECURSE_ASK }; Index: apps/root_menu.c =================================================================== --- apps/root_menu.c (revision 14964) +++ apps/root_menu.c (working copy) @@ -197,6 +197,10 @@ tc->selected_item = last_db_selection; break; #endif + case GO_TO_BROWSEVIDS: + filter = SHOW_VIDS; + snprintf(folder, MAX_PATH, "%s/", VIDS_DIR); + break; case GO_TO_BROWSEPLUGINS: filter = SHOW_PLUGINS; snprintf(folder, MAX_PATH, "%s", PLUGIN_DIR); @@ -339,6 +343,7 @@ #endif [GO_TO_RECENTBMARKS] = { load_bmarks, NULL, &bookmark_settings_menu }, + [GO_TO_BROWSEVIDS] = { browser, (void*)GO_TO_BROWSEVIDS, NULL }, [GO_TO_BROWSEPLUGINS] = { plugins_menu, NULL, NULL }, }; @@ -352,6 +357,8 @@ MENUITEM_RETURNVALUE(db_browser, ID2P(LANG_TAGCACHE), GO_TO_DBBROWSER, NULL, Icon_Audio); #endif +MENUITEM_RETURNVALUE(vids_browser, ID2P(LANG_VIDEOS), GO_TO_BROWSEVIDS, + NULL, Icon_NOICON); MENUITEM_RETURNVALUE(rocks_browser, ID2P(LANG_PLUGINS), GO_TO_BROWSEPLUGINS, NULL, Icon_Plugin); char *get_wps_item_name(int selected_item, void * data, char *buffer) @@ -403,7 +410,7 @@ #if CONFIG_TUNER &fm, #endif - &playlist_options, &rocks_browser, &info_menu + &playlist_options, &vids_browser, &rocks_browser, &info_menu #ifdef HAVE_LCD_CHARCELLS ,&do_shutdown_item Index: apps/root_menu.h =================================================================== --- apps/root_menu.h (revision 14964) +++ apps/root_menu.h (working copy) @@ -46,6 +46,7 @@ /* Do Not add any items above here unless you want it to be able to be the "start screen" after a boot up. The setting in settings_list.c will need editing if this is the case. */ + GO_TO_BROWSEVIDS, GO_TO_BROWSEPLUGINS, };