Is there a way to list recently imported albums?

I’d like to look also for recently changed albums, songs, etc
I’d greatly appreciate if anyone knows.

1 Like

Try the following:

[unix]
beet ls -f '$mtime - $added - $artist - $year - $album - $track - $title' | sort -r | less

[windows]
beet ls -f "$mtime - $added - $artist - $year - $album - $track - $title" | sort /R | more

This lists the entire database and then reverse sorts the output based on the time the file was changed and when it was added.

mtime is the required field to query it only exists at the item/track level

Hope this helps.

edit. Fix windows command

1 Like

This is a fantastic answer, @arogl.

@arogl That’s great idea! Thanks man for input.
I have configured it differently though as I wanted it be more quick and robust.

Added configuration:

plugins: types 
types:
    added: date

time_format: '%Y-%m-%d'

Then I’m using:
beet ls added:2020-07-30..2020-08-02 -a

The added field time only is when your files have been added to the database.

The mtime field is when anything was updated, via importing or mbsync.

I suggest the ImportFeeds plugin to create a playlist of all imports. I find it’s a great way to play music and search all my recent imports.