|
@@ -128,8 +128,6 @@ bool PlayerComponent::componentInitialize()
|
|
|
// See: https://github.com/plexinc/plex-media-player/issues/736
|
|
|
mpv::qt::set_property(m_mpv, "cache-seek-min", 5000);
|
|
|
|
|
|
- mpv::qt::set_property(m_mpv, "tls-verify", "yes");
|
|
|
-
|
|
|
#if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
|
|
|
QList<QByteArray> list;
|
|
|
list << "/etc/ssl/certs/ca-certificates.crt"
|
|
@@ -147,6 +145,7 @@ bool PlayerComponent::componentInitialize()
|
|
|
{
|
|
|
if (access(path.data(), R_OK) == 0) {
|
|
|
mpv::qt::set_property(m_mpv, "tls-ca-file", path.data());
|
|
|
+ mpv::qt::set_property(m_mpv, "tls-verify", "yes");
|
|
|
success = true;
|
|
|
break;
|
|
|
}
|
|
@@ -154,6 +153,9 @@ bool PlayerComponent::componentInitialize()
|
|
|
|
|
|
if (!success)
|
|
|
throw FatalException(tr("Failed to locate CA bundle."));
|
|
|
+#else
|
|
|
+ // We need to not use Shinchiro's personal CA file...
|
|
|
+ mpv::qt::set_property(m_mpv, "tls-ca-file", "");
|
|
|
#endif
|
|
|
|
|
|
// Apply some low-memory settings on RPI, which is relatively memory-constrained.
|