1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

* refactoring

This commit is contained in:
Reinhard Pointner 2015-07-25 22:47:02 +00:00
parent a43a9171c1
commit 38a046bf2d
4 changed files with 1 additions and 19 deletions

View File

@ -104,7 +104,7 @@ public class MediaBindingBean {
if (infoObject instanceof Movie)
return getMovie().getYear();
if (infoObject instanceof AudioTrack)
return ((SimpleDate) getReleaseDate()).getYear();
return getReleaseDate().getYear();
return null;
}

View File

@ -4,14 +4,8 @@ import java.net.URI;
import java.util.List;
import java.util.Locale;
import javax.swing.Icon;
public interface EpisodeListProvider extends Datasource {
public String getName();
public Icon getIcon();
public boolean hasSeasonSupport();
public List<SearchResult> search(String query, Locale locale) throws Exception;

View File

@ -6,14 +6,8 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.swing.Icon;
public interface MovieIdentificationService extends Datasource {
public String getName();
public Icon getIcon();
public List<Movie> searchMovie(String query, Locale locale) throws Exception;
public Movie getMovieDescriptor(Movie movie, Locale locale) throws Exception;

View File

@ -4,14 +4,8 @@ import java.io.File;
import java.util.Collection;
import java.util.Map;
import javax.swing.Icon;
public interface MusicIdentificationService extends Datasource {
String getName();
Icon getIcon();
Map<File, AudioTrack> lookup(Collection<File> files) throws Exception;
}