{"id":21696570,"url":"https://github.com/madetech/lita-mac_spotify_control","last_synced_at":"2026-04-29T09:07:40.352Z","repository":{"id":29046964,"uuid":"32574611","full_name":"madetech/lita-mac_spotify_control","owner":"madetech","description":"Spotify AppleScript handler for Lita","archived":false,"fork":false,"pushed_at":"2015-04-07T10:27:01.000Z","size":228,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-06-14T00:05:00.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madetech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-20T09:23:49.000Z","updated_at":"2015-04-07T10:27:01.000Z","dependencies_parsed_at":"2022-09-05T12:31:15.856Z","dependency_job_id":null,"html_url":"https://github.com/madetech/lita-mac_spotify_control","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madetech/lita-mac_spotify_control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Flita-mac_spotify_control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Flita-mac_spotify_control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Flita-mac_spotify_control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Flita-mac_spotify_control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madetech","download_url":"https://codeload.github.com/madetech/lita-mac_spotify_control/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Flita-mac_spotify_control/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T19:20:38.514Z","updated_at":"2026-04-29T09:07:40.337Z","avatar_url":"https://github.com/madetech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lita-mac_spotify_control\n\n[![Build Status](https://travis-ci.org/madebymade/lita-mac_spotify_control.svg?branch=master)](https://travis-ci.org/madebymade/lita-mac_spotify_control)\n[![Code Climate](https://codeclimate.com/github/madebymade/lita-mac_spotify_control/badges/gpa.svg)](https://codeclimate.com/github/madebymade/lita-mac_spotify_control)\n[![Test Coverage](https://codeclimate.com/github/madebymade/lita-mac_spotify_control/badges/coverage.svg)](https://codeclimate.com/github/madebymade/lita-mac_spotify_control)\n\nIn the [Made](http://www.madetech.co.uk?ref=github\u0026repo=lita-mac_spotify_control) office we have an iMac acting as a Spotify jukebox, which until now was controlled by Hubot. However we predominantly code using Ruby so a switch to Lita was a logical switch.\n\n## Installation\n\nYour Lita instance **must** be on the same machine as an active Spotify session. i.e the app is open.\n\nAdd `lita-mac_spotify_control` to your Lita instance's Gemfile:\n\n``` ruby\ngem \"lita-mac_spotify_control\"\n```\n\nTo make full use of the the handlers functionality you will need to register an [Application with Spotify](https://developer.spotify.com/my-applications) this allows RSpotify to search playlists and get track details.\n\n~~At time of writing (20/03/2015) their is a known bug in Spotify's Applescript implementation. There is [a way around this](https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Apple-scripting-broken-in-1-0-1-988-g8f17a348/td-p/1029434), but at the moment you still can't play tracks from Spotify URIs~~ **_UPDATE:_** _Seems to be working now (07/04/2015)_\n\n## Configuration\n\nTODO: Describe any configuration attributes the plugin exposes.\n\n## Usage\n\n### Commands\n\n| Text                 | Result                                   |\n| -------------------- | ---------------------------------------- |\n| current track        | Info about the current track             |\n| next                 | Play next track                          |\n| pause                | Pause Spotify                            |\n| play                 | Plays spotify                            |\n| play QUERY           | Plays the result of supplied QUERY       |\n| play SPOTIFY_URI     | Plays supplied Spotify URI               |\n| play SPOTIFY_URL     | Plays playlist from supplied Spotify URL |\n| previous/prev        | Play previous track                      |\n| repeat               | Toggle repeat on/off                     |\n| shuffle              | Toggle shuffling on/off                  |\n| volume               | Current volume                           |\n| volume up/down/1-10  | Set/change volume                        |\n\n##Credits\n\nDeveloped and maintained by [Made](http://www.madetech.co.uk?ref=github\u0026repo=lita-mac_spotify_control).\n\n[![made](https://s3-eu-west-1.amazonaws.com/made-assets/googleapps/google-apps.png)](http://www.madetech.co.uk?ref=github\u0026repo=lita-mac_spotify_control)\n\nThe Calling of AppleScript from inside ruby was gained from using [this snippet](http://porkrind.org/missives/calling-applescript-from-ruby/)\n\nMany of the AppleScript Spotify commands where inspired by [SpotifyControl](https://github.com/dronir/SpotifyControl)\n\nKey contributions:\n\n* [Seb Ashton](https://github.com/sebashton)\n\n##License\n\nLicensed under [New BSD License](https://github.com/madebymade/lita-mac_spotify_control/blob/master/BSD-LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Flita-mac_spotify_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadetech%2Flita-mac_spotify_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Flita-mac_spotify_control/lists"}