Skip to content

botify 1.6.4

Compare
Choose a tag to compare
@robinfriedli robinfriedli released this 10 Sep 22:35
· 339 commits to releases/v1.6 since this release

album covers, automatic Spotify track selection, automatic playback cleanup and other improvements

  • when searching a Spotify track, botify now automatically picks the best result based on the likeness of the track names, track popularity and how popular each artist is in this guild
    • a selection of spotify tracks to choose from can now be fetched using the refactored "select" (formerly "limit") argument
    • the refactored "select" argument also does not necessarily require a value anymore but uses 10 (for YouTube) or 20 (for Spotify) as default value
  • added album covers to the queue and "now playing..." widgets for Spotify tracks
  • added a periodic task that resets playback settings and queues after an hour of inactivity to preserve resources and ensure long term stability
    • created framework to implement such tasks as cron jobs
  • questions now get deleted when they are answered or otherwise destroyed either by timing out or being replaced by a different question and "still loading..." messages disappear once the reference command is finished
  • other improvements and fixes
  • backend improvements:
    • Launcher: make sure all guilds are setup within one session instead
      of opening and closing a new one for each by wrapping the loop
      inside one StaticSessionProvider#invokeWithSession call to make sure
      a thread session is setup and closed after all guilds are done
      • also setup guilds before running the startup tasks as some might
        require a guild context which meant guilds were set up twice,
        once implicitly when needed in the task and once explicitly when
        setting up the guilds later
    • VersionUpdateAlertTask: make sure all guilds are handled within one
      session instead of opening and closing one for each when sending an
      update alert to each guild
  • added number of currently active guilds to the analytics command
  • when loading playlists videos that were originally redirected Spotify tracks are now loaded and treated as Spotify tracks using the new BulkOperationService