2011-05-05, 12:27
kiboy6 Wrote:1. Would there be any way to only get images from last.fm above a certain size?
yes, the easiest way (for me) would be to reject any images below a certain filesize.
but, as divingmule mentioned, last.fm does provide heigth/width info for all images, so checking those would also be an option.
this will lead to one problem though: what if only low-res images are available for a certain artist?
kiboy6 Wrote:2. Some skins (like BackRow) allow for a slideshow of images from an "extrafanart" folder inside the artist's folder.
adding the default fanart and/or any extrafanart images, would mean i have to copy (duplicate) them over to the folder where the script downloads the last.fm images.
i'm thinking of a different approach, that could be handled by the skin instead of the script:
- 1) if extrafanart is available, show the extrafanart slideshow
- 2) if no extrafanart is available, fallback to the last.fm artist slideshow
- 3) if neither of the above return any images, display the default fanart image.
i haven't tested this myself yet, but it may be possible.