Commit Graph
34 Commits
Author SHA1 Message Date
Guido Cella 351291d583 menu.conf: compare aspect overrides more strictly
Fixes #18152.
2026-06-27 18:04:48 +02:00
arch1t3cht 20ec48b717 menu.conf: make quit-watch-later item name more user-friendly
The name "Quit watch later" is hard to understand for users that don't
already know about the quit-watch-later command.

For what it's worth, this does also have some downsides:

1. It makes the context menu even wider, since "Quit watch later" was
   already the longest option.
2. The meaning of the "Open > Watch later" option may now be slightly
   less obvious to users. But this option does not work by default
   anyway, so the user will need to read the manual either way before
   using this option.

But these are fairly minor issues.
2026-06-04 00:16:54 +02:00
Guido Cella ae3189567b select.lua: add select-secondary-subtitle-line
Requested in https://github.com/mpv-player/mpv/pull/17730#issuecomment-4321224996
2026-04-26 08:55:42 +02:00
Guido Cella e0f54adf08 menu.conf: add OSC layout selection
Make this feature discoverable.
2026-04-17 18:34:24 +02:00
Guido Cella 1a545faf28 menu.conf: don't check Hardware decoding with no video track 2026-03-25 13:44:44 +01:00
nanahi 3a8a908641 menu.conf: use update-clipboard command
This command is now required when the default has no clipboard monitoring.
2026-03-21 16:05:36 +01:00
Guido Cella 3ec435dbee menu.conf: add a Reload menu item 2026-02-27 09:24:53 +01:00
Guido Cella ea82915ba7 menu.conf: change duplicate hints
Deduplicate:
Op&en and &Editions/Titles
&Quit and &Quit watch later
2026-02-03 21:05:38 +01:00
Guido Cella d1743b641b menu.conf: change duplicate hints
Deduplicate:
&Properties and Copy &path
C&enter and D&einterlace
&Speed and &Shuffle
2026-01-26 11:47:16 +01:00
Guido Cella eadba4469f menu.conf: add open-chat to the context menu 2026-01-26 11:11:38 +01:00
Guido Cella 19adc2d509 menu.conf: add this file
Add a default context menu definition in etc/menu.conf. It will be used
to populate the context menu.

The format is meant to be easily readable with just tabs as separators
and submenus denoted by indentation. It avoids complicating the builtin
input.conf like similar scripts do.

By not defining the shortcut keys in the builtin input.conf, menu
entries won't be associated to wrong shortcuts when the user's
input.conf changes key bindings without redefining the menu. Note that
external scripts don't have this issue.

I used 3+ spaces as separators at first but then realized that since we
have Windows users tabs will look better in editors with proportional
fonts like notepad, though it still won't be perfectly aligned depending
on the font. But I am still not sure what is better.

On a curious note, etc/menu.conf already existed in the past as mplayer
used to have a menu. git log -p etc/menu.conf will show commits from
2002 to 2011.
2026-01-25 20:56:42 +01:00
Uoti Urpala 8b5efd6455 libmenu: remove OSD menu functionality (--menu)
Something like the OSD menu functionality could be useful. However the
current implementation has several problems and would require a
relatively large amount of work to get into good shape. As far as I
know there are few users of the existing functionality. Nobody is
working on the existing code and keeping it compiling at all while
changing other code would require extra work. So delete the menu code
and some related code elsewhere that's used by nothing else.
2011-10-25 07:05:47 +03:00
Uoti Urpala 287b62163e Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
zuxy 4ca9381eae Delete "auto-close" from configuration whose support has long been removed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29876 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 11:51:22 +00:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
ulion 673246be0c OSD menu support mouse selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:14:38 +00:00
ulion 8a36c1f6ae Merge 'Jump to ...' with 'Prev/Next' menu item into one item 'Prev/Next ...'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25456 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 01:21:59 +00:00
ulion e9c921bbe1 Support chapter in OSD menu.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 08:39:45 +00:00
ulion 0506b2b986 Add OSD menu keybindings for Apple Remote.
Since libmenu is still not enabled by default, we do not change default command
of Apple Remote input, only add a comment for using OSD menu with Apple Remote.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25372 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-12 04:00:07 +00:00
ben f5f37dc414 allow osd menu being controlled by joystick
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25365 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 21:58:42 +00:00
ulion a986e2a1f6 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
by menu config file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 10:42:59 +00:00
albeu 63865de207 Add a loop command and property.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23747 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 14:52:46 +00:00
albeu 1544e64717 Add the sub_scale property and command.
Patch from Anatoli Marinov (anatoli [dot] marinov [at] gmail [dot] com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23745 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 11:19:21 +00:00
zuxy be09bd1c04 The audio balance feature implemented with af_pan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23588 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-20 02:26:20 +00:00
albeu 78bbfea7f2 Drop the metadata stuff and replace it with generic property string expansion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23416 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-30 07:07:32 +00:00
ben 7945689e25 updated sample of libmenu config file with latest improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19536 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-25 19:31:31 +00:00
albeu 32b285a093 Turn the preferences menu in something usefull using the new
property API.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17950 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 20:49:36 +00:00
diego ef873c812c Remove obsolete options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14576 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 15:47:34 +00:00
reimar eca47b1a5e Add -ao pcm suboptions and remove -aofile and -waveheader options.
Base on idea by Olivier Rolland (billl at users dot sf dot net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14299 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 14:41:47 +00:00
diego 0f798361b5 We're long past 0.90.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12906 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-28 00:29:32 +00:00
gabucino 9ba59eeaba 0.90preXX -> 0.90
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9098 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 12:14:32 +00:00
albeu 2e4fa3c937 quote the filenames
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8227 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 00:14:17 +00:00
albeu f4f701af5d Example config file for the OSD menus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8200 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 23:56:40 +00:00