Steve Lhomme
3961843998
lua: osd: avoid adding an empty array element
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
1 year ago
Mohak Gupta
5cd6ec2793
lua: expose genre thumbnail from medialibrary
2 years ago
Mohak Gupta
72a5ad4843
lua: expose medialibrary history
2 years ago
Mohak Gupta
a985ff057e
lua: expose medialibrary get_media API
2 years ago
Mohak Gupta
f04d998d8d
lua: expose medialibrary bookmarks
2 years ago
Mohak Gupta
c070266e5b
lua: expose medialibrary tracks
2 years ago
Mohak Gupta
df44497491
lua: expose medialbrary playlist
2 years ago
Mohak Gupta
6325523aef
lua: expose medialibrary video-folder
2 years ago
Mohak Gupta
96af00279c
lua: expose remaining metadata
2 years ago
Mohak Gupta
3fbe795bb2
lua: fix existing formatting
2 years ago
Mohak Gupta
fdbc8d12d2
lua: impose public_only to true
2 years ago
Steve Lhomme
a24e8d4223
lua: avoid pushing NULL strings
We do not check for nil in the code and it's not clear if it's properly supported.
2 years ago
Alaric Senat
c4a3e9ceee
medialibrary: expose the `publicOnly` query parameter
Allow medialibrary queries to process and list public media.
Public media are a new addition of the medialibrary 0.13 version. With
this, the users will have the opportunity to allow a subset of the
medialibrary to be exposed on network interfaces (notably the upnp
server and the HTTP remote control).
Community discussions around the subject can be found here:
https://code.videolan.org/videolan/vlc/-/merge_requests/269#note_274345
2 years ago
Alaric Senat
9394e7eace
medialibrary: expose `favorite_only` QueryParameter
Allow favorite only listing on various medialibrary objects.
2 years ago
Alaric Senat
5c55afb7c4
lua: medialibrary: fix queryParameters default init
Use the API default initializer instead of zero initialization. Some
fields might be defaulted to non-zero values in the future versions of
the medialibrary.
2 years ago
Rémi Denis-Courmont
e9a72670fa
lua: use stdc_leading_ones()
3 years ago
François Cartegnie
9856c789ec
stream_extractor: store and forward volume information
Also propagates missing volume information to directories listing.
Until now it was assumed archives only had direcoty info in the first
volume.
3 years ago
Steve Lhomme
1243a6c0d6
include: avoid including vlc_subpicture.h when not needed
We should not rebuild a lot of Qt files when changing the subpictures.
It's still included in vlc_codec.h so all encoders/decoders are still
impacted by such changes.
3 years ago
Steve Lhomme
f349e8b8df
httpd: use size_t for buffer size results
The value can never be negative and it simplifies code in places.
We also need to change the i_body which is used as a pointer in some cases.
The value can never be negative and it simplifies code in places.
We also need to change the i_body which is used as a pointer in some cases.
3 years ago
Steve Lhomme
a76147639a
modules: assume sizeof(uint8_t) is 1
From C11 7.20.1.1:
The typedef name uintN_t designates an unsigned integer type with width N and no padding bits.
3 years ago
Hank Anderson
c10af532f2
meta: vlc_meta_AddExtra() rename to vlc_meta_SetExtra()
3 years ago
Steve Lhomme
0368d311b5
lua: use WINAPI_FAMILY to enable the console API
It's using freopen( "CONOUT$") which is not going to work.
3 years ago
Steve Lhomme
cd08025f3b
modules: include vlc_configuration.h when using config_GetType()
3 years ago
Steve Lhomme
098daebfa0
modules: include vlc_configuration.h when using config_GetUserDir()
3 years ago
Steve Lhomme
5c67db978f
variables: return size_t with var_CountChoices()
It can't report an error and that's how the value is stored.
3 years ago
Hugo Beauzée-Luyssen
9af90cca2b
lua: add medialibrary API
6 years ago
Steve Lhomme
4862e4195c
vlc_fs: always use a custom type for our opendir API's
This will avoid some dirty casts between DIR and vlc_DIR on Windows.
The Windows handling could be done entirely without dirent.h which is not a
standard Windows API.
4 years ago
Steve Lhomme
fbb6f14099
modules: use vlc_closedir instead of direct closedir
So it matches vlc_opendir() calls.
4 years ago
Hugo Beauzée-Luyssen
f5a4a03e6f
lua: httpd: Return a valid body in case of errors
The body is used unconditionally from the callsite
4 years ago
Rémi Denis-Courmont
44b88a9d68
lua/input: disable tracks whence toggling ID -1
This matches the pre-4.0 behaviour expected in existing Lua scripts.
Fixes #26937 .
4 years ago
Alexandre Janniaux
fe7a43f967
lua: input: remove unused variable
Unused since commit 80dd05f921 .
4 years ago
Thomas Guillem
80dd05f921
input_item: category: use a vlc_list
Instead of the legacy array.
4 years ago
Lyndon Brown
4d89ef900d
fix mis-spelling of overridden
a followup to !1044 .
4 years ago
Alexandre Janniaux
6b7a57f984
modules: fix typos
Typos found and reworked from codespell.
4 years ago
Lyndon Brown
a6afae0848
lua: clarify error text
4 years ago
Lyndon Brown
03964431da
lua: fix wrong option location in error text
the location of the option was missing the step of the top-level
"Interface" tree node below which the "Main interfaces" node is found.
4 years ago
Lyndon Brown
538bc9bd66
lua: fix bad html
a sentence should not be broken up across multiple paragraphs. if forcing
part of the paragraph onto a new line is wanted, there's the line break
tag, and if that does not give the desired line spacing, this can be
tweaked with css.
4 years ago
Thomas Guillem
40a3b66f0a
lua: don't show hidden info categories
4 years ago
Rémi Denis-Courmont
0f2a579ab2
lua: simplify strerror() usage
5 years ago
Rémi Denis-Courmont
ccef59c94d
lua: match strerror() case
5 years ago
Marvin Scholz
347f73b9a7
Only define VLC_WINSTORE_APP if true
This makes it consistent with all the other uses of such defines in
the source code, which are tested for their existence rather than the
actual value.
5 years ago
Rémi Denis-Courmont
f32f289264
Rationalise not found error codes
We don't need 4 different codes for essentially the same thing, which
is that a certain thing could not be found.
5 years ago
Rémi Denis-Courmont
dd20ace531
Rename VLC_EBADVAR to VLC_EINVAL
5 years ago
Pierre Lamot
16f171590e
lua: add missing player lock
6 years ago
Pierre Ynard
b33c2c3afe
lua httpd: use TLS if --http-cert is set
This follows the same approach as oldhttp, and allows configuring the
web interface to use HTTPS.
Refs #19807
6 years ago
Steve Lhomme
eda8861490
lua: add the late frames statistics
In addition to displayed and dropped frames.
6 years ago
Rémi Denis-Courmont
0b6f8e5c7c
Check for <poll.h> explicitly
6 years ago
Hugo Beauzée-Luyssen
43ea5b40fc
lua: Add basic support for renderer discovery
6 years ago
Hugo Beauzée-Luyssen
9618772c56
lua: Move vlclua_get_player_internal to misc
6 years ago
Marvin Scholz
6b07642188
lua: sd: use new md5 API
6 years ago