Try it on Telegram @magnaluna!
Created by Daniil Gentili.
wget https://github.com/danog/magnaluna/raw/master/magna.php && php magna.php
Don't forget to install the required dependencies for MadelineProto.
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