Drive Free Space Plugin | Page 3

Discussion in 'MediaPortal 1 Plugins' started by SilentException, February 14, 2009.

  1. Rico

    Rico Portal Pro

    Joined:
    December 23, 2008
    Messages:
    188
    Likes Received:
    12
    Location:
    Straelen
    Ratings:
    +12 / 0
    Home Country:
    Germany Germany
    I finished my basichome mod of the B and W 1080 Skin

    attached is the basichome.xml file :)

    thanks for the great plugin

    here is the link for the mod :)



    15.02.2009 - First Release
    16.02.2009 - Newer version uploaded v.0.2 with better text alligend for lcd tv
    --.02.2009 - Upcoming new release v.0.3 with more details

    Black and White 1080 mod-basichome-free-drive-space-plugin-Updated
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. SilentException
    • Team MediaPortal

    SilentException Retired Team Member

    Joined:
    October 27, 2008
    Messages:
    2,617
    Likes Received:
    1,125
    Gender:
    Male
    Location:
    Rijeka, Croatia
    Ratings:
    +1,129 / 0
    Home Country:
    Croatia Croatia
    glad you figured it all out Rico and got it all working..

    maybe its late but i didnt really understand this.. in configuration you choose drives you want to monitor and those are visible :)


    btw, i'll put sources up tomorrow too and add everything into mp plugins repository
     
  4. User 04

    User 04 Portal Pro

    Joined:
    April 14, 2008
    Messages:
    125
    Likes Received:
    21
    Ratings:
    +21 / 0
    Home Country:
    Hi,

    There is probably a simple answer, but I have gaps at the left side of the Progress Bar. I notice that Rico has smaller gaps, but then maybe they are intentional, and catavolt none.

    BTW the boxes do have ends on them, just have not shown in the screen print.
     
  5. mulva

    mulva Portal Member

    Joined:
    August 22, 2005
    Messages:
    27
    Likes Received:
    2
    Location:
    Sydney, Australia
    Ratings:
    +2 / 0
    Home Country:
    This is really great stuff. I can't believe that I've been using MP for so long without this. I guess I know what I'll be doing tonight.

    BTW User 04: you may want to go here to get some channel icons--> Australian TV Network Logos

    Cheers
     
    • Like Like x 1
  6. SilentException
    • Team MediaPortal

    SilentException Retired Team Member

    Joined:
    October 27, 2008
    Messages:
    2,617
    Likes Received:
    1,125
    Gender:
    Male
    Location:
    Rijeka, Croatia
    Ratings:
    +1,129 / 0
    Home Country:
    Croatia Croatia
    User 04, i'm no skinner but i think it has something to do with
    <texturebg>
    <lefttexture>
    <midtexture>
    <righttexture>
    properties of progress controll.. or maybe images in those tags..
     
  7. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,192
    Likes Received:
    4,940
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,335 / 38
    Home Country:
    Germany Germany
    Show System Specs
    You have to adjust the <posX> property of the progress control.
     
  8. Sphero

    Sphero Portal Pro

    Joined:
    June 4, 2008
    Messages:
    82
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Nice plugin, but is it possible to show only the value of free disk space when I call a specific disk like #Drives(C).
    If I put this in my code, I already know it is C: [SYSTEM]. I only need a value; like 10. Then I know 10GB is free.
     
  9. SilentException
    • Team MediaPortal

    SilentException Retired Team Member

    Joined:
    October 27, 2008
    Messages:
    2,617
    Likes Received:
    1,125
    Gender:
    Male
    Location:
    Rijeka, Croatia
    Ratings:
    +1,129 / 0
    Home Country:
    Croatia Croatia
    in configuration select C drive and format the output to be only:

    %freespace%

    then use #Drives(C).AvailableSpace.Data to get the freespace value (on two decimals btw)
     
  10. User 04

    User 04 Portal Pro

    Joined:
    April 14, 2008
    Messages:
    125
    Likes Received:
    21
    Ratings:
    +21 / 0
    Home Country:
    Thanks for the replies and also the information on the channel icons, mulva, I will definitely look at that.

    SilentExcept I have changed your skin coding to the following;

    <control>
    <description>Progress background</description>
    <type>image</type>
    <id>1</id>
    <posX>26</posX>
    <posY>482</posY>
    <width>153</width>
    <height>17</height>
    <texture>progress_background_tvhome.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
    </control>
    <control>
    <description>Progress Bar</description>
    <type>progress</type>
    <id>20</id>
    <posX>15</posX>
    <posY>482</posY>
    <width>153</width>
    <height>17</height>
    <label>#Drives(C).AvailableSpace.Percentage</label>
    <lefttexture>progress_blank30.png</lefttexture>
    <midtexture>progress_mid_white30.png</midtexture>
    <righttexture>progress_blank30.png</righttexture>
    <visible>yes</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
    </control>

    You can insert osd_progress_background.png in lieu of progress_background_tvhome.png, leave out,
    <lefttexture>progress_blank30.png</lefttexture>
    <midtexture>progress_mid_white30.png</midtexture>
    <righttexture>progress_blank30.png</righttexture>

    and it will default to existing Media files, saves people creating them.

    I know your plug in refers to free space, just wondered if the option is available to show used space, that is the way my brain works, well it sort of works, sometimes :).

    The formatting has gone all wrong in copying and pasting, but it shows the correct information.

    BTW, see the movie on SBS, recording the last 3/4 hour, wish I had got the whole movie.


    Regards
     

    Attached Files:

  11. SilentException
    • Team MediaPortal

    SilentException Retired Team Member

    Joined:
    October 27, 2008
    Messages:
    2,617
    Likes Received:
    1,125
    Gender:
    Male
    Location:
    Rijeka, Croatia
    Ratings:
    +1,129 / 0
    Home Country:
    Croatia Croatia
    just few hours ago i was thinking about that.. will see what i can do..

    Edit:

    NEW VERSION IS UP! 0.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
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!