1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 09:18:51 -05: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.fanart.tv: 780b986b22c35e6f7a134a2f392c2deb
apikey.acoustid: 0B3qZnQc apikey.acoustid: 0B3qZnQc
apikey.anidb: filebot apikey.anidb: filebot
apikey.opensubtitles: FileBot
# api keys used by the appstore distribution # api keys used by the appstore distribution
apikey.appstore.thetvdb: 5F6E873A88CF70D9 apikey.appstore.thetvdb: 5F6E873A88CF70D9
apikey.appstore.tvrage: mugksCbTg35PLBIhCXdG apikey.appstore.tvrage: mugksCbTg35PLBIhCXdG
apikey.appstore.anidb: filebotappstore 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")); public static final TMDbClient TheMovieDB = new TMDbClient(getApiKey("themoviedb"));
// subtitle dbs // 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 // misc
public static final FanartTVClient FanartTV = new FanartTVClient(Settings.getApiKey("fanart.tv")); public static final FanartTVClient FanartTV = new FanartTVClient(Settings.getApiKey("fanart.tv"));