Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Close download from Open Subtitles using REST API, #3920 This commit will: - Add a new OpenSubClient class - Change the OpenSub class to use the new client - Change the OpenSub default language from eng to en - Change name of provider from opensubtitles.org to opensubtitles.com - Add a new loggedIn property to OnlineSubtitle - Add a new logout method to OnlineSubtitle - Add a new iinaLogoutCompleted notification to AppData - Change AppDelegate to log out of the online subtitle provider during termination This is a temporary stopgap solution that updates the builtin legacy code in order to meet the end of 2023 deadline imposed by Open Subtitles for switching to the new REST API. The plan is still to replace all built-in code for downloading from online subtitle providers with plug-in implementations. * Close download from Open Subtitles using REST API, #3920 This commit will: - Add a new OpenSubClient class - Change the OpenSub class to use the new client - Change the OpenSub default language from eng to en - Change name of provider from opensubtitles.org to opensubtitles.com - Add a new loggedIn property to OnlineSubtitle - Add a new logout method to OnlineSubtitle - Add a new iinaLogoutCompleted notification to AppData - Change AppDelegate to log out of the online subtitle provider during termination This is a temporary stopgap solution that updates the builtin legacy code in order to meet the end of 2023 deadline imposed by Open Subtitles for switching to the new REST API. The plan is still to replace all built-in code for downloading from online subtitle providers with plug-in implementations. * Use "en" by default if all preferred languages are not supported by OpenSubtitle --------- Co-authored-by: Hechen Li <lhc199652@gmail.com>
- Loading branch information
Showing
7 changed files
with
1,346 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.