+ updateTimestamp();
+ }
+
+ //
+ // PRIVATE METHODS
+ //
+
+ /** Updates the timestamp in the metadata. */
+ private void updateTimestamp() {
+ long timestamp = getMillis() / 1000;
+ if (lastTimestamp.get() != timestamp) {
+ super.metadataUpdated(parentMetadata.get().title(String.format("%s (%02d:%02d)", parentMetadata.get().title(), timestamp / 60, timestamp % 60)));
+ lastTimestamp.set(timestamp);
+ }