{"id":14977989,"url":"https://github.com/simongendre/twitch_autoplayer","last_synced_at":"2026-02-22T20:02:36.551Z","repository":{"id":230094318,"uuid":"776496557","full_name":"SimonGendre/Twitch_autoplayer","owner":"SimonGendre","description":"Stream your favorite streamers as soon as they're live !","archived":false,"fork":false,"pushed_at":"2024-04-17T18:57:23.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T21:43:23.750Z","etag":null,"topics":["autoplay","autoplayer","raspberry-pi","raspberrypi","streaming","streamlink","twitch"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/SimonGendre.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":"2024-03-23T17:10:08.000Z","updated_at":"2024-08-29T23:03:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e8ce284-6729-4b16-b8f8-39d3846c5351","html_url":"https://github.com/SimonGendre/Twitch_autoplayer","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"e4eb23e0dd0beff7d714fdf06a72a43384a85a04"},"previous_names":["simongendre/twitch_autoplayer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonGendre%2FTwitch_autoplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonGendre%2FTwitch_autoplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonGendre%2FTwitch_autoplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonGendre%2FTwitch_autoplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonGendre","download_url":"https://codeload.github.com/SimonGendre/Twitch_autoplayer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241577072,"owners_count":19984940,"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":["autoplay","autoplayer","raspberry-pi","raspberrypi","streaming","streamlink","twitch"],"created_at":"2024-09-24T13:56:38.885Z","updated_at":"2025-10-26T05:03:52.066Z","avatar_url":"https://github.com/SimonGendre.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitch_autoplayer\nThis tiny script allows you to have your favorites streamers displayed on your Raspberry Pi display as soon as they start streaming!\n\nYou can define a list of streamers that you want to watch, and the script will show you the first one that streams.\n\nI found [rsheldiii](https://github.com/rsheldiii/twitch.tv-TV) repo and thought 'hmm I can make that more complicate' \n\n## Set up\nIn order for it to work, the script needs both Streamlink and Tmux to be installed on your system.\n\n```bash\nsudo apt update \u0026\u0026 sudo apt upgrade -y\nsudo apt install streamlink\nsudo apt install tmux\n```\nYou will then have to copy both the [service file](./script/twitch_tv.service) and [the timer file](./script/twitch_tv.timer) to `/etc/systemd/system/`.\n\nEnable and start the timer:\n\n```bash\nsudo systemctl enable twitch_tv.timer\n```\n\nOr you can just enable the service directly but I recommend delaying it because I had some issues.\n\n```bash\nsudo systemctl enable twitch_tv.service\n```\n\nThat's it! The script will now start after reboot.\n\n# File Descriptions\n- **[twitch_tv.sh](./scripts/twitch_tv.sh)**: This is the main script for the Twitch autoplayer. It defines functions to start and stop streaming, check if a streamer is live, and determine streamer priority. The main loop periodically checks the status of each streamer in the list and plays the stream of the highest priority live streamer.\n\n- **[streamers.txt](./scripts/streamers.txt)**: Text file containing the list of Twitch streamers you want to watch. Each streamer should be on a separate line.\n\n- **[twitch_tv.service](./scripts/twitch_tv.service)**: Systemd service file for running the Twitch autoplayer script as a service.\n\n- **[twitch_tv.timer](./scripts/twitch_tv.timer)**: Systemd timer file for delaying the start of the Twitch autoplayer service after boot.\n\n# Issues\nNo more for now :)\nFeel free to open an issue if you spot anything\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimongendre%2Ftwitch_autoplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimongendre%2Ftwitch_autoplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimongendre%2Ftwitch_autoplayer/lists"}