sfan5
5e9e756f53
TOOLS/gen-interface-changes: small usability improvement
2024-09-23 19:20:05 +02:00
Kacper Michajłow
71f2220991
meson: use relative file paths for file2string
...
This fixes "Generated from" comments to not include local source path in
generated files.
2024-09-21 23:39:10 +02:00
Guido Cella
284293ceb5
TOOLS/cycle-deinterlace-pullup.lua: fix removing the filter
...
This has been broken since b56e63e2a9
removed vf del. Replace it with vf
remove. Fixes #14881 .
2024-09-19 13:38:16 +00:00
llyyr
c7dce6a838
TOOLS/gen-mpv-desktop.py: set --no-config when probing protocols
...
Apparently for an user mpv would crash on startup if built with asan and
mpv attemps to load mpv-mpris. Just set --no-config so we don't load
anything external since this is more correct anyway.
2024-09-15 20:10:29 +02:00
llyyr
dcb4b491b2
TOOLS/stats-conv: minor cleanup
2024-08-01 01:58:30 +02:00
llyyr
0c72a2f26d
TOOLS/stats-conv: silence linter messages
2024-08-01 01:58:30 +02:00
llyyr
f1cd59ba92
TOOLS/stats-conv: convert to pyqt6
2024-08-01 01:58:30 +02:00
Kacper Michajłow
e17b5c635e
VERSION: rename to MPV_VERSION to avoid standard library header conflict
...
Root directory is added to include directories and `VERSION` conflicts
with `#include <version>` which is standard library header.
2024-07-29 21:38:19 +02:00
Guido Cella
948faa5482
lua: don't pass nil as the second argument of mp.get_property_number
...
This doesn't do anything because nil is already the default value of
unavailable properties.
2024-06-08 23:10:37 +02:00
nanahi
e8905650fe
TOOLS/gen-interface-changes.py: sort interface changes by file content
...
With the previous commit, they're in effect sorted by the types of the
interface changes.
As a lazy measure to sort changes by the breakages they cause, sort the
content reverse alphabetically, which works OK by accident.
2024-06-08 23:08:43 +02:00
Kacper Michajłow
e7630722d8
autoload.lua: always accept current file as a valid file
...
This allows loading other types of media from the current directory,
with same_type=no, regardless of whether the current type is enabled for
autoload.
Fixes : #14287
2024-06-04 15:39:18 +02:00
Kacper Michajłow
a64a5c2222
autoload.lua: match also image extension
...
For clarity, it is already matched if extention is in EXTENSIONS if
pl_count == 1.
2024-06-04 15:39:18 +02:00
Kacper Michajłow
8dcd5ea288
autoload.lua: cosmetic changes
2024-06-04 15:39:18 +02:00
Kacper Michajłow
7d4719704e
autoload.lua: fix options update
...
The extensions list needs to be cleared in this case. Also, add the
missing split_patterns().
2024-06-04 15:39:18 +02:00
Guido Cella
e95af5b607
TOOLS/autoload.lua: fix directory_mode and ext options
...
Operations on option values need to be performed after they are read.
Fixes 843161d96e
.
2024-06-03 15:25:51 +02:00
Guido Cella
c5468ba5ff
TOOLS/test-hooks.lua: fix lint warning
2024-06-02 22:26:00 +02:00
Guido Cella
3613070380
TOOLS/status-line.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
c28525ac9d
TOOLS/osd-test.lua: fix lint warning
2024-06-02 22:26:00 +02:00
Guido Cella
1f356d6784
TOOLS/observe-all.lua: fix lint warning
2024-06-02 22:26:00 +02:00
Guido Cella
5977722adc
TOOLS/nan-test.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
c12e437d43
TOOLS/cycle-deinterlace-pullup.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
f3f77353f2
TOOLS/command-test.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
843161d96e
TOOLS/autoload.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
44d7100296
TOOLS/autodeint.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
142b75a95f
TOOLS/autocrop.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
Guido Cella
ee514c6acf
TOOLS/ao-null-reload.lua: fix lint warnings
2024-06-02 22:26:00 +02:00
llyyr
c2968244e4
TOOLS/gen-interface-changes: wrap long lines to 80 col
2024-05-29 17:48:50 +00:00
maxdunbar
4e6d591f12
osxbundle: refactor Information Property List
...
Includes cleanup of CFBundleDocumentTypes, UTImportedTypeDeclarations,
LSItemContentTypes. Reordered general structure of the Property List as
in nodes/collections/arrays. Declared MIME types.
2024-05-25 15:28:52 +02:00
Dudemanguy
056b03f9ed
build: dynamically generate mpv.desktop file protocols
...
If we can run the built mpv binary, then it is possible to use a custom
target that reads the protocols we have available in mpv and write the
mpv.desktop file based on the output. For cases where this is not
possible (e.g. cross compiling), then just install the unmodified
mpv.desktop file like before. Fixes #8731 and fixes #14124 .
2024-05-22 20:10:52 +00:00
Kacper Michajłow
f220f0fb89
autocrop.lua: fix some lint warnings
2024-05-12 20:06:39 +02:00
Kacper Michajłow
c5c5a5a2ad
test-hooks.lua: fix variable shadowing warning
2024-05-12 20:06:39 +02:00
Kacper Michajłow
c431b532b8
status-line.lua: fix unused variable warning
2024-05-12 20:06:39 +02:00
Kacper Michajłow
0f7aab534a
skip-logo.lua: fix some lint warnings
2024-05-12 20:06:39 +02:00
Kacper Michajłow
885cc30596
pause-when-minimize.lua: fix unused variable warning
2024-05-12 20:06:39 +02:00
Kacper Michajłow
b927857d03
ontop-playback.lua: fix unused variable warning
2024-05-12 20:06:39 +02:00
Kacper Michajłow
50c4b2cd4c
observe-all.lua: fix some lint warnings
2024-05-12 20:06:39 +02:00
Kacper Michajłow
16c19445bc
cycle-deinterlace-pullup.lua: fix unused variable warnings
2024-05-12 20:06:39 +02:00
Kacper Michajłow
e47d768d51
command-test.lua: fix some lint warnings
...
Fixes unused variable warnings.
2024-05-12 20:06:39 +02:00
Kacper Michajłow
a1caa00187
autoload.lua: fix some lint warnings
...
Fixes:
autoload.lua:201:1: setting undefined field filter of global table
autoload.lua:209:1: setting undefined field append of global table
autoload.lua:322:11: value assigned to variable extensions is unused
2024-05-12 20:06:39 +02:00
Kacper Michajłow
b4fcf7d248
autodeint.lua: fix some lint warnings
...
Fixes:
autodeint.lua:90:1: right side of assignment has more values than left
side expects
2024-05-12 20:06:39 +02:00
Kacper Michajłow
fabc92453f
audio-hotplug-test.lua: fix some lint warnings
...
Fixes:
audio-hotplug-test.lua:1:7: unused variable utils
audio-hotplug-test.lua:3:61: unused argument name
audio-hotplug-test.lua:5:9: unused loop variable index
2024-05-12 20:06:39 +02:00
Kacper Michajłow
71d9c31394
acompressor.lua: break long lines
2024-05-12 20:06:39 +02:00
Kacper Michajłow
a094971ce8
demux_mkv: demux Block Additional Mappings
...
Parse Dolby Vision configuration.
2024-05-10 01:26:30 +02:00
Matthias Hunstock
5631d83b5f
tools: add narrow left arrow glyph for OSD
...
Add rotated arrow glyph on unused codepoint U+E00D.
2024-05-05 13:47:20 +02:00
Kacper Michajłow
69d70148c7
TOOLS/lua/autoload: make ignore_patterns more generic
2024-04-27 03:14:31 +02:00
oficsu
3ca71b0c0e
TOOLS/lua/autoload: allow multiple ignore_patterns
2024-04-27 03:14:31 +02:00
oficsu
96b34148f1
TOOLS/lua/autoload: add ignore_pattern option
...
Autoload script can now exclude certain files
Why? Sometimes you want to ignore thumbnails,
auto-generated backups or just unwanted files
A non-exhaustive list of real-world examples:
- user backup files: '%.bak%.mp4$' or '^bak-'
- telegram-desktop thumbnails: '_thumb%.jpg$'
- a krita graphics editor backup suffix: '^~'
See documentation here: lua.org/pil/20.2.html
2024-04-27 03:14:31 +02:00
Kacper Michajłow
ab3b1744b9
demux_mkv: add BCP 47 language tags support
...
Section 12 of Matroska Media Container Format Specifications says:
If a BCP 47 Language Element and an ISO 639-2 Language Element are used
within the same Parent Element, then the ISO 639-2 Language Element MUST
be ignored and precedence given to the BCP 47 Language Element.
Fixes : #8144
2024-04-16 19:51:22 +02:00
der richter
919a042833
osxbundle: use arg list instead of a string for signing subprocess call
...
Fixes #13872
2024-04-15 00:21:59 +02:00
Christoph Heinrich
6a8b130c6f
TOOLS/lua/autoload: fix allow extending ext sets from script-opts
...
4eedb8710c
has broken the normal work of this feature with --same_type=yes
Co-Authored-by: dyphire <qimoge@gmail.com>
2024-04-13 23:09:42 +02:00