Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do search criteria work? #8

Open
mrlimbic opened this issue Jan 16, 2017 · 0 comments
Open

Do search criteria work? #8

mrlimbic opened this issue Jan 16, 2017 · 0 comments

Comments

@mrlimbic
Copy link

mrlimbic commented Jan 16, 2017

I've been experimenting with reading AAFs but I can't seem to cross reference packages by package ID.

In this example material always returns an empty set. Am I doing something wrong or is this not working yet?

SourceClip sc = (SourceClip)c;
										
double start = sc.getStartPosition() / rate.doubleValue();
double length = sc.getComponentLength() / rate.doubleValue();
										
System.out.println("SourceClip start " + start + " (" + length + ")");
										
Set<? extends tv.amwa.maj.model.Package> material = content.getPackages(new SearchByPackageIDImpl(sc.getSourcePackageID()));
										
System.out.println("material=" + material);	
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant