An app found a clever way to share Spotify and Apple Music streams, without getting sued