mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-01-14 22:18:43 +00:00
Disable audio output on test server and removing alsa install
This commit is contained in:
parent
0397e22a1f
commit
7f7b5b4615
@ -6,7 +6,6 @@ dotnet: 1.0.0-preview2-003131
|
|||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -y mpd
|
- sudo apt-get install -y mpd
|
||||||
- sudo apt-get install -y alsa-utils
|
|
||||||
script:
|
script:
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
- dotnet build **/project.json
|
- dotnet build **/project.json
|
||||||
|
@ -22,11 +22,15 @@ namespace LibMpcTest
|
|||||||
|
|
||||||
builder.AppendLine($"log_file \"{Path.Combine(rootDirectory, MPD_LOG_FILE).Replace("\\", "\\\\")}\"");
|
builder.AppendLine($"log_file \"{Path.Combine(rootDirectory, MPD_LOG_FILE).Replace("\\", "\\\\")}\"");
|
||||||
builder.AppendLine($"db_file \"{Path.Combine(rootDirectory, MPD_DB_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($"music_directory \"{Path.Combine(rootDirectory, "Music").Replace("\\", "\\\\")}\"");
|
||||||
builder.AppendLine($"playlist_directory \"{Path.Combine(rootDirectory, "Playlists").Replace("\\", "\\\\")}\"");
|
builder.AppendLine($"playlist_directory \"{Path.Combine(rootDirectory, "Playlists").Replace("\\", "\\\\")}\"");
|
||||||
builder.AppendLine($"port \"6600\"");
|
builder.AppendLine("port \"6600\"");
|
||||||
builder.AppendLine($"mixer_type \"software\"");
|
builder.AppendLine("audio_output {");
|
||||||
|
builder.AppendLine("type \"null\"");
|
||||||
|
builder.AppendLine("name \"No Output\"");
|
||||||
|
builder.AppendLine("mixer_type \"none\"");
|
||||||
|
builder.AppendLine("}");
|
||||||
|
|
||||||
var mpdConfContent = builder.ToString();
|
var mpdConfContent = builder.ToString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user