[Android] Switch to https for opensubtitles API
Geoffrey Métais
git at videolan.org
Thu Jul 12 15:42:00 CEST 2018
vlc-android | branch: 3.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul 12 15:32:18 2018 +0200| [4284ed43828d732e9cdec6758c3282eab5530e36] | committer: Geoffrey Métais
Switch to https for opensubtitles API
(cherry picked from commit d4c32f47237050d9042724661b06d960754d386c)
> https://code.videolan.org/videolan/vlc-android/commit/4284ed43828d732e9cdec6758c3282eab5530e36
---
vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java b/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
index a8ce6a6b1..55e69ed10 100644
--- a/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
+++ b/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
@@ -78,7 +78,7 @@ public class SubtitlesDownloader {
private static final int DIALOG_UPDATE_MSG = 4;
private static final String TAG = "VLC/SubtitlesDownloader";
- private static final String OpenSubtitlesAPIUrl = "http://api.opensubtitles.org/xml-rpc";
+ private static final String OpenSubtitlesAPIUrl = "https://api.opensubtitles.org/xml-rpc";
private static final String HTTP_USER_AGENT = "VLSub";
private static final String USER_AGENT = "VLSub 0.9";
private static final File SUBTITLES_DIRECTORY = new File(VLCApplication.getAppContext().getExternalFilesDir(null), "subs");
More information about the Android
mailing list