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
MediaPortal 1 Skins
Popular Skins
PureVision
PureVisionHD 1080 DriveFreeSpace
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="High_Five" data-source="post: 1292946" data-attributes="member: 169461"><p>While testing the plugin I noticed the following:</p><p>1) If a harddisk, e.g. drive H: is "empty", the expression #DriveFreeSpace.H.AvailableSpace.UsedPercentage does not output zero, but instead there is no output! (see image).</p><p></p><p>[ATTACH=full]211755[/ATTACH]</p><p></p><p>To get 0% as output I used the logical expression #(iif(eq(#DriveFreeSpace.D.AvailableSpace.UsedPercentage,''),'0%','#DriveFreeSpace.D.AvailableSpace.UsedPercentage%')). (see attached file)</p><p></p><p>[ATTACH=full]211756[/ATTACH]</p><p></p><p></p><p>2) For optical drives like e.g. here G: for #DriveFreeSpace.G.AvailableSpace.UsedPercentage and #DriveFreeSpace.G.AvailableSpace.Percentage zero is shown respectively, i.e. with the expression <visible>!string.equals(#DriveFreeSpace.G.AvailableSpace.UsedPercentage,0)</visible> the visibility of the optical drive G: is removed.</p></blockquote><p></p>
[QUOTE="High_Five, post: 1292946, member: 169461"] While testing the plugin I noticed the following: 1) If a harddisk, e.g. drive H: is "empty", the expression #DriveFreeSpace.H.AvailableSpace.UsedPercentage does not output zero, but instead there is no output! (see image). [ATTACH type="full"]211755[/ATTACH] To get 0% as output I used the logical expression #(iif(eq(#DriveFreeSpace.D.AvailableSpace.UsedPercentage,''),'0%','#DriveFreeSpace.D.AvailableSpace.UsedPercentage%')). (see attached file) [ATTACH type="full"]211756[/ATTACH] 2) For optical drives like e.g. here G: for #DriveFreeSpace.G.AvailableSpace.UsedPercentage and #DriveFreeSpace.G.AvailableSpace.Percentage zero is shown respectively, i.e. with the expression <visible>!string.equals(#DriveFreeSpace.G.AvailableSpace.UsedPercentage,0)</visible> the visibility of the optical drive G: is removed. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
PureVision
PureVisionHD 1080 DriveFreeSpace
Contact us
RSS
Top
Bottom