2019-10-28 19:26:45 +01:00
# magnaluna webradio
2019-10-28 19:34:33 +01:00
[![Build Status ](https://travis-ci.org/danog/magnaluna.svg?branch=master )](https://travis-ci.org/danog/magnaluna)
2019-10-28 19:26:45 +01:00
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 ).
2019-10-28 19:35:39 +01:00
![Screenshot ](https://github.com/danog/magnaluna/raw/master/screenshot.png )
2019-10-28 23:50:14 +01:00
Try it on Telegram [@magnaluna ](https://t.me/magnaluna )!
2019-10-28 19:44:33 +01:00
Created by [Daniil Gentili ](https://daniil.it ).
2019-10-28 19:26:45 +01:00
## 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
2019-10-28 19:34:33 +01:00
```