[Android] Order open subtitle results by download count

Nicolas Pomepuy git at videolan.org
Thu Nov 21 13:19:11 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Nov  7 08:11:33 2024 +0100| [cb8bd4b48a5511b789836e99f174767103de93ef] | committer: Duncan McNamara

Order open subtitle results by download count

> https://code.videolan.org/videolan/vlc-android/commit/cb8bd4b48a5511b789836e99f174767103de93ef
---

 .../java/org/videolan/resources/opensubtitles/IOpenSubtitleService.kt    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/resources/src/main/java/org/videolan/resources/opensubtitles/IOpenSubtitleService.kt b/application/resources/src/main/java/org/videolan/resources/opensubtitles/IOpenSubtitleService.kt
index 5badf99080..bd093bb70a 100644
--- a/application/resources/src/main/java/org/videolan/resources/opensubtitles/IOpenSubtitleService.kt
+++ b/application/resources/src/main/java/org/videolan/resources/opensubtitles/IOpenSubtitleService.kt
@@ -16,6 +16,7 @@ interface IOpenSubtitleService {
         @Query("moviehash") movieHash: String? = null,
         @Query("query") name: String? = null,
         @Query("season_number") season: Int? = null,
+        @Query("order_by") orderBy: String = "download_count",
     ): OpenSubV1
 
     @POST("download")



More information about the Android mailing list