From b7ac92d0e2272b7e6ade6e74e2b22add6a14821d Mon Sep 17 00:00:00 2001 From: Rob Miller Date: Sun, 28 Sep 2025 01:12:45 -0700 Subject: [PATCH] Fix albums count `albums_paginated` was using `get_artists_count` instead of `get_albums_count` --- tidalapi/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidalapi/user.py b/tidalapi/user.py index 5249984..c99e374 100644 --- a/tidalapi/user.py +++ b/tidalapi/user.py @@ -618,7 +618,7 @@ def albums_paginated( :param order_direction: Optional; A :class:`OrderDirection` describing the ordering direction when sorting by `order`. eg.: "ASC", "DESC" :return: A :class:`list` :class:`~tidalapi.album.Album` objects containing the favorite albums. """ - count = self.session.user.favorites.get_artists_count() + count = self.session.user.favorites.get_albums_count() return get_items( self.session.user.favorites.albums, count, order, order_direction )