Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deep5050/smart-radio
Play Online Radios From The Terminal with song information !!
https://github.com/deep5050/smart-radio
automation automation-scripts automation-selenium cli cli-app gaana online-radio-platform radio radio-station selenium selenium-python selenium-webdriver songs
Last synced: 11 days ago
JSON representation
Play Online Radios From The Terminal with song information !!
- Host: GitHub
- URL: https://github.com/deep5050/smart-radio
- Owner: deep5050
- License: mit
- Created: 2021-04-23T16:36:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-28T06:13:22.000Z (over 3 years ago)
- Last Synced: 2023-03-06T06:36:58.139Z (over 1 year ago)
- Topics: automation, automation-scripts, automation-selenium, cli, cli-app, gaana, online-radio-platform, radio, radio-station, selenium, selenium-python, selenium-webdriver, songs
- Language: Python
- Homepage:
- Size: 83.2 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### For the same app with low memory usage check [RADIO-ACTIVE](https://github.com/deep5050/radio-active)
SMART - RADIO
Play online radios from terminal (on RaspBerry Pi too) and save songs information to check them later
### Why use?
1. Play radio from the terminal! why not?
2. Save songs information as a text file so that you don't have to open the shazam app every time to recognize unknows songs :tada:
3. Play radio from invisible browser
4. Can be run on a CLI based OS like RaspBerry Pi :cool:### Sources
#### 1. [**Gaana.com**](https://gaana.com/radio/)
#### Stations
| Name | ID | Provider |
| ------------------------- | ------------------ | -------- |
| Mirchi Pehla Nasha | pehla_nasha | Gaana |
| Meethi Mirchi | meethi_mirchi | Gaana |
| Mirchi English Love | english_love | Gaana |
| Mirchi English Retro Hits | english_retro_hits | Gaana |
| Mirchi Toota Dil | toota_dil | Gaana |
| Mirchi 90s Bollywood Hits | mirchi_90s | Gaana |
| Mirchi Rabindra Sangeet | rabindra_sangeet | Gaana |
| | | |More coming soon .....
### Example
``` bash
(.venv) deep@lubuntu:~/Desktop/smart-radio$ python smart-radio.py --station mirchi_90s
i | Starting radio: Mirchi 90s
i | Playing now
i | Song => title: Jane De,jane De,mujhe Jane De, artist(s)/album: Shola Aur Shabnam
i | Song => title: Pehli Baar Mile Hain, artist(s)/album: Saajan
i | Song => title: Chalte Chalte, artist(s)/album: Mohabbatein
i | Song => title: Hum Aapke Dil Mein Rehte Hain, artist(s)/album: Hum Aapke Dil Mein Rehte Hain
i | Song => title: Odh Li Chunariya Tere Naam Ki, artist(s)/album: Pyaar Kiya To Darna Kya
i | Song => title: Rimjhim Rimjhim, artist(s)/album: 1942 A Love Story
i | Song => title: Deewane To Deewane Hain, artist(s)/album: Deewane To Deewane Hain
```### Install
#### Linux
1. Clone this repository `git clone https://github.com/deep5050/smart-radio.git && cd smart-radio`
2. (Optional) Create a virtual python environment `python3 -m venv .venv` and activate it `source .venv/bin/activate`
3. Install Dependencies `pip install -r requirements`
4. Install latest chrome and chromedriver `bash chrome.sh`
5. Add to ENV PATH `source sourcefile`
6. Run `python smart-radio --station [STATION_ID]`#### Windows
1. Clone this repository `git clone https://github.com/deep5050/smart-radio.git && cd smart-radio`
2. (Optional) Create a virtual python environment `python3 -m venv .venv` and activate it `source .venv/bin/activate`
3. Install Dependencies `pip install -r requirements`
4. Make sure you have chrome installed and download chromedriver from [here](http://chromedriver.chromium.org/downloads) , unzip and place chromedriver.exe under `driver/`
5. Add driver path to system ENV
5. Run `python smart-radio --station [STATION_ID]`#### MAC
I'm not that rich LOL :smile:
Must be same !### License
MIT License
Copyright (c) 2021 Dipankar Pal
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.## Acknowledgements
### Icons
Happy Listening