if (playlist.size() != Long.parseLong(versionTagValues[1])) {
throw new RuntimeException("Size mismatch");
}
if(playlist.getChecksum() != playlist.calculateChecksum()) {
throw new ChecksumException(playlist.getChecksum(), playlist.calculateChecksum());
}
if (playlist.isCollaborative() != (Integer.parseInt(versionTagValues[3]) == 1)) {
throw new RuntimeException();
}