@if (is_playlist) { Share playlist } @else { Share file }

Enable sharing
Use timestamp Seconds