[Android] Add the hearing unpaired flag to opensubtitles queries

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


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Oct 24 11:07:44 2024 +0200| [cba5d3ead48f88a5879ded9b0963905e6777a263] | committer: Duncan McNamara

Add the hearing unpaired flag to opensubtitles queries

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

 .../org/videolan/vlc/mediadb/models/ExternalSub.kt |  3 ++-
 .../opensubtitles/IOpenSubtitleService.kt          | 16 +++++++-----
 .../opensubtitles/OpenSubtitleRepository.kt        | 30 +++++++++++++++-------
 .../src/main/res/drawable/ic_hearing_impaired.xml  | 13 ++++++++++
 .../resources/src/main/res/values/strings.xml      |  1 +
 .../res/layout/subtitle_download_item.xml          | 27 ++++++++++++++-----
 .../dialogs/SubtitleDownloaderDialogFragment.kt    |  2 ++
 .../org/videolan/vlc/gui/dialogs/SubtitleItem.kt   |  3 ++-
 .../vlc/repository/ExternalSubRepository.kt        |  4 +--
 .../org/videolan/vlc/util/VLCDownloadManager.kt    |  3 ++-
 .../org/videolan/vlc/viewmodels/SubtitlesModel.kt  | 28 +++++++++++---------
 11 files changed, 91 insertions(+), 39 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/cba5d3ead48f88a5879ded9b0963905e6777a263


More information about the Android mailing list