does this work better
This commit is contained in:
@@ -51,7 +51,7 @@ export class TidalService extends BaseService<TidalClient> {
|
||||
}
|
||||
|
||||
async setVolume(argument: string): Promise<ServiceResult<number | string>> {
|
||||
const value = this.percentageToDecimal(parseFloat(argument));
|
||||
const value = this.percentageToDecimal(parseInt(argument, 10));
|
||||
// relative
|
||||
const adjustMatch = argument.match(/^([+-])/);
|
||||
if (adjustMatch) {
|
||||
|
||||
Reference in New Issue
Block a user