mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
hide "new" on artist report for all time period
This commit is contained in:
@@ -233,7 +233,7 @@ def get_top_artists(query: ChartItemsQuery):
|
|||||||
return {
|
return {
|
||||||
"artists": response,
|
"artists": response,
|
||||||
"scrobbles": {
|
"scrobbles": {
|
||||||
"text": f"{new_artists} new artist{'' if new_artists == 1 else 's'} played",
|
"text": f"{new_artists} {'new' if query.duration != 'alltime' else ''} {ngettext('artist', 'artists', new_artists)}",
|
||||||
"trend": scrobble_trend,
|
"trend": scrobble_trend,
|
||||||
"dates": format_date(start_time, end_time),
|
"dates": format_date(start_time, end_time),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user