We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cc279a commit b69f2caCopy full SHA for b69f2ca
1 file changed
beetsstatistics.py
@@ -407,6 +407,9 @@ def get_albums_not_in_mb(self):
407
raise DBQueryError from e
408
409
def get_recently_added_albums(self):
410
+ """
411
+ Query and return the newest album added to the database.
412
413
try:
414
cursor = self.get_db_connection().cursor()
415
query = """select
@@ -422,7 +425,8 @@ def get_recently_added_albums(self):
422
425
items i on
423
426
i.album_id = a.id
424
427
where
- album_id is not null
428
+ a.album_id is not null and
429
+ a.album != ''
430
group by
431
i.album_id
432
order by a.added desc
0 commit comments