Latest Media Facade - Some help in gettting this to work (1 Viewer)

Mr. V

Portal Pro
September 15, 2007
150
164
Brisbane
Ok this has been doing my head in. Im not sure what I am missing here but some help would be great.

So I created a xml named BasicHome.recentlyaddedMusicFacade.xml and added a line to import the xml into the basic home.

Code:
<?xml version="1.0" encoding="utf-8"?>
<window>
		<controls>
				<control>
						<animation effect="fade" start="100" end="0" time="200" reversible="false">Hidden</animation>
						<animation effect="fade" start="0" end="100" delay="150" time="400" reversible="false">Visible</animation>
						<animation effect="fade" start="0" end="100" time="300" delay="350">WindowOpen</animation>
						<animation effect="fade" start="100" end="0" time="0" delay="0">WindowClose</animation>
						<type>facadeview</type>
						<id>919199970</id>			 
						<control>
								<description>Filmstrip view</description>
								<type>filmstrip</type>
								<dimColor>90ffffff</dimColor>
								<id>919199970</id>
								<scrollOffset>3</scrollOffset>
								<folderPrefix/>
								<folderSuffix/>
								<posX>100</posX>
								<posY>150</posY>
								<width>1720</width>
								<height>500</height>
								<onup>919199970</onup>
								<ondown>919199970</ondown>
								<onleft>919199970</onleft>
								<onright>919199970</onright>						   
								<thumbWidth>176</thumbWidth>
								<thumbHeight>252</thumbHeight>
								<thumbPosX>14</thumbPosX>
								<thumbPosY>16</thumbPosY>
								<itemWidth>208</itemWidth>
								<itemHeight>280</itemHeight>
								<textureWidth>204</textureWidth>
								<textureHeight>280</textureHeight>
								<textYOff>0</textYOff>
								<imageFolderFocus>-</imageFolderFocus>
								<frame>-</frame>
								<frameFocus>-</frameFocus>
								<background>-</background>
								<scrollOffset>2</scrollOffset>							 
								<showFrame>yes</showFrame>
								<showFolder>no</showFolder>
								<showBackGround>no</showBackGround>
								<showInfoImage>no</showInfoImage>
								<scrollbarBackground>-</scrollbarBackground>						   
								<scrollbarBackground>scrollbar_bg.png</scrollbarBackground>
				<scrollbarLeft>scrollbar_left_hor.png</scrollbarLeft>
				<scrollbarRight>scrollbar_right_hor.png</scrollbarRight>
								<scrollbarWidth>630</scrollbarWidth>
								<scrollbarHeight>5</scrollbarHeight>
								<scrollbarYOff>487</scrollbarYOff>
								<thumbAnimation effect="zoom" start="100,100" reversible="false" end="108,111" center="0,430" time="200">focus</thumbAnimation>
								<thumbAnimation effect="zoom" start="108,111"  reversible="false" end="100,100" center="0,430" time="100">unfocus</thumbAnimation>			   
								<visible allowhiddenfocus="true">string.equals(#recentMedia, Music) + ![control.isvisible(601) | control.isvisible(501)] + ![Control.HasFocus(551) | Control.HasFocus(552) | Control.HasFocus(553) | Control.HasFocus(554) | Control.HasFocus(555) | Control.HasFocus(651) | Control.HasFocus(652) | Control.HasFocus(653) | Control.HasFocus(654) | Control.HasFocus(655) | Control.HasFocus(12) | Control.HasFocus(13) | Control.HasFocus(14) | Control.HasFocus(99999)] + string.equals(#latestMediaHandler.music.latest.enabled,true)</visible>
						</control>
				</control>
		</controls>
</window>

I then clear the cache and load mediaportal. The façade is shown on screen when music is selected. If I then go into the music section(or any other screen) and then return to the home screen the façade disappears. The only way to make this appear again is to close mediaportal and clear the cache.

Got to be something simple I am missing.
 

mrbonsen

Super User
  • Team MediaPortal
  • Super User
  • December 6, 2008
    6,485
    853
    Brensbach (HE) ehemals Görlitz
    Germany Germany
    Country flag
    extendet version ? (music) iss still in the editor titan editor or integrated adjustable.
    or it comes - in all homescreen views "latestmedia music" display?
    otherwise. . . how did you get that "visible" values​​? do not agree.
     
    Last edited:

    Mr. V

    Portal Pro
    September 15, 2007
    150
    164
    Brisbane
    extendet version ? (music) iss still in the editor titan editor or integrated adjustable.
    or it comes - in all homescreen views "latestmedia music" display?
    otherwise. . . how did you get that "visible" values? do not agree.
    I added the code into the titan extended theme directory. The existing code for latest media was enabled and working at the time of testing this.

    For the visible value it is copied and pasted from the original latest music xml. To clarify I can change the visible condition to 'true' and it still disappears on a screen change.

    May be try it out and see what I mean. Just add <import>BasicHome.recentlyaddedMusicFacade.xml</import> into the end of basichome.xml in the extended themes directory

    Then copy and paste the code above in a BasicHome.recentlyaddedMusicFacade.xml. Clear the cache and load titan extended.
     

    Mr. V

    Portal Pro
    September 15, 2007
    150
    164
    Brisbane
    I know how it goes. . .
    do not understand exactly what you want? google translator . . .fu****
    latestmedia music in all homescreen views?
    I want this to show when music is selected on the home screen.

    This does not work as intended and I don't know why. I only see the fadace the first time I load mediaportal, then it disappears.
    <visible allowhiddenfocus="true">string.equals(#recentMedia, Music) + string.equals(#latestMediaHandler.music.latest.enabled,true)</visible>

    Does it work for you?
    Can someone else in the community also try it and see if they can get it to work?

    I am thinking something may be hard coded into the titan skin that may prevent it from working.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    Rob Hexenmeister Latest Media Handler - facade properties - itemcount General Support 3
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    Rob Hexenmeister [solved] Latest media handler - time reported as date Fanart Handler 18
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    Lichloathe [solved] Latest Media Handler - Default view for TVSeries on startup Fanart Handler 2
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    joEhSuper [solved] Latest Media Handler wrong version in MPE Fanart Handler 3
    joecrow [solved] Latest Media Handler - Latests empty Fanart Handler 24
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    G How best to get cover art for tracks to show up on the Audio Menu (Latest Added, Unplayed)? General 9
    uxDesign [Question] Where are the latest sources of mpextended? MPExtended 3
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    J Navigating media drive General 4
    J Will Media Portal meet my requirements? General Support 4
    C Imported media doesn't show up immediately? General 1
    J Show media item location Feature Requests 4
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    A MP2.2.2, understanding movies/videos/tv and WTV recordings. General 16
    T I cannot get a basic media import-what is the best configuration? General 10
    J MediaPortal TV Server and Kodi media source issues General 9
    D media portal 2.2 have movies shown on genre not name General 6
    M How to Watch my videos from my Media Portal to My TV without TV Tuner Newcomers Forum 1
    Similar threads

























    Top Bottom