Playlist URL replacement (and refact for reuse)