diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-05-31 18:07:26 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-05-31 18:07:26 +0200 |
| commit | 1f89f1d22ced0bb107514efb7e861247c2941a70 (patch) | |
| tree | 895793127b4ebb24510acef7e1852343f464265e /spotify.go | |
| parent | 5f7ae1d865623cceca2862c63d87f41742c8dfa7 (diff) | |
| download | WRMS-1f89f1d22ced0bb107514efb7e861247c2941a70.tar.gz WRMS-1f89f1d22ced0bb107514efb7e861247c2941a70.zip | |
add more verbose logging around loading tracks from spotify
Diffstat (limited to 'spotify.go')
| -rw-r--r-- | spotify.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -79,7 +79,9 @@ func (spotify *SpotifyBackend) Play(song *Song, player *Player) { // For now, select the OGG 160kbps variant of the track. The "high quality" // setting in the official Spotify app is the OGG 320kbps variant. var selectedFile *Spotify.AudioFile + llog.DDebug("Available Formats:") for _, file := range track.GetFile() { + llog.DDebug("- %v", file.GetFormat()) if file.GetFormat() == Spotify.AudioFile_OGG_VORBIS_160 { selectedFile = file } |
