Mosaic Cant Show Image

Discussion and development of skins for XBMC4XBOX
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Mosaic Cant Show Image

Post by NOTTHESAME »

hey everyone i been trying to get a image to preview when trying to select a wallpaper for the skin, the issue is it wont show.
can anyone point out whats the issue? can someone please help me, i have ran into this kind of issue so its new to me thanks :)

now this works in profile settings, song info and others etc, but not in this area

https://github.com/xbs08/Mosaic/blob/ma ... rowser.xml <===== heres the filebrowser file

Image
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

Hey, try replacing lines 136 and 148 with (respectively):

Code: Select all


136...<texture>$INFO[ListItem.Icon]</texture>

148...<texture flipx="true">$INFO[ListItem.Icon]</texture>

and lines 140 and 152 both with:

Code: Select all

<visible>ControlGroup(450).HasFocus</visible>

OR IF THAT DOESN'T WORK

<visible>Control.HasFocus(450)</visible>
Worth a shot ;)
User avatar
Spongy
Posts: 97
Joined: Sun Jul 08, 2012 5:11 am
Has thanked: 16 times
Been thanked: 18 times

Re: Mosaic Cant Show Image

Post by Spongy »

I'm a noob skinner compared to you guy's, but my first instinct was to move it into the <focusedlayout> section of the list control.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

That will work for the little thumbs in the list...ie a tiny icon next to the label. I was guessing that NOTTHESAME was referring to the big image when he mentioned "preview." It's 200x240 with a reflection...if you try to put that into the focusedlayout (or itemlayout) every item will show a 200x240 image, and they would be confined into the parameters of the list only. Not sure exactly what he was going for, just taking a stab at it ;) Also, my guess is based on the fact that we don't support [Container(ID).ListItem.Icon] afaik but I could be mistaken...
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

byron wrote:Hey, try replacing lines 136 and 148 with (respectively):

Code: Select all


136...<texture>$INFO[ListItem.Icon]</texture>

148...<texture flipx="true">$INFO[ListItem.Icon]</texture>

and lines 140 and 152 both with:

Code: Select all

<visible>ControlGroup(450).HasFocus</visible>

OR IF THAT DOESN'T WORK

<visible>Control.HasFocus(450)</visible>
Worth a shot ;)
no luck dang, the first one didn't do anything, then the second just froze the skin and xbox, had to reboot, I ran out of ideas I had others try to help but no luck, by the way I forgot to list this,this works with profile image and song info, when choosing a thumb for your front cover, example songs,albums, movies, it seems not to be working here wallpapers, strange huh.

thank you Byron for the info, this is just a mystery to me but if you or someone out there has the answer I been on this for a month now, got any more ideas Byron?

@spnogy thanks anyways spongy but I wanted the image on the right side of the screen, if you got any ideas also please share :)

edited: so I tried the contral.hasfoucus and controlgroup both crash the skin.
Last edited by NOTTHESAME on Wed May 21, 2014 7:18 pm, edited 1 time in total.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

If you want to post or PM a link so I can get a copy of the skin, I can probably have it working in no time...up to you buddy.
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

let me try it once more I think I had a little error with my eyes lol I left something then ill get back to you, heres the skin link
https://www.dropbox.com/s/nc13q3scytfxr1g/Mosaic.zip I had fixed aloto f stuff but this is not the one with the fixed or needed skin stuff, like yes and no was no and yes but its not included in this version of the skin, I think I had like weather and location only.

thanks for helping out buddy

edited: try number 2 no luck dang
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

byron wrote:If you want to post or PM a link so I can get a copy of the skin, I can probably have it working in no time...up to you buddy.
check your pm
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

Okay, so I was halfway right...all you have to do to get it working is replace both instances of:

>$INFO[Container(450).ListItem.Icon]<

---INTO---

>$INFO[ListItem.Icon]<

and then it works...also, I don't know if our platform supports the reflection button id="416" --- I tried looking on the wiki for the List Of Built In Controls (which lists all predisposed controls for any given window), but it wasn't there. It's definitely an option on mainline, but don't think it works for us...at any rate, that should work for ya.
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

I replaced both of the areas with what you told me but still nothing can you send me the filebrower.xml? please thanks
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

Okay, so let's make sure we're on the same page...is this the image you're not able to see?
screenshot000.jpg
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

yeah that's the image I cant see, nor the images I want to use as a wallpaper, it shows well in other areas for some reason.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

So if you were looking at the same page as I am here (right when the window opens), can you see the image?
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

you went into filemanager to add a share smb/add source in other words, but yes no image

Image

Image

Image
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

Ok, do you have another build that you can copy this skin into to test with the file I uploaded? That might work...when you start to ftp a lot of files sometimes things just go wrong and are broken for good. So if you have another xbmc4xbox build I would sugest copying your work there next (not while xbmc is running btw) and see what happens...
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

yes I have 2 other builds just setting aside, what should happen when I try this on another build?

edited : I send the skin to my new build but the same issue seems to come up again.

i used 3.5.3 let me go down a build see what happens i was on 3.5.4

edited 3:06pm used 3.5.b2 and b3 and i use right now b4
its still the same
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

Hmmm, dunno...let me ponder it for a bit and I'll get back to you, got some things to take care of atm. Too bad that didn't work.
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Mosaic Cant Show Image

Post by NOTTHESAME »

no worries take care of your stuff, take your time, i can wait, i know its not gonna be something hard also lol but the answer is there.
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Mosaic Cant Show Image

Post by byron »

Okay, so I took the code from the link in the OP and copied it over to the version of Mosaic that you uploaded for me earlier today and the image shows up with no change to the code whatsoever. I feel a little silly, I should have checked that first (apparently $INFO[Container(450).ListItem.Icon] is acceptable :? )...but there's nothing wrong with the original FileBrowser.xml that you posted up top. So...something's wrong on your end, but I can't really say what's causing the images not to show up on your box.

Does anything show up on a debug log by chance? I noticed the small thumbs aren't showing up in the screenshots either...maybe something with textures.xpr? If you compress things too much sometimes they just don't show up at all, so if you did some changes there you might try temporarily replacing your lighter .xpr with the original and see if that at least gets you something (after you back up the one you've been working on).

Also, if you've been using another skin with themes (and have changed the theme) and then change to a skin without themes, not all textures always show up. If that's the case, go into appearance settings and change the skin theme back to default and see if that takes care of it...
Post Reply