path: root/apps/onplay.h
AgeCommit message (Collapse)AuthorFilesLines
6 daysHotkeys: Add placeholder for function return valueChristian Soffke1-0/+3
Seems a bit clearer to me than redefining the meaning of ONPLAY_OK in this context, which was easy to miss. Fixes the return value for the bookmark_create_menu hotkey, too. It was previously mapped to ONPLAY_OK in case the function failed, and to ONPLAY_RELOAD_DIR if it succeeded. This had no ill effect - or any effect – since either of the values were disregarded by the WPS when executing a hotkey. Return values of playlist_insert_shuffled also had no effect (by design, apparently, see commit 482b45b). Use ONPLAY_FUNC_RETURN in hotkey_assignment. Behavior hasn't changed, it's only been made more explicit. Change-Id: Iefc60c9f42c1063af78d368dc382916848064d38
2022-08-05add hotkeys for properties and pictureflowChristian Soffke1-2/+6
Change-Id: I16b36dd02f1c2aa186d957c64ed7d239c4c91047
2022-04-18Database: Remove File View menuChristian Soffke1-0/+1
These options don't seem to apply to the database... Change-Id: I777073eeaed4099acf44996b95fa05b4c2b3abc4
2022-01-04PictureFlow: Utilize "Current Playlist" menu (+ GS fixes)Christian Soffke1-1/+1
When appending tracks, they were always inserted last. You can now choose from the usual options offered by the "Current Playlst" context menu to queue or to insert tracks at the requested position. The splash after appending that forced you to wait for 2s has been eliminated. Also fixes crashes on targets that use the grey_core lib if a splash showed up when playback was started, e.g. LANG_PLAYLIST_CONTROL_ACCESS_ERROR, or when PictureFlow quit. Change-Id: I661c59057b5315ba793ee1674f7a2ea1ffd7968d
2020-08-17Add open_plugin to coreWilliam Wilgus1-2/+2
open_plugin allows arbitrary plugins to be called in hotkey and start screen replaces PictureFlow Integration shortcuts menu plays plugins now too rather than store paths and parameters in the settings that reside in memory instead entries in a file are searched by hash. after all, the plugin has to be loaded from disk anyways ---------------------------------------------------------------------------- shortcut_viewer.rock-- can now call plugins rather than taking you to them in the browser ----------------------------------------------------------------------------- Added a new option to menus: F_CB_ON_SELECT_ONLY instead of option callback every time a item is accessed F_CB_ON_SELECT_ONLY fires callback only when item is selected ----------------------------------------------------------------------------- Added manual entries ----------------------------------------------------------------------------- Change-Id: I078b57b1d2b4dd633c89212c1082fcbc1b516e6a
2019-01-02FS#11711: Add ability to create bookmark from WPS hotkeySolomon Peachy1-0/+1
Original patch Michael Gentry Updated by Igor Poretsky Change-Id: Id0fd67d2b2f6c257e3cbbe9bfda5c0eace5caca5
2011-11-15FS#12251 - User shortcuts in the main menu.Jonathan Gordon1-1/+1
Custom shortcuts which give the user fast access to regularly used files/folders/settings/whatever. Thanks to Alexander Levin for the manual part of the patch git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-07-20FS#11808 - Major playlist handling changes (on disk playlists)Jonathan Gordon1-0/+4
* Playlists are treated similar to directories in the browser, they now open in the viewer when selected instead of automatically starting the playlist. * Make the "Playlists" main menu item useful, it now displays the playlist catalog (and has been renamed accordingly) * Default to storing playlists in the catalog * Add a UI to move the catalog directory (other minor stuff too) git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-06-09FS#11270 by Chris Savery - WPS integration for pictureflowJonathan Gordon1-0/+2
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-05-11Add Insert Shuffled to hotkey optionsJeffrey Goode1-0/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-05-11More hotkey code cleanupJeffrey Goode1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-05-09FS#11250: Hotkey setting method changed to menu item vs button pres in ↵Jeffrey Goode1-1/+11
context menu. Manuals updated to match. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-04-12Mark const return value; correct the comment about valid menu items for the ↵Alexander Levin1-1/+1
hotkey git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-04-11FS#11195, plus. Simplified hotkey struct, thanks alle!Jeffrey Goode1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-04-08Hotkey: better settings handling, fewer saved variables, localizable hotkey ↵Jeffrey Goode1-0/+4
info list git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-04-01FS#11081 - Hotkey patch. Many targets supported, but some keymaps need work ↵Jeffrey Goode1-1/+1
before they can be switched on git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2010-02-20Playlist Viewer Changes to bring consistency:Thomas Martitz1-1/+2
- combine its two context menus to one and - make the ACTION_STD_MENU go to the main menu as it does in all other screens - call playlist_viewer() via root_menu to reduce call depth and to be consistent with other screens (and for the above changes to be more flexible w.r.t to the following screen) git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
later. We still need to hunt down snippets used that are not. 1324 modified files... git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2008-05-05Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin1-1/+1
tools/creative.c, which need checking. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2007-03-01Introducing the root menu!Jonathan Gordon1-1/+2
Blind users: get a new voice file as there are lots of lang changes and new strings. FS#6630 or RootMenu on the wiki for more info. complaints to /dev/null :) git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2005-06-23Henrik Backes patch for WPS and tag database context menus. Tag database ↵Linus Nielsen Feltzing1-1/+1
context menus still don't work as expected. Hold Play/Select to pop up the menu. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2003-07-01Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or ↵Hardeep Sidhu1-0/+6
playlist from file browser to see available options. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2003-03-12Changed ON+PLAY screen to a menu, unified player & recorder and moved the ↵Björn Stenberg1-0/+24
code to a separate file. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657