How to query the last (latest) albums added to the DB?

Need help with MPD?
Post Reply
MrZammler
Posts: 2
Joined: October 25th, 2018, 4:59 pm

How to query the last (latest) albums added to the DB?

Post by MrZammler » October 25th, 2018, 5:06 pm

Hi.

I'm looking for a way to query mpd for the last added albums/tracks, etc, but I haven't found something relevant while searching.

Is it possible? I tried with mpc some query commands, but can't really figure it out.

Thanks!

max
Forum team
Posts: 853
Joined: January 15th, 2013, 3:43 pm

Re: How to query the last (latest) albums added to the DB?

Post by max » October 25th, 2018, 8:46 pm

MPD doesn't remember when something was added to the database, so it's impossibly to query for that. But you can search by file modification time, maybe that's good enough for you?

MrZammler
Posts: 2
Joined: October 25th, 2018, 4:59 pm

Re: How to query the last (latest) albums added to the DB?

Post by MrZammler » October 26th, 2018, 6:26 am

Hi max, thanks for your reply.

I'll try the file modification time (that could also be extracted by the filesystem possibly).

Regarding the recording of the date/time added to the db, do you think it would be a useful feature to add to mpd?

Post Reply