Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
botify 1.6.4.tar.gz | 2019-09-10 | 278.1 kB | |
botify 1.6.4.zip | 2019-09-10 | 429.2 kB | |
README.md | 2019-09-10 | 2.1 kB | |
Totals: 3 Items | 709.3 kB | 0 |
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