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 Plugins
Drive Free Space Plugin
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="SilentException" data-source="post: 377618" data-attributes="member: 83924"><p>this is a process plugin i've made for displaying free HDD space on your drives.. it's highly configurable and flexible..</p><p> </p><p>install by putting three dll files in MP\plugins\process folder, run configuration and configure it as you like..</p><p> </p><p>next, you should add a new control in skin files where this should be used. this is an example i've made in a hurry but you'll get the point <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>Example for main control (textual)</p><p>[CODE]<control></p><p> <description>Drive space</description></p><p> <type>textboxscrollup</type></p><p> <id>37483</id></p><p> <posX>1600</posX></p><p> <posY>100</posY></p><p> <width>300</width></p><p> <height>300</height></p><p> <font>font11</font></p><p> <label>[B]#Drives.AvailableSpace.Data.Drives[/B]</label></p><p> <visible>yes</visible></p><p></control>[/CODE]</p><p> </p><p>Example for Progress bar control</p><p>[CODE]<control></p><p> <description>Progress Bar</description></p><p> <type>progress</type></p><p> <id>20</id></p><p> <posX>560</posX></p><p> <posY>885</posY></p><p> <width>500</width></p><p> <height>30</height></p><p> <label>[B]#Drives.AvailableSpace.Percentage[/B]</label></p><p> <texturebg>progress_background_tvhome.png</texturebg></p><p> <lefttexture>progress_blank30.png</lefttexture></p><p> <midtexture>progress_mid_white30.png</midtexture></p><p> <righttexture>progress_blank30.png</righttexture></p><p> <visible>yes</visible></p><p></control>[/CODE]</p><p> </p><p>hope you will like this, report your thoughts, bugs, whatever here <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> </p><p>Known "issues"</p><p> </p><p>If you're on Windows 7, sometimes there is issue with UAC and DriveFreeSpace not seeing network drives. Solution is to turn off UAC or try fix from the following TechNet article: <a href="http://technet.microsoft.com/en-us/library/ee844140%28WS.10%29.aspx" target="_blank">Some Programs Cannot Access Network Locations When UAC Is Enabled</a></p><p>Thanks to Larzon for helping me debug the issue!</p><p> </p><p> </p><p>Changelog:</p><p> </p><p>v0.55</p><p>changed (rewrote) component for drives selection (old one was not working properly on Win7) - old dll files (Raccoom.TreeViewFolderBrowser.dll and Raccoom.TreeViewFolderBrowser.DataProviders.dll) are no longer needed</p><p> </p><p>v0.51</p><p>increased character limit on bitrate textbox to 5</p><p>small changes in configuration</p><p> </p><p>v0.5</p><p>due to change in MediaPortal properties, brackets cannot be part of the property names - all properties with (X) renamed to .X.</p><p>added bitrate calculation (recording time left) - requested by daniel_1980</p><p>property #Drives.AvailableSpace.Data split in two (#DriveFreeSpace.AvailableSpace.Data.Drives and #DriveFreeSpace.AvailableSpace.Data.Total) - .Drives works exactly as old one and .Total returns the formatted data for all selected drives - requested by cruse</p><p>added #DriveFreeSpace.Enabled and #DriveFreeSpace.X.Enabled properties - first will contain true/false strings depending on weather any drive has been selected, second will contain true/false strings depending on weather drive X is selected - requested by Bleazle</p><p>added possibility for multiple plugins: copy DriveFreeSpace.dll and rename it as you wish</p><p>due to that possibility, all gui properties are prefixed with plugin file name now: instead of #Drives* properties, they are now named #DriveFreeSpace* or whatever the plugin file name is</p><p>also, this now requires you to reconfigure the plugin</p><p>fixed for MediaPortal v1.1</p><p> </p><p>v0.4</p><p>added new gui properties #Drives.AvailableSpace.UsedPercentage and #Drives(X).AvailabelSpace.UsedPercentage; returns percentage of used space for all or one drive; replace X with the drive letter</p><p>added new text property %uspercent% - returns a number (percent of occupied space)</p><p>added new text property %usedspace% - returns used space in GB/MB/KB</p><p>added new text property %driveletteronly% - returns drive letter only with no colon character</p><p> </p><p>v0.31</p><p>all new lines are now processed only from configuration!</p><p>fixed a small glitch in last build (30 seconds blackout on plugin start)</p><p> </p><p>v0.3</p><p>added new gui properties #Drives(X).AvailableSpace.Data and #Drives(X).AvailableSpace.Percentage for each drive selected in configuration; replace X with the drive letter (doh!)</p><p> </p><p>v0.2</p><p>fixed decimals</p><p>added new text property %fspercent% - returns a number (percent) of free space</p><p>added #Drives.AvailableSpace.Percentage - note that this returns percentage of free space of ALL drives you have selected in configuration.. i'm working on a version that will create a new property #Drives(X).AvailableSpace which will return .Data or .Percentage depending on what drives you have selected</p><p>Renamed #Drives.AvailableSpace to #Drives.AvailableSpace.Data (i had problems with progress bar so i had to)</p><p> </p><p>v0.1</p><p>initial release</p><p> </p><p> </p><p><em>Note: since version 0.51, source is available on MediaPortal plugins repository (SourceForge), therefore no longer included in package</em></p></blockquote><p></p>
[QUOTE="SilentException, post: 377618, member: 83924"] this is a process plugin i've made for displaying free HDD space on your drives.. it's highly configurable and flexible.. install by putting three dll files in MP\plugins\process folder, run configuration and configure it as you like.. next, you should add a new control in skin files where this should be used. this is an example i've made in a hurry but you'll get the point :) Example for main control (textual) [CODE]<control> <description>Drive space</description> <type>textboxscrollup</type> <id>37483</id> <posX>1600</posX> <posY>100</posY> <width>300</width> <height>300</height> <font>font11</font> <label>[B]#Drives.AvailableSpace.Data.Drives[/B]</label> <visible>yes</visible> </control>[/CODE] Example for Progress bar control [CODE]<control> <description>Progress Bar</description> <type>progress</type> <id>20</id> <posX>560</posX> <posY>885</posY> <width>500</width> <height>30</height> <label>[B]#Drives.AvailableSpace.Percentage[/B]</label> <texturebg>progress_background_tvhome.png</texturebg> <lefttexture>progress_blank30.png</lefttexture> <midtexture>progress_mid_white30.png</midtexture> <righttexture>progress_blank30.png</righttexture> <visible>yes</visible> </control>[/CODE] hope you will like this, report your thoughts, bugs, whatever here :) Known "issues" If you're on Windows 7, sometimes there is issue with UAC and DriveFreeSpace not seeing network drives. Solution is to turn off UAC or try fix from the following TechNet article: [URL='http://technet.microsoft.com/en-us/library/ee844140%28WS.10%29.aspx']Some Programs Cannot Access Network Locations When UAC Is Enabled[/URL] Thanks to Larzon for helping me debug the issue! Changelog: v0.55 changed (rewrote) component for drives selection (old one was not working properly on Win7) - old dll files (Raccoom.TreeViewFolderBrowser.dll and Raccoom.TreeViewFolderBrowser.DataProviders.dll) are no longer needed v0.51 increased character limit on bitrate textbox to 5 small changes in configuration v0.5 due to change in MediaPortal properties, brackets cannot be part of the property names - all properties with (X) renamed to .X. added bitrate calculation (recording time left) - requested by daniel_1980 property #Drives.AvailableSpace.Data split in two (#DriveFreeSpace.AvailableSpace.Data.Drives and #DriveFreeSpace.AvailableSpace.Data.Total) - .Drives works exactly as old one and .Total returns the formatted data for all selected drives - requested by cruse added #DriveFreeSpace.Enabled and #DriveFreeSpace.X.Enabled properties - first will contain true/false strings depending on weather any drive has been selected, second will contain true/false strings depending on weather drive X is selected - requested by Bleazle added possibility for multiple plugins: copy DriveFreeSpace.dll and rename it as you wish due to that possibility, all gui properties are prefixed with plugin file name now: instead of #Drives* properties, they are now named #DriveFreeSpace* or whatever the plugin file name is also, this now requires you to reconfigure the plugin fixed for MediaPortal v1.1 v0.4 added new gui properties #Drives.AvailableSpace.UsedPercentage and #Drives(X).AvailabelSpace.UsedPercentage; returns percentage of used space for all or one drive; replace X with the drive letter added new text property %uspercent% - returns a number (percent of occupied space) added new text property %usedspace% - returns used space in GB/MB/KB added new text property %driveletteronly% - returns drive letter only with no colon character v0.31 all new lines are now processed only from configuration! fixed a small glitch in last build (30 seconds blackout on plugin start) v0.3 added new gui properties #Drives(X).AvailableSpace.Data and #Drives(X).AvailableSpace.Percentage for each drive selected in configuration; replace X with the drive letter (doh!) v0.2 fixed decimals added new text property %fspercent% - returns a number (percent) of free space added #Drives.AvailableSpace.Percentage - note that this returns percentage of free space of ALL drives you have selected in configuration.. i'm working on a version that will create a new property #Drives(X).AvailableSpace which will return .Data or .Percentage depending on what drives you have selected Renamed #Drives.AvailableSpace to #Drives.AvailableSpace.Data (i had problems with progress bar so i had to) v0.1 initial release [I]Note: since version 0.51, source is available on MediaPortal plugins repository (SourceForge), therefore no longer included in package[/I] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Drive Free Space Plugin
Contact us
RSS
Top
Bottom