Fix Fix
This commit is contained in:
parent
66ca2d08bf
commit
c8d98d2089
@ -569,14 +569,14 @@ public class ExpressionFormatMethods {
|
||||
*/
|
||||
public static EpisodeInfo getInfo(Episode self) throws Exception {
|
||||
if (TheTVDB.getIdentifier().equals(self.getSeriesInfo().getDatabase())) {
|
||||
return TheTVDBv2.getEpisodeInfo(self.getId(), Locale.ENGLISH);
|
||||
return TheTVDB.getEpisodeInfo(self.getId(), Locale.ENGLISH);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<String> getActors(SeriesInfo self) throws Exception {
|
||||
if (TheTVDB.getIdentifier().equals(self.getDatabase())) {
|
||||
return TheTVDBv2.getActors(self.getId(), Locale.ENGLISH).stream().map(Person::getName).collect(toList());
|
||||
return TheTVDB.getActors(self.getId(), Locale.ENGLISH).stream().map(Person::getName).collect(toList());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user