A simple python app to sync your telegram profile with your spotify/LastFM account
- Make sure you have a telegram API KEY and HASH from here
- Get your API ID/KEY and API SECRET from the service you want to use Spotify or LastFM
- Use Spotify over LastFM when possible. LastFM doesn't have a way to tell when a song stops playing so the playing song will be cached for 4-5 minutes.
- Clone the repo using git:
$ git clone https://github.com/nitanmarcel/MusicGram && cd MusicGram
- Install the pip requirements:
pip3 install -r requirements.txt
- Open the
musicgram/constants.py
file with your favorite editors and configure the app with the required credentials. - Finally start your app:
python3 -m musicgram
- If you plan on using LastFM you don't have to worry about anything and you can skip this.
- If you're planing on using Spotify and upload this app on heroku, please make sure you already started the app one locally.