Update music_app.py and readme.md with improvements

This commit is contained in:
sHa
2024-04-05 15:37:35 +03:00
parent 90bd6c66ab
commit 7b04f96fcf
2 changed files with 6 additions and 3 deletions

View File

@@ -14,7 +14,9 @@ This is a Python application that fetches the currently playing track from eithe
- Mattermost
## Environment Variables
`MUSIC_APP`: This variable determines which music service the application will fetch the currently playing track from. It can be either `apple_music` or `spotify`.
`MUSIC_APP` - This variable determines which music service the application will fetch the currently playing track from. It can be either `apple_music` or `spotify`.
`MATTERMOST_SERVER_URL` variable represents the URL of the Mattermost server.
`MATTERMOST_ACCESS_TOKEN` the access token for the Mattermost API, which is obtained by generating a personal access token from the Mattermost user settings and is used to authenticate and authorize API requests to the Mattermost server.
## How to Run
1. Clone the repository