Add more file types, Fix LibraryMetadata
All checks were successful
Build and push container / Build-Docker-Container (push) Successful in 3m53s
All checks were successful
Build and push container / Build-Docker-Container (push) Successful in 3m53s
This commit is contained in:
parent
2187519abc
commit
34f0b5b5fe
@ -11,7 +11,7 @@ import me.mrletsplay.mrcore.json.converter.JSONValue;
|
||||
|
||||
public class Config implements JSONConvertible {
|
||||
|
||||
public static final List<String> DEFAULT_FILE_TYPES = List.of("mp4", "mpeg", "mkv", "flv", "avi", "webm");
|
||||
public static final List<String> DEFAULT_FILE_TYPES = List.of("mp4", "mpeg", "mkv", "flv", "avi", "webm", "mov", "wmv");
|
||||
|
||||
@JSONValue
|
||||
private String libraryPath;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package me.mrletsplay.videobase.library;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@ -33,7 +34,7 @@ public class LibraryMetadata implements JSONConvertible {
|
||||
}
|
||||
|
||||
public List<String> getExcludePaths() {
|
||||
return excludePaths;
|
||||
return excludePaths == null ? Collections.emptyList() : excludePaths;
|
||||
}
|
||||
|
||||
public Map<String, VideoMetadata> getOverrides() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user