Don’t change the title, just set the content.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 28 May 2013 12:47:02 +0000 (14:47 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 28 May 2013 12:47:02 +0000 (14:47 +0200)
src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java

index b5a081d..96b4052 100644 (file)
@@ -122,7 +122,7 @@ public class TimeCounterFilter extends DummyFilter {
        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)));
+                       super.metadataUpdated(parentMetadata.get().comment(String.format("%02d:%02d", timestamp / 60, timestamp % 60)));
                        lastTimestamp.set(timestamp);
                }
        }