Commit Graph

1729 Commits

Author SHA1 Message Date
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
2024-04-11 13:19:17 +00:00
Alaric Senat 9394e7eace medialibrary: expose `favorite_only` QueryParameter
Allow favorite only listing on various medialibrary objects.
2024-03-30 17:41:04 +00:00
Marvin Scholz 63d44f046a macosx: use VLC as CFBundleName
Fix #28432
2023-12-07 06:30:47 +00:00
Jean-Baptiste Kempf 0740ca354e lua: remove metacafe and liveleak
Ref #28240
2023-08-16 06:00:04 +00:00
Pierre Ynard c49166f435 youtube.lua: update signature descrambling helper name parsing
Just like happened before with the descrambling function name proper,
the helper object used within it may now happen to be 3 characters long,
instead of just 2 so far.
2023-08-11 15:21:56 +00:00
Alexandre Janniaux 7f78e49d37 share: Makefile.am: fix distcheck for lua
Distcheck was never tested with lua enabled, and it doesn't clean the
compiled lua files correctly in distcleancheck. There was also some
redundancy in how the scripts were defined.

This commit refactor the declaration in three separate variables:
 - LUA_EXTENSIONS, which is where new lua scripts should probably go.
 - LUA_EXTENSIONS_DOC, which include files that are shipped into the doc
   folder but not compiled.
 - LUA_EXTENSIONS_PKGDATA, which include files that are shipped into the
   pkgdata folder, and mostly consists of http/custom.lua now for some
   reason.

The .luac files are not included in the dist archive, and thus
can be automatically clean them.
2023-08-09 09:18:28 +00:00
Felix Paul Kühne a03de829e1 share/Info.plist: add vp6 extension
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2023-08-08 13:13:57 +00:00
Felix Paul Kühne fe688088eb share/Info.plist: add skm extension
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2023-08-08 13:13:57 +00:00
Felix Paul Kühne 60eefa399e share/Info.plist: add k3g extension
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2023-08-08 13:13:57 +00:00
Felix Paul Kühne d803d42682 share/Info.plist: add au extension
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2023-08-08 13:13:57 +00:00
Felix Paul Kühne 30731a0670 share/Info.plist: add alac extension
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2023-08-08 13:13:57 +00:00
Kerrick Staley e8b42d4086 Allow configuring mobile controller UI skip duration (fixes #26704) 2023-05-18 07:28:45 +00:00
Pierre Ynard e9705c553c youtube.lua: &fmt=hd URL parameter to leverage "adaptive" formats
This provides experimental support to play again all available video
resolutions, by combining audio and video "adaptive" elementary streams
using an input slave. Not in use by default; use at your own risks.

Again, by allowing to select resolutions lower than 360p, this also
provides mitigation against the throttling issue.

Ref #10237, #27227
2023-02-14 16:42:07 +00:00
Pierre Ynard b88da3715b youtube.lua: split stream URL parsing into separate function 2023-02-14 16:42:07 +00:00
Pierre Ynard 94d5e1aa65 youtube.lua: &fmt={audio,video} URL parameters for "adaptive" formats
This extends the old &fmt=[itag] URL syntax that we still supported all
along to force format selection, and allows choosing from "adaptive"
elementary streams without knowledge of itag specifics and in accordance
with normal resolution preferences.

This also allows playing only the audio part of music videos and
skipping the download of the video part entirely, greatly reducing
bitrate and providing mitigation against the throttling issue.

Ref #10237, #27227
2023-02-14 16:42:07 +00:00
Pierre Ynard aa2032bb2e youtube.lua: generic support for YouTube "adaptive" formats
Formats listed under that label are audio-only or video-only elementary
streams, but offer choice encompassing the full array of supported
resolutions, qualities and codecs; whereas classic multiplexed formats
have long been dwindling down to only two formats now, 720p and 360p, or
even 360p only for some content.

For now, these "adaptive" formats are only used if explicitly requested
by itag number.

Ref #10237
2023-02-14 16:42:07 +00:00
Pierre Ynard b916319907 youtube.lua: split stream format selection into separate function 2023-02-14 16:42:07 +00:00
Pierre Ynard 7d9722f206 youtube.lua: lazy initialization for fetching descrambling javascript
This makes more sense and will simplify code flow.
2023-02-14 16:42:07 +00:00
Pierre Ynard b5c12e5ed1 youtube.lua: update comments about fmt URL parameter
Link to old Wikipedia page revision where itag parameter formats were
actually still described.
2023-02-14 16:42:07 +00:00
Pierre Ynard 12b739ef68 youtube.lua: declare proper local scope for working variables 2023-02-14 16:42:07 +00:00
Pierre Ynard 91aac3a2fa youtube.lua: disable broken call in dead code 2023-02-14 16:42:07 +00:00
Pierre Ynard 9bbdd152cb youtube.lua: disable broken "n" descrambling for now
All it achieves at the moment is wasting CPU time, slowing down playback
startup, and distracting users with extraneous warnings.

Ref #27227
2023-02-14 16:42:07 +00:00
Pierre Ynard 5bab61310f youtube.lua: support YouTube Shorts URLs 2023-02-14 16:42:07 +00:00
Kerrick Staley 27042bbbe4 Enlarge buttons in remote-control web UI 2023-02-14 14:21:38 +00:00
Claudio Cambra ed7a83afcf macosx: Add NSAccentColorName prop to Info.plist.in
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-02-07 08:05:50 +00:00
Pierre Ynard a0b3c43815 youtube.lua: update for player config definition site change
Fixes #27529
2022-11-19 07:19:13 +00:00
Daniel Rusek 818cb4ed05 share: vlc.desktop.in: Add Czech translation 2022-11-10 13:56:05 +00:00
Alexandre Janniaux c6ed4170a5 share: Makefile.am: use $(EGREP) instead of egrep
Fix the following warning:

    egrep: warning: egrep is obsolescent; using grep -E
2022-09-17 19:36:01 +00:00
Felix Paul Kühne bfdf6b0569 VLSub: add 29 more languages
This adds all languages supported by the OSO backend and fixes #27291.
2022-09-06 11:13:37 +00:00
Pierre Ynard 90dcfa0e78 youtube.lua: bump up severity of "n" parameter throttling warning
Due to the severely increased complexity of "n" descrambling code, a
quick fix is unfortunately not foreseeable. For now, let users know more
clearly what's going on and what's to expect or not.

Ref #27227
2022-09-01 20:09:08 +00:00
Pierre Ynard b735ef2cde youtube.lua: don't silently fail on "n" descrambling script parsing
The descrambling script section was updated from a simple and linear
chain of calls, to a complex execution tree with conditional branches.
Failure to recognize and parse this call structure (or lack thereof)
resulted in a silent no-op. Add a check to properly report an error.

Ref #27227
2022-09-01 20:09:08 +00:00
Pierre Ynard 1494441075 youtube.lua: fix crash on unexpected "n" descrambling transformation code
It was possible, when encountering different code from what was expected
for some known transformations, to void the code parsing pointer instead
of advancing it, resulting in a subsequent crash of the script and total
playback failure. Add a fallback and check, to prevent and gracefully
deal with this, and still allow playback, even if throttled, in case of
descrambling failure.
2022-09-01 20:09:08 +00:00
Aymeric Guillien 681b89d7a9 medialibrary: add documentation for lua/libs/medialibrary.c 2022-08-05 14:33:48 +00:00
Marvin Scholz fb808e3410 lua: intf: update README
Mention the new recommended way of requiring modules.
2022-07-30 17:46:20 +00:00
Marvin Scholz 23f36c630f lua: cli: update usage instructions
The `-I cli` no longer starts the lua CLI, luacli does not work
either, only `-I luaintf --lua-intf cli` does actually start the Lua
CLI interface properly.
2022-07-30 17:46:20 +00:00
Marvin Scholz 7c5203ab1a lua: intf: luac: fix usage instructions 2022-07-30 17:46:20 +00:00
Marvin Scholz 3ccfc79001 lua: intf: luac: remove unused requires 2022-07-30 17:46:20 +00:00
Marvin Scholz 33c7a44fd8 lua: http: custom: remove deprecated module function
The file directly modifies the global table (_G) so it does not
seem necessary at all to expose anything explicitly.
2022-07-30 17:46:20 +00:00
Marvin Scholz 4109a34d64 lua: host: do not use deprecated module function 2022-07-30 17:46:20 +00:00
Marvin Scholz 82dd26ccaf lua: httprequests: do not use deprecated module function 2022-07-30 17:46:20 +00:00
Marvin Scholz c8a59b0ed0 lua: simplexml: do not use deprecated module function 2022-07-30 17:46:20 +00:00
Marvin Scholz 94aa14103d lua: sandbox: do not use deprecated module function 2022-07-30 17:46:20 +00:00
Marvin Scholz bfc88aa7a1 lua: common: do not use deprecated module function 2022-07-30 17:46:20 +00:00
Marvin Scholz 2e72899ec2 share: utils: remove obsolete gnome-vlc-default script
This script works using tools that operate on the
no longer used GConf database.
2022-07-29 07:09:19 +00:00
Marvin Scholz 6995265a57 share: lua: remove $Id$ magic comments
These were used by SVN, we are no longer using that though.
2022-07-29 06:39:56 +00:00
Rémi Denis-Courmont 739f285ed5 share: really sort files in the skins tarball
Looking through the tar command line help is brittle, and as a matter of
facts fails miserably with non-English locales.

Just feed a sorted list of files for tar to archive instead. This should
work regardless of the tar tool version in use.

Fixes Debian #990247.
2022-05-20 06:30:46 +00:00
Felix Paul Kühne db6b36b6b1 Add 'amrec' file extension
This is a synonym for .ts used by certain video camera systems.
2022-05-14 09:11:05 +00:00
Marcin Jakubowski 4417cfc668 vlcsub: improve movie info matching
improves movie info (show name, season and episode number) matching by
trying meta data as well as the cleaned up filename and trying out
additional patterns
2022-05-12 13:27:00 +00:00
Marcin Jakubowski 9bdbd49c68 vlcsub: fallback to placeholder target file name
fixes #23624, where the determined file name from a remote location
is not a valid file name for saving locally, e.g. from yt
2022-05-01 19:18:58 +00:00
Lyndon Brown ce0868d1e0 vlcsub: switch API URLs to HTTPS 2022-03-13 06:05:33 +00:00