Avoid warnings when just fetching movie entries
This commit is contained in:
parent
ce4756dd10
commit
c22d91c4d9
@ -564,9 +564,11 @@ public class MediaDetection {
|
|||||||
List<Movie> options = new ArrayList<Movie>();
|
List<Movie> options = new ArrayList<Movie>();
|
||||||
|
|
||||||
// try xattr metadata if enabled
|
// try xattr metadata if enabled
|
||||||
Object metaObject = xattr.getMetaInfo(movieFile);
|
if (movieFile.exists()) {
|
||||||
if (metaObject instanceof Movie) {
|
Object metaObject = xattr.getMetaInfo(movieFile);
|
||||||
options.add((Movie) metaObject);
|
if (metaObject instanceof Movie) {
|
||||||
|
options.add((Movie) metaObject);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// lookup by id from nfo file
|
// lookup by id from nfo file
|
||||||
|
Loading…
Reference in New Issue
Block a user