szsori Wrote:Instead, I'll be handling the additional bandwidth in other ways:
1. Giving API access to the thumbnails for all artwork. We already generate thumbnails to display everything on the site, so why not make them available so client software doesn't need to download the full fan art to display when they're just having the user select which image they want.
Sounds good.
Quote:2. Finally, the creation of mirrors. I have the code mostly done, so it's just a matter of finishing it up and getting some mirrors set up. Initially the mirrors will be set up to hold only the zip files and art, to keep it simple. Instead of relying on the mirrors API that I don't think the XBMC scraper uses, I'll probably just modify my htaccess files for each section so they randomly redirect to a mirror for every file. Slightly more CPU usage, but far more effective than relying on clients to properly select a mirror. I just have to figure out if it'll actually work that way.
Please let us know when the mirroring stuff is working. Once you have it working I do plan to help you out by setting up a mirror.
Quote:3. Compression of all fan art as zipfiles. Since we're allowing access to the thumbnails so people can see the image, I can zip the full size image to reduce bandwidth. The 3 big users (XBMC, Media Portal, Meedio) can all handle pulling content from zip files, so it should help.
Why not make the images PNG or JPG files so they don't take up so much room. I mean they are background images after as you state below.
Quote:4. All fan art will be 1280x720. I understand that some people are using 1080 resolution (p vs i doesn't matter with the file resolution, btw), but IMHO 1280x720 graphics scale pretty well to 1920x1080 resolution, especially considering these are background images. We may support 1080 resolutions in the future, but only once I have a number of mirrors set up. People will hate me for this and stand outside my house with pitchforks, but that's life.
For what its worth I agree 200%. I'm sorry guys but 720p is just plain fine. The 1080p bandwagon is really a waste. Visually its such a small difference...
Quote:@agathorn:
A predefined list of colors makes no sense to me, since an image that has green in it won't necessarily look right with a green used by the skin. In fact, in most cases it would probably look worse than if the skin had remained in its default color. I'll be storing the colors as I indicated above, except I'll rearrange them so they go lightest to darkest. That should allow software to select the lightest and darkest matching colors to use. If XBMC decides to use this, that's great. But if not I think skins can just remain in their default color scheme and it'll still look nice (Aeon does this without any trouble).
Ok I can agree with you here. It was more an attempt to be able to do more than what we could without the predefined, but I have come over to your side. Its better your way. Have you decided how they will be stored? From the XBMC perspective, the best would be ARGB hex values.
Quote:@jmarshall:
As I told agathorn, I don't think implementing the colors is 100% necessary. As for displaying stuff over important areas on the background image, that may happen. I could ask the art submitter to specify if the main content is left, right, center, or none. Then the script/scraper/etc that pulls the fanart down could just pull down the images with that user's setting. This setting could probably be put in the TheTVDB scraper settings right next to the language and accountid.
I think thats a DAMNED good idea. Or perhaps (or maybe in conjunction with) have a field in the fanart data that indicates the layout then the skin can use that to put the UI elements in the right spot automatically. Not hard for a skin to do.
Quote:The other easier option is to just have people select images that will work well with their skin. If you display the fan art they can choose from, they'll just be able to select one that has the content positioned in the right spot.
My main concern: If these are pulled down with the scraper, how will people select the image they want? Right now the image selection stuff for each record is handling the banner stuff. Can XBMC allow people to select 2 images for each series, or will that fall onto a script to handle?
Let's not worry too much about that at this point. Once we start getting support for the fanart stuff in there, i'm sure the momentum will follow it through to get it polished up. When I code up the basic support for this i'm going to allow it to work with local fanart data in addition to stuff pulled from online.
So here's what i'm going to do. This week i'll start getting things coded up to allow expansion of infolabels in some of the critical areas, so that colors can be handled. After that is in place, i'll get in support for displaying the fanart images.
Like I said this will take me a few weeks to do as its in my already precious spare time, but this is something I want so i'm stepping up to get it done.
Scott I want to thank you for being supportive of this, and bearing with my rather annoying habit of talking things to death and playing devil's advocate.
In a nutshell if we can get a fanart dataset from TVDB that contains:
- Backdrop image
- Scheme colors, in hex ARGB if possible (Not sure how many colors would be good. Right now i'm mainly seeing this as choices for things like text colors)
- Layout as you talked about would be nice to have as well, though not sure the best way to quantify it at this point.