mirror of
https://github.com/danog/magnaluna.git
synced 2024-11-30 04:19:16 +01:00
21 lines
747 B
Markdown
21 lines
747 B
Markdown
|
# magnaluna webradio
|
||
|
|
||
|
Telegram webradio with advanced features like call programming and real-time call stats based on [MadelineProto](https://github.com/danog/MadelineProto) and [libtgvoip](https://github.com/danog/php-libtgvoip).
|
||
|
|
||
|
Created by Daniil Gentili (https://daniil.it).
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```
|
||
|
wget https://github.com/danog/magnaluna/raw/master/magna.php && php magna.php
|
||
|
```
|
||
|
|
||
|
Don't forget to install the [required dependencies](https://docs.madelineproto.xyz/docs/REQUIREMENTS.html) for MadelineProto.
|
||
|
|
||
|
## Converting songs
|
||
|
|
||
|
In order to play songs, they must be first converted to raw PCM format (support for OGG OPUS files will be added soon):
|
||
|
|
||
|
```
|
||
|
ffmpeg -i anyaudioorvideo.mp3 -f s16le -ac 1 -ar 48000 -acodec pcm_s16le mysong.raw
|
||
|
```
|