{"id":15699229,"url":"https://github.com/codeasashu/ytdl-streamer","last_synced_at":"2025-05-09T02:24:00.059Z","repository":{"id":148600633,"uuid":"59423616","full_name":"codeasashu/ytdl-streamer","owner":"codeasashu","description":"A simple bash script that streams a youtube video to mplayer. ","archived":false,"fork":false,"pushed_at":"2019-05-13T14:44:46.000Z","size":6,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-26T11:04:26.103Z","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/codeasashu.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-05-22T16:56:31.000Z","updated_at":"2021-09-08T16:48:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d306a1ed-bf48-4ca3-8910-f025a82a38d6","html_url":"https://github.com/codeasashu/ytdl-streamer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fytdl-streamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fytdl-streamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fytdl-streamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeasashu%2Fytdl-streamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeasashu","download_url":"https://codeload.github.com/codeasashu/ytdl-streamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141271,"owners_count":20242816,"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-10-03T19:38:55.543Z","updated_at":"2025-03-12T01:38:25.789Z","avatar_url":"https://github.com/codeasashu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ytdl-streamer\n\n## Introduction\n\nA simple bash script that can stream your youtube video right to your player right from terminal\n\n## Useage\n\nClone or download this repo. `cd` to your repo directory. Install required dependencies via [pip](https://pypi.python.org/pypi/pip). \n\nJust execute `sudo chmod +x ./playmusic.sh` and run. It will ask you to input your search term, and will stream it directly to [mplayer](https://help.ubuntu.com/community/MPlayer)\n\nHere is the whole process summarized:\n\n```\nmachine@localhost$ git clone \"https://github.com/codeasashu/ytdl-streamer.git\"\nmachine@localhost$ cd ytdl-streamer\nmachine@localhost$ pip install -r requirements.txt\nmachine@localhost$ sudo chmod +x ./playmusic.sh \nmachine@localhost$ ./playmusic.sh \"in the end linkin park\"\n```\n\nThis will automatically pick best result from youtube api for the search term\nand will start playing the mp3 for you. \n\n### Sidenote\nThis program requires `ffmpeg`, [youtube-dl](https://github.com/rg3/youtube-dl) and `mplayer`. Please install one before using this script.\nFor Ubuntu 12.04 or 14.04 users, use [this bash script](https://gist.github.com/xdamman/e4f713c8cd1a389a5917) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeasashu%2Fytdl-streamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeasashu%2Fytdl-streamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeasashu%2Fytdl-streamer/lists"}