Xbox-Classic Updated Skin Minor Bug

Discussion and development of skins for XBMC4XBOX
Post Reply
Coldly-Indifferent
Posts: 436
Joined: Thu Mar 19, 2015 4:01 am
Has thanked: 74 times
Been thanked: 56 times

Xbox-Classic Updated Skin Minor Bug

Post by Coldly-Indifferent »

I may have mentioned this before here but can't find the post if I did and that is this great skin I use by default for XBMC4Xbox still has at least one remaining annoying issue and its been bugging me recently:-

If you are playing music ripped to the HDD and have the visualizations set to be used as screensaver after a certain amount of time they kick in. All well and good but this issue occurs whether the visualizations are displaying or not, it makes no difference.

If you exit the Music menu to do something else but want to keep the music playing there's no problem.......except if you go Programs and only there. Any other main/sub-menu ie. Home, Pictures, Music itself, Video, Settings etc does not have this problem:-

When you go to Programs up pops a small preview window showing the visualizations playing.
Unwanted Visualization Preview Box.png

This wouldn't be a matter for fixing if it was not:-

a). to the left of the side menu and therefore half missing at the edge of the screen.

and

b). when you try to exit the Programs menu the screen freezes/flickers in a very odd way. The music still plays but unless you press anything but (X) to force the visualizations into full screen you're stuck. To exit you then have to stop the music allowing you to exit to Programs and back to the main menu.
Display Problem Described.png
This was not a problem with the original or at least older versions of the Xbox-Classic skin, which I have installed and still works OK with XBMC v3.5.3 but not as well as the much later updated versions.

I've looked in the skin folders for anything related to the Programs screen and visualizations and there are some possibly related .XMLs: PAL16x9 MyPrograms.xml and MyPrograms.xmlback but I really have no idea what I'm looking for let alone know how to fix it.

The mystery to me is why this problem appears just in Programs and not the other main menu folders.

Can anyone here help fix this annoying fault?
Coldly-Indifferent
Posts: 436
Joined: Thu Mar 19, 2015 4:01 am
Has thanked: 74 times
Been thanked: 56 times

Re: Xbox-Classic Updated Skin Minor Bug

Post by Coldly-Indifferent »

Bit of an update: I took a risk. Essentially I'm just a monkey with a wrench when it comes to XBMC skins. In an intermediate amateur way I know, roughly, what I'm doing when editing UnleashX skins and even its Config.xml but XBMC XMLs are way above my level. However I searched through the Xbox-Classic skin (last updated version) and I was looking for any XML involving entries for Visualisation and Programs and found those two I mentioned earlier, actually in the PAL folder not the PAL16x9 folder.

The PAL folder > MyPrograms.xml and MyPrograms.xmlback struck me as being significant with the latter pretty obviously being a backup of the original MyPrograms.xml before whatever later editing was carried out. Comparing the backup to the new MyPrograms.xml content the last control type entry: "visualisation" description: "visualisation" had been added. It also gave positioning (5/252) and size (100x100) which I guessed was for that errant Visualisations pane (see screenshot) and that it either there was some incorrect syntax or it had been incorrectly positioned on the Programs screen.

None of the other main menu options (Music, Video etc) had an entry like that so, as said, I took the risk and deleted it, backing up the existing MyPrograms.xml first of course.

Xbox-Classic skin (updated version) > PAL > MyPrograms.xml: text between the two * needs to be removed:-

Code: Select all

<window id="1">
	<defaultcontrol>50</defaultcontrol>
	<allowoverlay>yes</allowoverlay>
	<controls>
		<control type="visualisation">
			<description>visualisation</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<visible>Skin.HasSetting(VisBackground)</visible>
		</control>
		<control type="image">
			<description>background image</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>720</width>
			<height>576</height>
			<texture>background.png</texture>
		</control>
		<include>Controller_Image</include>
		<include>MasterChief_Image</include>
		<control type="multiimage">
		<description>Games Fanart Background image </description>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>720</width>
                        <height>576</height>
                        <fadetime></fadetime>
                        <imagepath background="True">F:/Fanart/$INFO[ListItem.Label].jpg</imagepath>
                        <aspectratio align="center">stretch</aspectratio>
                        <visible>IsEmpty(ListItem.Property(Fanart_Image) + IsEmpty(Fanart.Image)</visible>
                </control>
                <control type="multiimage">
                        <description>Games Fanart Background image </description>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>720</width>
                        <height>576</height>
                        <imagepath background="True">E:/Fanart/$INFO[ListItem.Label].jpg</imagepath>
                          <aspectratio align="center">scale</aspectratio>
                          <fadetime>400</fadetime>
                </control>
		<include>XBMC_Logo_Image</include>
		<control type="label">
			<description>my programs text label</description>
			<posx>242</posx>
			<posy>70</posy>
			<label>0</label>
			<font>font14</font>
			<textcolor>yellow</textcolor>
			<shadowcolor>black</shadowcolor>
			<include>Slide_From_Left_Animation</include>
		</control>
		<control type="label" id="12">
			<description>number of files text label</description>
			<posx>225</posx>
			<posy>525</posy>
			<label>-</label>
			<font>font13</font>
			<textcolor>yellow</textcolor>
			<include>Slide_From_Right_Animation</include>
		</control>
		<control type="group" id="9000">
			<include>Slide_From_Left_Animation</include>
			<posx>45</posx>
			<control type="image">
				<description>panel</description>
				<posx>0</posx>
				<posy>115</posy>
				<height>250</height>
				<width>150</width>
				<texture>panel.png</texture>
			</control>
			<control type="image">
				<description>Middle panel Bar</description>
				<posx>0</posx>
				<posy>190</posy>
				<height>20</height>
				<width>150</width>
				<texture>middle-bar.png</texture>
			</control>
			<control type="button" id="2">
				<description>view as icons button</description>
				<posx>5</posx>
				<posy>120</posy>
				<label>100</label>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>99</onup>
				<ondown>3</ondown>
				<texturenofocus>-</texturenofocus>
			</control>
			<control type="button" id="3">
				<description>sort by button</description>
				<posx>5</posx>
				<posy>157</posy>
				<label>103</label>
				<onleft>50</onleft>
				<onright>4</onright>
				<onup>2</onup>
				<ondown>98</ondown>
				<texturenofocus>-</texturenofocus>
			</control>
			<control type="togglebutton" id="4">
				<description>sort asc</description>
				<posx>130</posx>
				<posy>167</posy>
				<label>-</label>
				<onleft>3</onleft>
				<onright>50</onright>
				<onup>2</onup>
				<ondown>98</ondown>
			</control>
			<control type="button" id="98">
				<description>Game Saves Button</description>
				<posx>5</posx>
				<posy>215</posy>
				<label>20323</label>
				<onclick>ActivateWindow(35)</onclick>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>3</onup>
				<ondown>99</ondown>
				<texturenofocus>-</texturenofocus>
			</control>
			<control type="button" id="99">
				<description>Game Preview</description>
				<posx>5</posx>
				<posy>252</posy>
				<label>Game Preview</label>
				<onclick>xbmc.playmedia(F:/Fanart/$INFO[ListItem.Label].xmv</onclick>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>98</onup>
				<ondown>2</ondown>
				<texturenofocus>-</texturenofocus>
			</control>
                              * <control type="visualisation">
				<description>visualisation</description>
				<posx>5</posx>
				<posy>252</posy>
				<width>100</width>
				<height>100</height>
			</control> *
		</control>
		<include>ListItemIcon</include>
		<include>OldCommonListView</include>
		<include>ProgramsCommonListView</include>
		<include>AllViewCommonThumbSmall</include>
		<include>AllViewCommonThumbLarge</include>
		<include>VideoDVDWrapView</include>
		<include>WideIcon_Small</include>
		<include>WideIcon_Big</include>
		<include>AllCommonPageControls</include>
	</controls>
</window>



Apparently it worked. No Visualisations pane appears on the Programs' screen when music is playing but you can enable full screen Visualisations in the normal way if you want (pressing X) and exit to and from Programs no problem.

Why introducing that mini-preview pane for Visualisations caused the display problem (see second screenshot) I described when trying to exit the Programs pages I have no idea. Explanation?

What concerns me is that the editing of this XML also includes options for a Game Preview XMVs which look as though they are set up to use a path from F:\Fanart. I've not used Game preview XMVs with XBMC but it was something I was considering. The problem is the positioning info shown is exactly the same as for the Visualisations.

Has anyone here had experience using previews with the Xbox-Classic skin?

BTW I wanted to highlight or re-colour the specific section of the XML Code posted that needed removing to make it clearer like this:-

<control type="visualisation">
<description>visualisation</description>
<posx>5</posx>
<posy>252</posy>
<width>100</width>
<height>100</height>
</control>


how do you do that in this forum if it is possible?
Post Reply