aboutsummaryrefslogtreecommitdiff
path: root/spotify.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-31 18:07:26 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-31 18:07:26 +0200
commit1f89f1d22ced0bb107514efb7e861247c2941a70 (patch)
tree895793127b4ebb24510acef7e1852343f464265e /spotify.go
parent5f7ae1d865623cceca2862c63d87f41742c8dfa7 (diff)
downloadWRMS-1f89f1d22ced0bb107514efb7e861247c2941a70.tar.gz
WRMS-1f89f1d22ced0bb107514efb7e861247c2941a70.zip
add more verbose logging around loading tracks from spotify
Diffstat (limited to 'spotify.go')
-rw-r--r--spotify.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/spotify.go b/spotify.go
index e2499e5..e0fcf65 100644
--- a/spotify.go
+++ b/spotify.go
@@ -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
}