{"id":13529214,"url":"https://github.com/mischah/itunes-remote","last_synced_at":"2025-04-05T17:02:56.393Z","repository":{"id":57278634,"uuid":"45143398","full_name":"mischah/itunes-remote","owner":"mischah","description":":notes: Control iTunes via CLI ","archived":false,"fork":false,"pushed_at":"2020-03-27T15:43:49.000Z","size":5637,"stargazers_count":428,"open_issues_count":11,"forks_count":31,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-04T21:33:27.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mischah.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","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-10-28T21:38:01.000Z","updated_at":"2024-12-31T20:07:00.000Z","dependencies_parsed_at":"2022-09-13T19:02:57.140Z","dependency_job_id":null,"html_url":"https://github.com/mischah/itunes-remote","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischah%2Fitunes-remote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischah%2Fitunes-remote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischah%2Fitunes-remote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mischah%2Fitunes-remote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mischah","download_url":"https://codeload.github.com/mischah/itunes-remote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369950,"owners_count":20927928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-01T07:00:34.399Z","updated_at":"2025-04-05T17:02:56.374Z","avatar_url":"https://github.com/mischah.png","language":"JavaScript","funding_links":[],"categories":["Entertainment","Packages","包","开发者工具","Command-line apps","命令行工具","目录","Developer Tools","Command Line Tools","Mac OS X"],"sub_categories":["Music","Command-line apps","命令行程序","命令行应用","Command Line Tools","IDE","World Wide Web","命令行工具"],"readme":"[![npm version](https://img.shields.io/npm/v/itunes-remote.svg?style=flat)](https://www.npmjs.org/package/itunes-remote)\n[![Coverage Status](https://coveralls.io/repos/mischah/itunes-remote/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/mischah/itunes-remote?branch=master)\n[![devDependency Status](https://david-dm.org/mischah/itunes-remote/dev-status.svg)](https://david-dm.org/mischah/itunes-remote#info=devDependencies)\n[![Dependency Status](https://david-dm.org/mischah/itunes-remote/status.svg)](https://david-dm.org/mischah/itunes-remote#info=Dependencies)\n[![Unicorn approved](https://img.shields.io/badge/unicorn-approved-ff69b4.svg?style=flat)](https://www.youtube.com/watch?v=ihXfH-zR8qA\u0026feature=youtu.be\u0026t=10s)\n[![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs)\n\n# itunes-remote\n\n\u003e Control iTunes via your terminal :notes:\n\nUsing [JXA](https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html) via [osascript](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/osascript.1.html) via Node.js.\n\n## Requirements\n\n- Node.js (v0.12.7 or greater)\n- Mac OS X (Yosemite 10.10.0 or greater)\n- Some tracks in your iTunes library\n\n## Demo\n![demo](demo.gif)\n\n## Install\n\n```\n$ npm install --global itunes-remote\n```\n\n\n## Usage\n\nIt’s interactive and offering an own prompt.\n\n```\n$ itunes\niTunes: help\n\n  Commands:\n\n    help [command...]              Provides help for a given command.\n    exit                           Exit itunes-remote.\n    play                           Start playing the current selection\n    play artist                    Plays songs by an artist.\n    play album                     Plays an album.\n    stop                           Stop playing the current selection\n    pause                          Pause playing the current selection\n    next                           Advance to the next track in the current playlist.\n    previous                       Return to the previous track in the current playlist.\n    back                           Reposition to beginning of current track or go to previous track if already at\n                                   start of current track.\n    search [options] \u003csearchterm\u003e  Fuzzy search album, artists and songs.\n\niTunes: \n```\n\n**Note:**  \nYou can also pass commands and options from the outside.\n\n```\n$ itunes stop --exit\niTunes:\n✔ Stopped playing ♪♬\n$\n```\n\n## Thanks\nSpecial shoutout to [@dthree](https://github.com/dthree) for his nice way to offer support for [vorpal](https://github.com/dthree/vorpal) :blush:\n\nThis tiny little module wouldn‘t be possible without the work of [all these amazing humans](thanks.md). Thanks. \n\n## License\n\nMIT © [Michael Kühnel](http://michael-kuehnel.de)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmischah%2Fitunes-remote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmischah%2Fitunes-remote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmischah%2Fitunes-remote/lists"}