1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

* OpenSubtitles: user different UA in MAS distribution

This commit is contained in:
Reinhard Pointner 2014-08-11 06:26:20 +00:00
parent 6c862b73eb
commit 3fd2d0d996
2 changed files with 3 additions and 1 deletions

View File

@ -21,8 +21,10 @@ apikey.themoviedb: 66308fb6e3fd850dde4c7d21df2e8306
apikey.fanart.tv: 780b986b22c35e6f7a134a2f392c2deb
apikey.acoustid: 0B3qZnQc
apikey.anidb: filebot
apikey.opensubtitles: FileBot
# api keys used by the appstore distribution
apikey.appstore.thetvdb: 5F6E873A88CF70D9
apikey.appstore.tvrage: mugksCbTg35PLBIhCXdG
apikey.appstore.anidb: filebotappstore
apikey.appstore.opensubtitles: FileBot-AppStore

View File

@ -58,7 +58,7 @@ public final class WebServices {
public static final TMDbClient TheMovieDB = new TMDbClient(getApiKey("themoviedb"));
// subtitle dbs
public static final OpenSubtitlesClient OpenSubtitles = new OpenSubtitlesClient(String.format("%s %s", getApplicationName(), getApplicationVersion()));
public static final OpenSubtitlesClient OpenSubtitles = new OpenSubtitlesClient(String.format("%s v%s", getApiKey("opensubtitles"), getApplicationVersion()));
// misc
public static final FanartTVClient FanartTV = new FanartTVClient(Settings.getApiKey("fanart.tv"));