{"id":49575219,"url":"https://github.com/rollecode/pianobar-macos","last_synced_at":"2026-05-03T16:11:05.192Z","repository":{"id":145571018,"uuid":"73203724","full_name":"rollecode/pianobar-macos","owner":"rollecode","description":"Fork of console-based pandora.com player - Last.fm scrobbling and notifications with album art for macOS.","archived":false,"fork":false,"pushed_at":"2022-10-30T14:10:23.000Z","size":2069,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-02T13:33:31.848Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rollecode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-08T16:12:16.000Z","updated_at":"2024-11-05T16:35:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d31b60f0-4275-45dc-a212-8857b9a4a378","html_url":"https://github.com/rollecode/pianobar-macos","commit_stats":null,"previous_names":["rollecode/pianobar-macos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rollecode/pianobar-macos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fpianobar-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fpianobar-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fpianobar-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fpianobar-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollecode","download_url":"https://codeload.github.com/rollecode/pianobar-macos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fpianobar-macos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":"2026-05-03T16:11:04.110Z","updated_at":"2026-05-03T16:11:05.173Z","avatar_url":"https://github.com/rollecode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Enhanced pianobar for macOS\n================\n\nThis is rolle's awesome fork of pianobar settings for macOS.\n\nWith pianobar-macos you can achieve a working Command Line Interface music player that plays radio from [Pandora](https://www.pandora.com), scrobbles songs to [Last.fm](http://www.last.fm) and more. All this with CLI!\n\n## Features\n\n- Always connects to Pandora regardless of country (SOCKS5 and Tor)\n- Notifies songs played with pianobar\n- Loved songs in Pandora are automatically Loved songs in Last.fm when marked loved `+` key\n- Displays currently playing album art in notification\n- Scrobbles playing songs to Last.fm in real time and permanently when played 50% of the song\n- Displays info about changing stations, displays station name in notification\n\n\u003cimg width=\"957\" alt=\"Screen-Shot-2022-10-18-09-29-47 82\" src=\"https://user-images.githubusercontent.com/1534150/196352855-23b70839-ffe8-4bbc-9a90-ad2942bfc5ab.png\"\u003e\n\n## Installation\n\n1. [terminal-notifier](https://github.com/julienXX/terminal-notifier) - Send User Notifications on macOS 10.8 and later from the command-line:\n   ```bash\n   brew install terminal-notifier\n   ```\n2. Python3\n   ```bash\n   brew install python3\n   ```\n3. [pylast](https://github.com/pylast/pylast)\n   **important:** You will need the latest version, install with:\n   ```bash\n   pip3 install pylast\n   ```\n4. pync\n   ```bash \n   pip3 install pync\n   ```\n5. [pianobar](https://github.com/PromyLOPh/pianobar) - pianobar is a free/open-source, console-based client for the personalized online radio Pandora.\n   ```bash\n   brew install pianobar\n   ```\n\n6. Tor\n   ```bash\n   brew install tor\n   ```\n\n7. [pianobarproxy](https://github.com/robertkrimen/pianobarproxy/pull/2#issuecomment-853703139)\n   ```bash\n   go install github.com/brendanhoran/pianobarproxy@latest\n   ```\n\n8. Add tor config with `sudo nano /opt/homebrew/etc/tor/torrc`:\n\n   ```ini\n   ExitNodes {us} StrictNodes 1\n   CircuitBuildTimeout 5\n   NumEntryGuards 6\n   KeepalivePeriod 60\n   NewCircuitPeriod 15\n   SOCKSPort 9050\n   RunAsDaemon 0\n   ```\n   \n## Usage\n\n1. Install requirements (steps above)\n2. Clone this repo and move everything to `~/.config/pianobar`:\n\n   ```bash\n   cd $HOME; git clone https://github.com/ronilaukkarinen/pianobar-macos; cd pianobar-macos; mkdir -p $HOME/.config/pianobar; cp -Rv $HOME/pianobar-macos/* $HOME/.config/pianobar/; rm -rf $HOME/pianobar-macos\n   ```\n\n3. Edit:\n\n   ```bash\n   nano $HOME/.config/pianobar/config\n   ```\n   \n   Add following:\n\n   ```ini\n   user = yourusername@gmail.com\n   password = YourVeryHardPassWordForPandora\n   event_command = /Users/rolle/.config/pianobar/events.py\n   proxy = http://127.0.0.1:9090\n   ```\n\n4. Rename `events.py.sample` to `events.py`:\n   ```bash\n   mv $HOME/.config/pianobar/events.py.sample $HOME/.config/pianobar/events.py\n   ```\n\n5. Edit `events.py` and fill in the Last.fm variables at the top of the script.\n6. Make sure everything is executable:\n   ```bash\n   cd $HOME/.config/pianobar \u0026\u0026 sudo chmod +x *.py \u0026\u0026 sudo chmod +x *.sh \u0026\u0026 sudo chmod +x *.rb\n   ```\n7. Create folder for covers:\n   ```bash\n   mkdir -p $HOME/.config/pianobar/.covers\n   ```   \n8. Open three terminal windows and run these, tor and pianobarproxy and pianobar in their separate windows:\n   ```bash\n   unset PYTHONPATH\n   tor\n   export GOPATH=/Users/rolle/go\n   export PATH=$GOPATH/bin:$PATH\n   pianobarproxy -socks5 :9050\n   pianobar\n   ```\n\n## Troubleshooting\n\nIf Last.fm happens to be down, pianobar won't load any music. You should disable `event_command` line during the downtime or wait it out.\n\nIf you don't get any notifications or scrobbles, try `which python` and change the first line from your events.py to the path, for example:\n\n``` python\n#!/Library/Frameworks/Python.framework/Versions/2.7/bin/python\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollecode%2Fpianobar-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollecode%2Fpianobar-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollecode%2Fpianobar-macos/lists"}