From afb151eb3f8a83663169d0f1fcce3686be1b53f5 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Fri, 27 Nov 2020 11:32:56 -0800 Subject: [PATCH] share by timecode --- .../src/main/java/de/danoeh/antennapod/core/util/ShareUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/ShareUtils.java b/core/src/main/java/de/danoeh/antennapod/core/util/ShareUtils.java index 3e9e8327e..c68ff43a6 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/ShareUtils.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/ShareUtils.java @@ -67,6 +67,7 @@ public class ShareUtils { String text = getItemShareText(item) + " " + item.getMedia().getDownload_url(); if(withPosition) { int pos = item.getMedia().getPosition(); + text += "#t=" + pos / 1000; text += " [" + Converter.getDurationStringLong(pos) + "]"; } shareLink(context, text);