mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-08 23:23:20 +00:00
song play in a random order fix
This commit is contained in:
@@ -7,6 +7,15 @@ func modifyRemoteConfiguration(_ configuration: inout UcsResponse) {
|
||||
}
|
||||
|
||||
modifyAttributes(&configuration.attributes.accountAttributes)
|
||||
modifyAssignedValues(&configuration.assignedValues)
|
||||
}
|
||||
|
||||
func modifyAssignedValues(_ values: inout [AssignedValue]) {
|
||||
if let index = values.firstIndex(where: { $0.propertyID.name == "enable_pick_and_shuffle_common_capping" }) {
|
||||
values[index].enumValue = EnumValue.with {
|
||||
$0.value = "Disabled"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func modifyAttributes(_ attributes: inout [String: AccountAttribute]) {
|
||||
|
||||
Reference in New Issue
Block a user