this.isoFile = isoFile;
final List<MovieBox> movieBoxList = isoFile.getBoxes(MovieBox.class);
if (movieBoxList.isEmpty()) {
trackFragmentBoxList = isoFile.getBoxes(TrackFragmentBox.class, true);
if (trackFragmentBoxList != null) {
for (TrackFragmentBox trackFragmentBox : trackFragmentBoxList) {
trackIds.add(trackFragmentBox.getTrackFragmentHeaderBox().getTrackId());
}
}
} else {
movieBox = movieBoxList.get(0);
final long[] trackNumbers = movieBox.getTrackNumbers();
for (long trackNumber : trackNumbers) {
trackIds.add(trackNumber);
}
}