AIMP Forum

AIMP for PC => Дополнения / Addons => Разработка / Development => Topic started by: Moshi0 on August 31, 2018, 20:33:16

Title: How to provide album art for custom music library
Post by: Moshi0 on August 31, 2018, 20:33:16
It seems like both AlbumArtProviders are useless with a custom music library without using additional cache.
You cant always figure out album art location from just FileURI or FileInfo.

Since music libraries work around fields, can we have a third AlbumArtProvider that passes something that can query FieldName and Value from a given file?

Basically I have to either add additional cache (FileURI->AlbumURI) and pass it around the plugin which is very ugly, or get access to "ID" field or one of my internal fields.
Title: Re: How to provide album art for custom music library
Post by: Artem on August 31, 2018, 21:31:32
I afraid, one way now is provide album art based on FileURI of first record in a group. I will think about the solution for new version of player.
Title: Re: How to provide album art for custom music library
Post by: Moshi0 on September 06, 2018, 02:16:07
Nice! Are you planning on releasing a new version any time soon?
Title: Re: How to provide album art for custom music library
Post by: Artem on September 06, 2018, 08:40:44
Nice! Are you planning on releasing a new version any time soon?

No
Title: Re: How to provide album art for custom music library
Post by: Moshi0 on September 08, 2018, 03:42:44
No

:(

You mean new version as in v5.0 or next v4.5x?
Title: Re: How to provide album art for custom music library
Post by: Artem on September 08, 2018, 09:15:07
You mean new version as in v5.0 or next v4.5x?

Next version will be v4.60, but I have no idea when it will be done.