Repository navigation
v1.1.0 - Added User queue and improved performance / errors
Added new functionality to show the current user queue. This can be shown by clicking dropdown button. The next 3 songs are then shown in 'Real-Time' (every 3 seconds).
Heavily reduced load on Spotify API by making synchronized get functions which only request every 2 (current Song) and 3 (queue songs) seconds.
Dependency Updates:
- Upgraded project version from
1.0.8to1.1.0inpom.xml. - Added
lombokdependency inpom.xmlto simplify code with annotations.
Error Handling Improvements:
- Replaced specific exception handling with a general
Exceptioncatch block and improved error logging inAuthenticationURI.javaandSpotifyAPIConnector.java. [1] [2] - Updated
SearchRequest.javato useConsole.printErrorfor consistent error logging. [1] [2] [3]
New Features:
- Introduced
SongObjectclass to represent song details, withlombokannotations for getters, setters, and constructors. - Added methods in
SpotifyHandler.javato fetch and cache Spotify queue asSongObjectinstances.
Code Cleanup:
- Removed unused imports and methods in
SpotifyAPIConnector.javaandAuthenticationURI.java. [1] [2] [3] - Deleted
ConsoleCommandHandler.javaas it was no longer needed.
Additional Changes:
- Enhanced
Main.javato handle application startup state and integrate the new queue fetching feature. [1] [2] [3]