{"id":13989237,"url":"https://github.com/AsmSafone/RadioPlayerV2","last_synced_at":"2025-07-22T10:31:34.027Z","repository":{"id":41402024,"uuid":"368889782","full_name":"AsmSafone/RadioPlayerV2","owner":"AsmSafone","description":"This Is Advanced Version Of Old Radio Player, An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats.","archived":true,"fork":false,"pushed_at":"2023-07-02T13:05:58.000Z","size":34,"stargazers_count":83,"open_issues_count":0,"forks_count":236,"subscribers_count":3,"default_branch":"safone","last_synced_at":"2024-11-29T08:38:20.469Z","etag":null,"topics":["bot","music","musicplayer","radio","telegram-radio-player","voice-chat"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AsmSafone.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":"2021-05-19T14:04:05.000Z","updated_at":"2024-08-12T20:13:09.000Z","dependencies_parsed_at":"2024-08-09T13:20:55.496Z","dependency_job_id":null,"html_url":"https://github.com/AsmSafone/RadioPlayerV2","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AsmSafone/RadioPlayerV2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FRadioPlayerV2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FRadioPlayerV2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FRadioPlayerV2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FRadioPlayerV2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsmSafone","download_url":"https://codeload.github.com/AsmSafone/RadioPlayerV2/tar.gz/refs/heads/safone","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsmSafone%2FRadioPlayerV2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266475119,"owners_count":23934885,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["bot","music","musicplayer","radio","telegram-radio-player","voice-chat"],"created_at":"2024-08-09T13:01:34.335Z","updated_at":"2025-07-22T10:31:33.687Z","avatar_url":"https://github.com/AsmSafone.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Telegram Radio Player V2\n![GitHub Repo stars](https://img.shields.io/github/stars/AsmSafone/RadioPlayerV2?color=blue\u0026style=flat)\n![GitHub forks](https://img.shields.io/github/forks/AsmSafone/RadioPlayerV2?color=green\u0026style=flat)\n![GitHub issues](https://img.shields.io/github/issues/AsmSafone/RadioPlayerV2)\n![GitHub closed issues](https://img.shields.io/github/issues-closed/AsmSafone/RadioPlayerV2)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AsmSafone/RadioPlayerV2)\n![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/AsmSafone/RadioPlayerV2)\n![GitHub contributors](https://img.shields.io/github/contributors/AsmSafone/RadioPlayerV2?style=flat)\n![GitHub repo size](https://img.shields.io/github/repo-size/AsmSafone/RadioPlayerV2?color=red)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/AsmSafone/RadioPlayerV2)\n![GitHub](https://img.shields.io/github/license/AsmSafone/RadioPlayerV2)\n[![Bot Support](https://img.shields.io/badge/Radio%20Player%20V2-support%20group-blue)](https://t.me/safothebot)\n\n\nAn Telegram Bot to Play Nonstop Radio/Music in Channel or Group Voice Chats.\n\nThis is also the source code of the bot which is being used for playing\nRadio in [AsmSafone](https://t.me/AsmSafone) Channel \u0026 Music in [SafoTheBot](https://t.me/safothebot) Group.\n\n## Special Features\n\n- Playlist, queue, 24x7 radio stream\n- Loop one track when there is only one track in the playlist\n- Automatically downloads audio for the first two tracks in the playlist to ensure smooth playing\n- Show current playing position of the audio\n- Control with buttons and commands\n- Download songs from youtube as audio\n\n## Deploy to Heroku (The Easy Way)\n\n\u003cp\u003e\u003ca href=\"https://heroku.com/deploy?template=https://github.com/AsmSafone/RadioPlayerV2\"\u003e \u003cimg src=\"https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge\u0026logo=heroku\" width=\"200\"\"/\u003e\u003c/a\u003e\u003c/p\u003e\nNOTE: Make Sure You Have Started A Voice Chat In Your Channel/Group Before Deploying!\n\n## Heroku Vars:\n1. `API_ID` : Get it from my.telegram.org\n2. `API_HASH` : Get it from my.telegram.org\n3. `BOT_TOKEN` : Get it from @Botfather\n4. `SESSION_STRING` : Generate it from [@genStr robot](http://t.me/genStr_robot) or [![genStr](https://img.shields.io/badge/repl.it-genStr-yellowgreen)](https://repl.it/@AsmSafone/genStr)\n5. `CHAT` : ID of Channel/Group where the bot plays Music/Radio.\n6. `LOG_GROUP` : Group to send Playlist, if CHAT is a Group.\n7. `ADMINS` : ID of users who can use admin commands.\n8. `STREAM_URL` : Stream URL of radio station to stream when the bot starts or with /radio command. Here is [Some Live Streaming Links](https://telegra.ph/Live-Radio-Stream-Links-05-17).\n\n- Enable the worker after deploy the project to Heroku.\n- Bot will starts radio automatically in given `CHAT` with given `STREAM_URL` after deploy. \n- 24x7 Music even if heroku restarts, radio stream restarts automatically.  \n- To play a song just send the audio file to Bot or reply to an audio with `/play` to start playing it in the voice chat.\n- To download audio you can use [@SafoneMusicBot](http://t.me/SafoneMusicBot) or `/song` command to the bot.\n- Use `/help` to know about other commands \u0026 its usage.\n\n## Requirements\n\n- Python 3.6 or higher.\n- A\n  [Telegram API key](https://docs.pyrogram.org/intro/quickstart#enjoy-the-api)\n  and a Telegram account.\n- [FFmpeg Python](https://www.ffmpeg.org/)\n- Telegram [String Session](http://t.me/genStr_robot) of the account.\n- Userbot Needs To Be Admin In The Channel or Group.\n- Must Start A Voice Chat In Channel/Group Before Running The Bot.\n\n## Run On VPS (The Hard Way)\n\n```sh\n$ git clone https://github.com/AsmSafone/RadioPlayerV2\n$ cd RadioPlayerV2\n$ sudo apt-get install python3-pip ffmpeg\n$ pip3 install -U pip\n$ pip3 install -U -r requirements.txt\n```\nEdit **config.py** with your own values.\n\n```sh\n$ python3 main.py\n```\n\n## License\n```sh\nRadioPlayerV2, Telegram Voice Chat Bot\nCopyright (C) 2021  Asm Safone \u003chttps://t.me/AsmSafone\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e\n```\n## Credits\n\n- [Asm Safone](https://github.com/AsmSafone) [Dev]\n- [Dash Eclipse](https://github.com/dashezup) [Dev]\n- [Il'ya](https://github.com/MarshalX) [For tgcalls]\n- [Subin](https://github.com/subinps) [For bot support]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAsmSafone%2FRadioPlayerV2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAsmSafone%2FRadioPlayerV2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAsmSafone%2FRadioPlayerV2/lists"}