mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 13:55:03 -05:00
* fix issues with certain bindings not being available, e.g. {director}
This commit is contained in:
parent
aa5c7b3088
commit
7dc2d6d897
@ -558,7 +558,7 @@ public class MediaBindingBean {
|
|||||||
if (infoObject instanceof Episode)
|
if (infoObject instanceof Episode)
|
||||||
metaInfo = WebServices.TheTVDB.getSeriesInfoByName(((Episode) infoObject).getSeriesName(), Locale.ENGLISH);
|
metaInfo = WebServices.TheTVDB.getSeriesInfoByName(((Episode) infoObject).getSeriesName(), Locale.ENGLISH);
|
||||||
if (infoObject instanceof Movie)
|
if (infoObject instanceof Movie)
|
||||||
metaInfo = WebServices.TheMovieDB.getMovieInfo(getMovie(), Locale.ENGLISH, false);
|
metaInfo = WebServices.TheMovieDB.getMovieInfo(getMovie(), Locale.ENGLISH, true);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("Failed to retrieve metadata: " + infoObject, e);
|
throw new RuntimeException("Failed to retrieve metadata: " + infoObject, e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user