mirror of
https://github.com/jellyfin/jellyfin
synced 2024-09-05 23:53:44 +00:00
Update OpenSubtitles User Agent to our own
This commit is contained in:
parent
7603b8d0fe
commit
5900ab8c68
|
@ -46,7 +46,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
|||
_config.NamedConfigurationUpdating += _config_NamedConfigurationUpdating;
|
||||
|
||||
Utilities.HttpClient = httpClient;
|
||||
OpenSubtitles.SetUserAgent("mediabrowser.tv");
|
||||
OpenSubtitles.SetUserAgent("jellyfin");
|
||||
}
|
||||
|
||||
private const string PasswordHashPrefix = "h:";
|
||||
|
|
Loading…
Reference in a new issue