home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugreports
1.21
RED DOT recording state doesn't appear in video fullscreen playing
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CyberSimian" data-source="post: 1254219" data-attributes="member: 141969"><p>Well, I don't know what to make of this. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /> Some points:</p><p></p><p>(1) Thank you for correcting my mistaken xml; in VISIBLE tags, quotes should <strong>not</strong> be used to delimit strings. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite24" alt="(y)" title="Thumbs Up (y)" loading="lazy" data-shortname="(y)" /></p><p></p><p>(2) Unfortunately, even when corrected, it still does not work -- the red dot never appears. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>(3) I changed the xml to output the value of "#TV.Record.Active" in a LABEL control. The variable <em>does</em> display as <strong>true</strong> when there is an active recording, and as <strong>false</strong> when there is not. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>(4) However, when used in an expression, or in a VISIBLE tag, the outcome of the test is always false. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> Neither of the following gives the correct outcome:</p><p></p><p><visible>string.equals(#TV.Record.Active,true)</visible></p><p><texture>#(iif(eq(#TV.Record.Active,'true'),rec.png,black.png))</texture></p><p></p><p>(5) Try adding the following control near the start of "BasicHome.xml" (after the control for the background), and see if it works correctly:</p><p></p><p>[code]<control></p><p> <type>image</type></p><p> <id>0</id></p><p> <posX>18</posX></p><p> <posY>70</posY></p><p> <width>40</width></p><p> <height>40</height></p><p> <texture>rec.png</texture></p><p> <visible>string.equals(#TV.Record.Active,true)</visible></p><p></control>[/code]</p><p></p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1254219, member: 141969"] Well, I don't know what to make of this. :confused: Some points: (1) Thank you for correcting my mistaken xml; in VISIBLE tags, quotes should [b]not[/b] be used to delimit strings. (y) (2) Unfortunately, even when corrected, it still does not work -- the red dot never appears. :( (3) I changed the xml to output the value of "#TV.Record.Active" in a LABEL control. The variable [i]does[/i] display as [b]true[/b] when there is an active recording, and as [b]false[/b] when there is not. :) (4) However, when used in an expression, or in a VISIBLE tag, the outcome of the test is always false. :( Neither of the following gives the correct outcome: <visible>string.equals(#TV.Record.Active,true)</visible> <texture>#(iif(eq(#TV.Record.Active,'true'),rec.png,black.png))</texture> (5) Try adding the following control near the start of "BasicHome.xml" (after the control for the background), and see if it works correctly: [code]<control> <type>image</type> <id>0</id> <posX>18</posX> <posY>70</posY> <width>40</width> <height>40</height> <texture>rec.png</texture> <visible>string.equals(#TV.Record.Active,true)</visible> </control>[/code] -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugreports
1.21
RED DOT recording state doesn't appear in video fullscreen playing
Contact us
RSS
Top
Bottom