share by timecode
This commit is contained in:
parent
66ee677ebe
commit
afb151eb3f
|
@ -67,6 +67,7 @@ public class ShareUtils {
|
||||||
String text = getItemShareText(item) + " " + item.getMedia().getDownload_url();
|
String text = getItemShareText(item) + " " + item.getMedia().getDownload_url();
|
||||||
if(withPosition) {
|
if(withPosition) {
|
||||||
int pos = item.getMedia().getPosition();
|
int pos = item.getMedia().getPosition();
|
||||||
|
text += "#t=" + pos / 1000;
|
||||||
text += " [" + Converter.getDurationStringLong(pos) + "]";
|
text += " [" + Converter.getDurationStringLong(pos) + "]";
|
||||||
}
|
}
|
||||||
shareLink(context, text);
|
shareLink(context, text);
|
||||||
|
|
Loading…
Reference in New Issue