{"id":13419758,"url":"https://github.com/bjarneo/Pytify","last_synced_at":"2025-03-15T05:33:00.348Z","repository":{"id":52207795,"uuid":"20603312","full_name":"bjarneo/Pytify","owner":"bjarneo","description":"A CLI application for controlling Spotify","archived":false,"fork":false,"pushed_at":"2024-06-23T18:39:18.000Z","size":160,"stargazers_count":743,"open_issues_count":6,"forks_count":40,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-09-19T10:18:42.230Z","etag":null,"topics":["spotify","spotify-cli"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bjarneo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-06-07T21:37:05.000Z","updated_at":"2024-09-13T01:38:51.000Z","dependencies_parsed_at":"2024-10-26T16:53:33.878Z","dependency_job_id":"e4084a25-25d1-44d2-82dc-f690bbb78ca3","html_url":"https://github.com/bjarneo/Pytify","commit_stats":{"total_commits":270,"total_committers":20,"mean_commits":13.5,"dds":0.5629629629629629,"last_synced_commit":"f33e8865785b0fcca3559cdb340caf5f9a334610"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2FPytify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2FPytify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2FPytify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2FPytify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjarneo","download_url":"https://codeload.github.com/bjarneo/Pytify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243690112,"owners_count":20331726,"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":["spotify","spotify-cli"],"created_at":"2024-07-30T22:01:20.431Z","updated_at":"2025-03-15T05:33:00.029Z","avatar_url":"https://github.com/bjarneo.png","language":"Python","readme":"Pytify\n=============\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=4JDQMB6MRJXQE\u0026source=url)\n[![Code Climate](https://codeclimate.com/github/bjarneo/Pytify/badges/gpa.svg)](https://codeclimate.com/github/bjarneo/Pytify)\n\n![Pytify logo](https://github.com/bjarneo/Pytify/blob/master/logo.png?raw=true)\n\nSearch and start songs from the CLI.  \nLinux and OS X support.\n\n*Spotify must be running in the background in order to use this cli remote*\n\nPython 3 support. For Python 2 support use this release: [v2.1.0](https://github.com/bjarneo/Pytify/tree/v2.1.0)\n\n![Image of terminal](http://i.imgur.com/P6Qsp8I.gif)\n\n\n## Installation\n```bash\n$ pip install pytify\n```\n\nPython 2\n```bash\n$ pip install pytify==2.1.0\n```\n\nLinux you need to install `python-dbus` package.\n```bash\n$ # Example using apt-get\n$ apt-get install python-dbus\n```\n\n## Credentials\nThis package now must use credentials in order to search for songs. \n\nSupport for client credentials flow. Please follow these steps:\n\n1. Register app: https://developer.spotify.com/my-applications/#!/applications\n2. Edit your `~/.bashrc` to export following values:\n```bash\nexport SPOTIPY_CLIENT_ID='your-spotify-client-id'\nexport SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'\n```\n\n## Features\n* Commands\n* Auto suggest (based on history)\n* Tab through history\n* Search history\n* Search and play songs\n* CLI commands\n* VIM navigation bindings\n\n## Clone repo\n```bash\n$ git clone https://github.com/bjarneo/Pytify.git\n$ cd Pytify\n$ sudo python setup.py install\n```\n\n### Usage\n```bash\n# To start the app type\n$ pytify\n\n# next song\n$ pytify -n\n\n# prev song\n$ pytify -p\n\n# play and pause song\n$ pytify -pp\n\n# Current playing song\n$ pytify -c\n```\n\nCommands  \n![commands](http://i.imgur.com/r7pCYyH.png)\n```\nCommands:\n current              print current song\n help                 list all commands \n next                 play next song \n pp                   play or pause song \n stop                 stop \n prev                 play previous song \n history              last five search results \n\n```\n\n### Install dev dependencies\npip version must be \u003e 9\n```bash\n$ pip install -r requirements.txt\n```\n\n### Dependencies\n```bash\n* requests\n* prompt-toolkit\n```\n\n### Contributing\nContributions are appreciated.\n\n### Contributors\n- [@joined](https://github.com/joined/) - OS X\n- [@adam410](https://github.com/adam410/) - OS X issue\n- [@Newky](https://github.com/Newky) - Better structure\n- [@ymski](https://github.com/ymski) - OS X\n- [@wohlfea](https://github.com/wohlfea) - Made it compatible with python 3.5\n- [@ddiddi](https://github.com/ddiddi) - Added search phrase history browsing. (auto complete)\n- [@kmatt](https://github.com/kmatt) - Minor UX changes\n- [@bharath123](https://github.com/bharath-123) - Updated Pytify to use prompt_toolkit v2\n- .... and other.. please add your name and code update!\n\n### Logo\nLogo by [theodorosploumis](https://github.com/theodorosploumis). Thank you very much!\n\n## Donation\nIf this project has been helpful in any way, and you want to treat me a cup of coffee, please donate :)\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=4JDQMB6MRJXQE\u0026source=url)\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=4JDQMB6MRJXQE\u0026source=url"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjarneo%2FPytify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjarneo%2FPytify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjarneo%2FPytify/lists"}