diff --git a/.travis.yml b/.travis.yml index 465f4451..125ba700 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,8 @@ matrix: addons: apt: sources: - - ubuntu-toolchain-r-test - sourceline: 'ppa:mhier/libboost-latest' + - ubuntu-toolchain-r-test packages: - g++-4.9 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: @@ -21,8 +21,8 @@ matrix: addons: apt: sources: - - ubuntu-toolchain-r-test - sourceline: 'ppa:mhier/libboost-latest' + - ubuntu-toolchain-r-test packages: - g++-5 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: @@ -32,8 +32,8 @@ matrix: addons: apt: sources: - - ubuntu-toolchain-r-test - sourceline: 'ppa:mhier/libboost-latest' + - ubuntu-toolchain-r-test packages: - g++-6 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: @@ -43,8 +43,8 @@ matrix: addons: apt: sources: - - ubuntu-toolchain-r-test - sourceline: 'ppa:mhier/libboost-latest' + - ubuntu-toolchain-r-test packages: - g++-7 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: @@ -55,8 +55,8 @@ matrix: addons: apt: sources: - - llvm-toolchain-trusty-3.9 - sourceline: 'ppa:mhier/libboost-latest' + - llvm-toolchain-trusty-3.9 packages: - clang-3.9 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: @@ -67,8 +67,8 @@ matrix: addons: apt: sources: - - llvm-toolchain-trusty-4.0 - sourceline: 'ppa:mhier/libboost-latest' + - llvm-toolchain-trusty-4.0 packages: - clang-4.0 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: @@ -79,8 +79,8 @@ matrix: addons: apt: sources: - - llvm-toolchain-trusty-5.0 - sourceline: 'ppa:mhier/libboost-latest' + - llvm-toolchain-trusty-5.0 packages: - clang-5.0 boost1.70 libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon env: diff --git a/server/stream_server.cpp b/server/stream_server.cpp index 38e3a9ad..a519e8f6 100644 --- a/server/stream_server.cpp +++ b/server/stream_server.cpp @@ -254,7 +254,7 @@ void StreamServer::ProcessRequest(const jsonrpcpp::request_ptr request, jsonrpcp /// Request: {"id":6,"jsonrpc":"2.0","method":"Group.SetName","params":{"id":"4dcc4e3b-c699-a04b-7f0c-8260d23c43e1","name":"Laptop"}} /// Response: {"id":6,"jsonrpc":"2.0","result":{"name":"MediaPlayer"}} /// Notification: {"jsonrpc":"2.0","method":"Group.OnNameChanged","params":{"id":"4dcc4e3b-c699-a04b-7f0c-8260d23c43e1","MediaPlayer":"Laptop"}} - group->name = request->params().get("name"); + group->name = request->params().get("name"); result["name"] = group->name; notification.reset(new jsonrpcpp::Notification("Group.OnNameChanged", jsonrpcpp::Parameter("id", group->id, "name", group->name))); }