FilmwebPlugin extends ImdbPlugin { public String getMovieId(Movie movie) { String filmwebUrl = movie.getId(FILMWEB_PLUGIN_ID); if (StringTools.isNotValidString(filmwebUrl)) { filmwebUrl = getMovieId(movie.getTitle(), movie.getYear()); movie.setId(FILMWEB_PLUGIN_ID, filmwebUrl); } return filmwebUrl; } FilmwebPlugin(); @Override String getPluginID(); final void init(); String getMovieId(Movie movie); String getMovieId(String title, String year); @Override boolean scan(Movie movie); @Override void scanTVShowTitles(Movie movie); @Override boolean scanNFO(String nfo, Movie movie); static final String FILMWEB_PLUGIN_ID; }
@Test public void testGetFilmwebUrl01() { LOG.info("testGetFilmwebUrl01"); assertEquals("http: }
@Test public void testGetFilmwebUrl02() { LOG.info("testGetFilmwebUrl02"); assertEquals("http: }
@Test public void testGetFilmwebUrl03() { LOG.info("testGetFilmwebUrl03"); assertEquals("http: }
@Test public void testGetFilmwebUrl04() { LOG.info("testGetFilmwebUrl04"); assertEquals("http: }
@Test public void testGetFilmwebUrl05() { LOG.info("testGetFilmwebUrl05"); assertEquals("http: }
@Test public void testGetFilmwebUrl06() { LOG.info("testGetFilmwebUrl06"); assertEquals("http: }