update readme

This commit is contained in:
cwilvx
2025-03-16 00:00:35 +03:00
parent 08fc79150c
commit 7bf7c34539
4 changed files with 50 additions and 13 deletions
+3
View File
@@ -52,6 +52,7 @@ def get_artist(path: ArtistHashSchema, query: GetArtistQuery):
Returns artist data, tracks and genres for the given artisthash.
"""
print(query)
artisthash = path.artisthash
limit = query.limit
@@ -68,6 +69,8 @@ def get_artist(path: ArtistHashSchema, query: GetArtistQuery):
if artist.albumcount == 0 and tcount < 10:
limit = tcount
print(limit)
try:
year = datetime.fromtimestamp(artist.date).year
except ValueError: