5 Commits

Author SHA1 Message Date
dc6e5be41e
APi Exceptions & standardizing flow
Incorporating ListenBrainzAPIException into the functions.
Utilizing similar API call Exception handling for all relevant
functions.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-11-22 15:08:02 +05:30
ff2bbfcc25 Merge pull request 'Added more commands' (#2) from add_more_commands into master
Reviewed-on: #2
2025-11-21 11:03:11 +01:00
a675fc8c18
Fix Instance Creation
fix client instance initialization.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-11-21 15:29:41 +05:30
25d72680cb
Added more commands
added 2 commands that show the top tracks and albums played by a user.
There are some formatting decisions that will need to be taken.
Also the client library for the API seems exhausted. Missing some key
things. Yet to use a constructor the initialize an instance of the
client when plugin is called rather than under each function.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-11-20 14:16:46 +05:30
81c0f66cf5
Initialized and added some basic functionality
Add the token config var, couple of basic functions
to kick things off

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-11-19 02:18:57 +05:30