<html><head></head><body>Hi,<br><br>That's there because media library is disabled by default, because it's heavy and useless for LibVLC instances in third party apps.<br><br>Can't simply remove this statement, AFAICT.<br><br><div class="gmail_quote">Le 12 juin 2020 11:17:50 GMT+03:00, "Hugo Beauzée-Luyssen" <hugo@beauzee.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Just use whatever the config value is, otherwise whatever the user sets<br>in preference is ignored.<hr> bin/darwinvlc.m | 1 -<br> bin/vlc.c | 1 -<br> bin/winvlc.c | 1 -<br> 3 files changed, 3 deletions(-)<br><br>diff --git a/bin/darwinvlc.m b/bin/darwinvlc.m<br>index b405c9731f..db6f4ff1b4 100644<br>--- a/bin/darwinvlc.m<br>+++ b/bin/darwinvlc.m<br>@@ -231,7 +231,6 @@ int main(int i_argc, const char *ppsz_argv[])<br> int argc = 0;<br> <br> argv[argc++] = "--no-ignore-config";<br>- argv[argc++] = "--media-library";<br> <br> /* Overwrite system language */<br> CFPropertyListRef lang_pref = CFPreferencesCopyAppValue(CFSTR("language"),<br>diff --git a/bin/vlc.c b/bin/vlc.c<br>index 268922a617..ad710f727e 100644<br>--- a/bin/vlc.c<br>+++ b/bin/vlc.c<br>@@ -205,7 +205,6 @@ int main(int argc, const char *argv[])<br> int count = 0;<br> <br> args[count++] = "--no-ignore-config";<br>- args[count++] = "--media-library";<br> #ifdef HAVE_DBUS<br> args[count++] = "--dbus";<br> #endif<br>diff --git a/bin/winvlc.c b/bin/winvlc.c<br>index 81fed36205..944a1e0654 100644<br>--- a/bin/winvlc.c<br>+++ b/bin/winvlc.c<br>@@ -183,7 +183,6 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,<br> int j = 0;<br> char *lang = NULL;<br> <br>- argv[j++] = FromWide( L"--media-library" );<br> argv[j++] = FromWide( L"--no-ignore-config" );<br> for (int i = 1; i < argc; i++)<br> {</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>