diff options
author | Aleix Conchillo FlaquƩ <aconchillo@gmail.com> | 2022-01-21 15:37:07 -0800 |
---|---|---|
committer | Aleix Conchillo FlaquƩ <aconchillo@gmail.com> | 2022-01-21 15:37:07 -0800 |
commit | 9d856378f6e708849b1896fffe7817edf50d71cd (patch) | |
tree | 98925184eccda4378ef566682c6ed7743d467868 | |
parent | 4b6d08b2c3fcc6545f0eaea49194792ec3e7e9b5 (diff) |
examples: add simple spotify test
-rw-r--r-- | examples/spotify.gs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/spotify.gs b/examples/spotify.gs new file mode 100644 index 0000000..9f8ff93 --- /dev/null +++ b/examples/spotify.gs @@ -0,0 +1,7 @@ +;; -*- mode: scheme; coding: utf-8; -*- + +(define spotify (Application "Spotify")) + +(.playpause spotify) + +(log:info (.name (.currentTrack spotify)) "by" (.artist (.currentTrack spotify))) |