Re: [Tracker] Tracker-extract: MaxAlbumartWidth patch



On 19/01/12 07:05, Kiran Bhide (RBEI/ECP2) wrote:
Hello,

Hello Kiran,

I needed a fix for restricting albumart width, so thought of adding it
to tracker-extract config.
This saves some HMI load time when albumarts are of high resolution!
Patch...
- Creates a new config option in tracker-extract.cfg - "MaxAlbumartWidth=0"
- By default, it doesn't affect the current albumart save functionality
- When set to a value > 0, while saving albumart, tracker-extract
reduces the width (if greater) to the specified value, maintaining the
aspect ratio.
- Valid values: 0 to 2048
Hope it will be useful to somebody !

Nice patch, i've been meaning to add this for a while now. I refactored it and it's now in master and should be in the next 0.14 release.

I called it max-media-art-width and also allowed -1 to disable extraction of that all together. I believe that's been asked after before.

Thanks again,

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]