hnarayanan/shpotify

Off-by-one error on vol command

Opened this issue · 4 comments

Screen Shot 2020-10-22 at 00 21 06

"spotify vol show" and "spotify vol up/down" results are off by one

I honestly do not know how to fix this. This has been an error since the beginning of this project.

It's a funny applescript thingy. No idea why... but if I set the volume using a direct api call it is no longer off-by-one.

image

(never mind the white output, thats for quick debugging only)

If needed I'll update it and create PR.

It is not needed but it will be appreciated. 😸 If it is a small change, please do raise a PR.

Ah, I now see there already is a 'dirty' +1 fix 😎, waiting to be merged... #146