mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-21 23:38:50 -05:00
Check {video.title} as well when finding a {mediaTitle} value
This commit is contained in:
parent
a895b57067
commit
5fda8b14ae
@ -829,7 +829,7 @@ public class MediaBindingBean {
|
||||
|
||||
@Define("mediaTitle")
|
||||
public String getMediaTitle() {
|
||||
return getMediaInfo(StreamKind.General, 0, "Title", "Movie");
|
||||
return Stream.of(StreamKind.General, StreamKind.Video).flatMap(k -> getMediaInfo(k, "Title", "Movie")).findFirst().orElse(null);
|
||||
}
|
||||
|
||||
@Define("audioLanguages")
|
||||
|
Loading…
Reference in New Issue
Block a user