74 lines
1.5 KiB
Markdown
74 lines
1.5 KiB
Markdown
## [Install](https://gitea.dmcraft.online/justuser/getnetradio#0-install) | [Usage](https://gitea.dmcraft.online/justuser/getnetradio#1-usage) | [Telegram](https://t.me/getnetradio) | [Updates](https://gitea.dmcraft.online/justuser/getnetradio#contact-updates) | [Realeses](https://gitea.dmcraft.online/justuser/getnetradio/releases)
|
|
|
|
|
|
-----
|
|
|
|
|
|
### 0.Install
|
|
```
|
|
#Install telegram-upload
|
|
sudo pip3 install -U telegram-upload
|
|
#Check if all works(If not,READ MESSAGE)
|
|
telegram-upload README.md
|
|
|
|
#Audio bitrate check and convert
|
|
pip3 install pydub
|
|
|
|
#INSTALL wget
|
|
# https://www.gnu.org/software/wget/
|
|
|
|
git clone https://notabug.org/Justuser/getnetradio.git
|
|
cd getnetradio
|
|
```
|
|
### 1.Usage
|
|
```
|
|
#ALL CONFIGS IN config.py
|
|
|
|
|
|
#Start(nohup and "&" for work in background)
|
|
nohup python3 main.py &
|
|
#Stop
|
|
./stop.sh
|
|
#Or just kill main.py and wget
|
|
```
|
|
|
|
|
|
|
|
-----
|
|
|
|
### Contact & Updates
|
|
|
|
###### Telegram group - https://t.me/getnetradio
|
|
|
|
###### Updates:
|
|
|
|
> 04.10.2022 - Add to notabug.org
|
|
|
|
> 05.10.2022 - Update README.md and add stop.sh
|
|
|
|
> 05.10.2022 - Migrate to gitlab.com
|
|
|
|
> 06.10.2022 - Merge st.sh and up.py, new release.
|
|
|
|
> 06.10.2022 - Add check bitrate and convert with "lame".
|
|
|
|
> 06.10.2022 - New config,more easier.
|
|
-----
|
|
|
|
|
|
#### Notes for me:
|
|
```
|
|
#Add files
|
|
git add file
|
|
git commit -m "words"
|
|
git push
|
|
#Save account
|
|
git config --global credential.helper cache
|
|
#Just http server(Wow)
|
|
python3 -m http.server
|
|
#Change repo
|
|
git push --repo=https://gitlab.com/justuser31/getnetradio
|
|
|
|
git clone --branch <branchname> <remote-repo-url>
|
|
```
|