As in the title, can't access the comment from a new instance of a video, it returns a null instead of the comment.
The attached zipped project has a few images and a video, made from those images.
Load the project and then in the System console paste and evaluate this code
Work.on(rootFolder.descendants).forEach(ao) -> {
System.out.println("ao title=" + ao.getTitle())
System.out.println("ao comment=" + ao.getComment())
System.out.println("ao keywords=" + ao.getKeywords())
aof = ao.getFile()
AlbumObject aoInstance = ao.getFactory().createInstance(aof)
System.out.println("ao instance title=" + aoInstance.getTitle())
System.out.println("ao instance comment=" + aoInstance.getComment())
System.out.println("ao instance keywords=" + aoInstance.getKeywords())
}
The output for an image and the video is
ao title=Clock
ao comment=Knocking off time
ao keywords=Clock [Clock] ock
ao instance title=Clock
ao instance comment=Knocking off time
ao instance keywords=Clock [Clock] ock
ao title=Slideshow
ao comment=Video of the slides
ao keywords=video, slideshow
ao instance title=Slideshow
ao instance comment=null
ao instance keywords=video, slideshow