diff --git a/.travis.yml b/.travis.yml index 95bc9ba..1ab276c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ dotnet: 1.0.0-preview2-003131 before_install: - sudo apt-get update -qq - sudo apt-get install -y mpd - - sudo apt-get install -y alsa-utils script: - dotnet restore - dotnet build **/project.json diff --git a/LibMpcTest/MpdConf.cs b/LibMpcTest/MpdConf.cs index b6269c9..d44b399 100644 --- a/LibMpcTest/MpdConf.cs +++ b/LibMpcTest/MpdConf.cs @@ -22,11 +22,15 @@ namespace LibMpcTest builder.AppendLine($"log_file \"{Path.Combine(rootDirectory, MPD_LOG_FILE).Replace("\\", "\\\\")}\""); builder.AppendLine($"db_file \"{Path.Combine(rootDirectory, MPD_DB_FILE).Replace("\\", "\\\\")}\""); - builder.AppendLine($"bind_to_address \"any\""); + builder.AppendLine("bind_to_address \"any\""); builder.AppendLine($"music_directory \"{Path.Combine(rootDirectory, "Music").Replace("\\", "\\\\")}\""); builder.AppendLine($"playlist_directory \"{Path.Combine(rootDirectory, "Playlists").Replace("\\", "\\\\")}\""); - builder.AppendLine($"port \"6600\""); - builder.AppendLine($"mixer_type \"software\""); + builder.AppendLine("port \"6600\""); + builder.AppendLine("audio_output {"); + builder.AppendLine("type \"null\""); + builder.AppendLine("name \"No Output\""); + builder.AppendLine("mixer_type \"none\""); + builder.AppendLine("}"); var mpdConfContent = builder.ToString();