{"id":16101470,"url":"https://github.com/mendhak/rpi-internet-radio","last_synced_at":"2025-08-31T03:36:14.720Z","repository":{"id":8867446,"uuid":"10580226","full_name":"mendhak/rpi-internet-radio","owner":"mendhak","description":"Internet radio using breadboard, mpc and mpd","archived":false,"fork":false,"pushed_at":"2013-12-18T10:20:56.000Z","size":284,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T00:27:38.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mendhak.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}},"created_at":"2013-06-09T07:56:24.000Z","updated_at":"2023-09-08T16:39:58.000Z","dependencies_parsed_at":"2022-08-27T02:56:56.419Z","dependency_job_id":null,"html_url":"https://github.com/mendhak/rpi-internet-radio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mendhak/rpi-internet-radio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Frpi-internet-radio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Frpi-internet-radio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Frpi-internet-radio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Frpi-internet-radio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendhak","download_url":"https://codeload.github.com/mendhak/rpi-internet-radio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Frpi-internet-radio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272935722,"owners_count":25018133,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-09T18:50:02.784Z","updated_at":"2025-08-31T03:36:14.705Z","avatar_url":"https://github.com/mendhak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Raspberry Pi Internet Radio\n==================\n\nMy own implementation of an Internet radio player on a Raspberry Pi with a breadboard. \n\n##Hardware\nWired up on a breadboard with a few common components. This was done with a Raspberry Pi Model A. \n\n###Ingredients\n\n* 3x 10K Ω resistors\n* 1x 100 Ω resistor\n* 1x LED\n* 3x momentary push buttons\n* 1x breadboard\n* 3x male-to-male jumper cables\n* 6x male-to-female jumper cables\n\n###Layout\n\nArrange the components as shown in this professionally drawn schematic\n\n![Google Drawing](https://docs.google.com/file/d/0B6IOK82n4BkAZUxNTVZaR0dlTVE/image?pagenumber=1\u0026w=800)\n\n\n###Reference Photo\n\n![Layout](http://farm3.staticflickr.com/2832/8994587405_99730d2fc1_b.jpg)\n\n\n##Software\nThis involves an init.d script and a python script which listens for button presses.\n\n###Ingredients\n\n* `mpc` and `mpd` installed\n* `python-dev` and `python-rpi.gpio` installed\n\n###Setup\n\n\nCopy or clone this repository onto your Raspberry pi\n\n    git clone git://github.com/mendhak/rpi-internet-radio.git\n\n\nEdit the `/etc/mpd.conf` file and set `playlist_directory` to the stations subfolder of the repository\n\n    playlist_directory              \"/home/mendhak/rpi-internet-radio/stations\"\n\n\nSet up the init.d service pointing at the radio script\n\n    sudo ln -s /home/mendhak/rpi-internet-radio/radio radio\n    sudo chmod 777 /home/mendhak/rpi-internet-radio/radio\n    sudo update-rc.d radio defaults\n    \nFinally, restart the Raspberry Pi\n\n##Usage\n\nWhen the Raspberry Pi boots up and the init.d script kicks in, the red LED should flash twice.\n\nTo **start** playing music, press the first push button.\n\nTo move to the **next** radio station, press the first push button again.\n\nTo **stop** playing music, hold the first push button for one second, then let go.\n\nUse the other two push buttons to increase and decrease the **volume**.\n\nTo set your own stations, edit or create new `m3u` files in the stations subfolder. \n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Frpi-internet-radio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendhak%2Frpi-internet-radio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Frpi-internet-radio/lists"}