/oe3-song-announcer

Notifies the user via Telegram, if a song by a specific artist is played.

Primary LanguagePythonMIT LicenseMIT

Ö3 song announcer

A small Python application that will notify its users via Telegram, when a song by a specific artist is played on Ö3.

The official instance is available under https://t.me/OE3SongAnnouncerBot. It will notify you, when a song by BTS is played.

Installation

  • Install requirements
  • Create a Telegram Bot by contacting BotFather
  • Rename config.ini.example to config.ini
  • Copy API Token to config file
  • Add artists that should trigger the notification to config file
  • Start with python oe3_song_announcer.py

Authors

License

MIT License

Copyright (c) 2018 Rene Hollander

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.