diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 69a47398..260c1f60 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -673,6 +673,16 @@ public class MediaBindingBean { return createMapBindings(getMediaInfo().snapshot(StreamKind.Text, 0)); } + @Define("menu") + public AssociativeScriptObject getMenuInfo() { + return createMapBindings(getMediaInfo().snapshot(StreamKind.Menu, 0)); + } + + @Define("image") + public AssociativeScriptObject getImageInfo() { + return createMapBindings(getMediaInfo().snapshot(StreamKind.Image, 0)); + } + @Define("videos") public List getVideoInfoList() { return createMapBindingsList(getMediaInfo().snapshot().get(StreamKind.Video)); @@ -688,6 +698,21 @@ public class MediaBindingBean { return createMapBindingsList(getMediaInfo().snapshot().get(StreamKind.Text)); } + @Define("menus") + public List getMenuInfoList() { + return createMapBindingsList(getMediaInfo().snapshot().get(StreamKind.Menu)); + } + + @Define("chapters") + public List getChaptersInfoList() { + return createMapBindingsList(getMediaInfo().snapshot().get(StreamKind.Chapters)); + } + + @Define("images") + public List getImageInfoList() { + return createMapBindingsList(getMediaInfo().snapshot().get(StreamKind.Image)); + } + @Define("artist") public String getArtist() { return getMusic().getArtist();