diff --git a/server/streamreader/spotifyStream.cpp b/server/streamreader/spotifyStream.cpp index 96ffb23f..3ce5bbf8 100644 --- a/server/streamreader/spotifyStream.cpp +++ b/server/streamreader/spotifyStream.cpp @@ -30,7 +30,7 @@ using namespace std; SpotifyStream::SpotifyStream(PcmListener* pcmListener, const StreamUri& uri) : ProcessStream(pcmListener, uri) { sampleFormat_ = SampleFormat("44100:16:2"); - uri_.query["sampleformat"] == sampleFormat_.getFormat(); + uri_.query["sampleformat"] = sampleFormat_.getFormat(); string username = uri_.getQuery("username", ""); string password = uri_.getQuery("password", "");