From: David ‘Bombe’ Roden Date: Tue, 28 May 2013 12:47:02 +0000 (+0200) Subject: Don’t change the title, just set the content. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4371ab7e900c5cc47aa4c18e6b125581a3accb2e;p=sonitus.git Don’t change the title, just set the content. --- diff --git a/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java b/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java index b5a081d..96b4052 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java @@ -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); } }