File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11local trackID
2- -- need tomake a pretty logo
2+ -- need to make a pretty logo
33tell application " Spotify" to activate -- opens spotify
44repeat
55 if isOpen() = true then
6- try -- this is where the logic to detect song changes should do
6+ try
77 tell application " Spotify" -- grabbing data from current track to id it
88 set trackID to id of current track
99 end tell
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ local trackID
22local playerState
33repeat
44 if isOpen() = true then -- better open tester
5- try
5+ try -- this is where the logic to detect song changes should go
66 tell application " Spotify" -- grabbing data from current track to id it
77 set trackID to id of current track
88 set playerState to (player state as string )
You can’t perform that action at this time.
0 commit comments