spotify / apps-tutorial

A Spotify App that contains working examples of the use of Spotify Apps API
https://developer.spotify.com/technologies/apps/
627 stars 146 forks source link

changing the volume API via AppleScript is rounded down #11

Closed robspychala closed 10 years ago

robspychala commented 11 years ago

Steps to reproduce

calling:

tell application "Spotify"
    if it is running then
        set sound volume to (sound volume * .10)
    end if
end tell

then:

tell application "Spotify"
    if it is running then
        set sound volume to (sound volume * 10)
    end if
end tell

Observed behavior

Lowers the volume of the app

Expected behavior

App should go back to the original volume (as rdio and iTunes do)

JMPerez commented 10 years ago

This doesn't seem like an issue related to the Spotify Apps API.