mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 22:05:00 -05:00
Avoid warnings when just fetching movie entries
This commit is contained in:
parent
ce4756dd10
commit
c22d91c4d9
@ -564,10 +564,12 @@ public class MediaDetection {
|
||||
List<Movie> options = new ArrayList<Movie>();
|
||||
|
||||
// try xattr metadata if enabled
|
||||
if (movieFile.exists()) {
|
||||
Object metaObject = xattr.getMetaInfo(movieFile);
|
||||
if (metaObject instanceof Movie) {
|
||||
options.add((Movie) metaObject);
|
||||
}
|
||||
}
|
||||
|
||||
// lookup by id from nfo file
|
||||
if (service != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user