Fix brackets
This commit is contained in:
parent
8d25c1ad31
commit
21f1297481
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ public class MusicUtil {
|
|||
builder.append("&MaxStreamingBitrate=").append(preferenceUtil.getMaximumBitrate());
|
||||
|
||||
boolean containerAdded = false;
|
||||
for (DirectplayCodec directplayCodec : preferenceUtil.getDirectplayCodecs()){
|
||||
for (DirectplayCodec directplayCodec : preferenceUtil.getDirectplayCodecs()) {
|
||||
if (directplayCodec.selected){
|
||||
if (!containerAdded){
|
||||
builder.append("&Container=");
|
||||
|
|
@ -52,7 +52,7 @@ public class MusicUtil {
|
|||
builder.append(directplayCodec.value).append(',');
|
||||
}
|
||||
}
|
||||
if (containerAdded){
|
||||
if (containerAdded) {
|
||||
// Remove last comma
|
||||
builder.deleteCharAt(builder.length() - 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue