PureVisionHD 1080 DriveFreeSpace (5 Viewers)

High_Five

Design Group
  • Team MediaPortal
  • February 10, 2023
    347
    1,434
    Home Country
    Germany Germany
    Could you possibly avoid the gaps between the drives by combining the left and right columns each as a group? (n)
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    15,124
    12,058
    Königstein (Taunus)
    Home Country
    Germany Germany
    Could you possibly avoid the gaps between the drives by combining the left and right columns each as a group? (n)
    I´m trying to solve that with a switch visibility which atm does not work how I need it:
    Code Example:
    <label>#(switch( neq(#DriveFreeSpace.E.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.E.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.E.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.F.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.F.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.G.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.G.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.H.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.H.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.I.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.I.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.J.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.J.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.K.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.K.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.L.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.L.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.M.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.M.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.N.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.N.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.O.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.O.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.P.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.P.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.Q.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.Q.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.R.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.R.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.S.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.S.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.T.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.T.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.U.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.U.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.V.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.V.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.W.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.W.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.X.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.X.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.V.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.Y.AvailableSpace.UsedPercentage,0),'#DriveFreeSpace.Z.AvailableSpace.UsedPercentage', eq(#DriveFreeSpace.Z.AvailableSpace.UsedPercentage,0),'', eq(1,1),''))</label>

    This is for not show the progressbar of drive E if not available and show progressbar of F instead (and so on)
     

    High_Five

    Design Group
  • Team MediaPortal
  • February 10, 2023
    347
    1,434
    Home Country
    Germany Germany
    I have made a small change in the settings file to better highlight the drives textually (see image). :)

    DriveFreespace.png
     

    Attachments

    • settings_general.xml
      37.3 KB
    Last edited by a moderator:

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,308
    2,487
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #35
    Good idea to split the DriveFreeSpace stuff.

    Found that more than in home, it also appear in scheduled :

    zz1.png

    Just an idea, it could also be interesting to have it in recorded.
    This example is only for travel PC but, with this info, it will avoid me to tell EACH TIME to my wife PLEASE, LOOK AT or, DELETE FILES in m'y home's HTPC !! :D
     

    High_Five

    Design Group
  • Team MediaPortal
  • February 10, 2023
    347
    1,434
    Home Country
    Germany Germany
    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).

    DriveH ohne 0.png


    To get 0% as output I used the logical expression #(iif(eq(#DriveFreeSpace.D.AvailableSpace.UsedPercentage,''),'0%','#DriveFreeSpace.D.AvailableSpace.UsedPercentage%')). (see attached file)

    DriveH mit 0.png



    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.
     

    Attachments

    • settings_general.xml
      37.6 KB

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    15,124
    12,058
    Königstein (Taunus)
    Home Country
    Germany Germany
    Thx for your work, but you are testing a very early version where I only wanted to show my idea of the layout ;)
    I´m nearly ready with the final version which uses string expressions like switch, and, eq and neq which automatically place the available disks in the correct order from left to right and top to bottom ;)
    Please stand by - will inform you tomorrow
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    15,124
    12,058
    Königstein (Taunus)
    Home Country
    Germany Germany
    Well, here we finally go!
    Attached the settings_general.xml ;)
    Some remarks:
    The layout is made for 6 drives (C, D, E, F and G,) where at least drive C should be activated in DFS config.
    The other drives may be activated or not, not activated drives will not show, and activated drives will be in an order without gaps.
    Not activated drives show an empty red bullet (actually that is the left texture of the progressbar) ;).
    Maybe I do some more cosmetics as well as a short help screen how to configere DFS.
    BTW: If you look inside the xml code you hopefully understand why I did not prepare for all possible drive names (F to Z)
    Have fun testing :D
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 EPG woes DE
    Thanks for your reply. I haven't forgotten about this. I have XMLTV mostly working, but MC2XML used to take care of two things that I have not yet accommodated. These are "New program indication" (for me, that was an asterisk "*" character in the program title) and "automatic time zone conversion". As I understand it, XMLTV is...
    Thanks for your reply. I haven't forgotten about this. I have XMLTV mostly working, but MC2XML used to take care of two things...
    Does anyone know how to “fix” the MC2XML application, and hopefully permanently? Mine stopped working sometime after September 29...
    Replies
    17
    Views
    3K
    MP1 MP2 IPTV struggle DE
    Hello nicholasclark, thank you for your reply. I was trying to get my Mum's MediaPortal TVPC up to date as the time has come to replace her television with a new "smart" TV. My though was not to get involved with the "Smart" TV, but get a dumb 4K LED Panel and run it from MediaPortal. Great to have a new TV with "The Smarts" but...
    Hello nicholasclark, thank you for your reply. I was trying to get my Mum's MediaPortal TVPC up to date as the time has come to...
    Good day folks. I am trying to get my Mediaportal 1 system connected to use IPTV and finding it a bit of a struggle. I do not know...
    Replies
    3
    Views
    320
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching live TV. I've now ticked the box to "Use EVR for LiveTV", with a default display refresh rate of 50Hz. In combination with tweaking some of the Nvidia 3D settings for the MP executable only, I now have a...
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    30
    Views
    9K
    I have wanted to create a skin for MePo for years, but lack of free time due to other time demanding creative output (i.e. hobbies) I have not gotten past creating mockups of my skin ideas for when I could have time in the future. But, the future seems to be here now, with the AI explosion, good or bad. I've never tried using AI...
    I have wanted to create a skin for MePo for years, but lack of free time due to other time demanding creative output (i.e. hobbies)...
    I have wanted to create a skin for MePo for years, but lack of free time due to other time demanding creative output (i.e. hobbies)...
    Replies
    0
    Views
    504
    When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on "Filtering: On startup filter by: Unwatched Movies" in "Moving Pictures Configuration". Don't know how I did that. (n)
    When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on...
    About a 2 months ago I was having problems with filtering for unwatched movies. I couldn't find the filter for it. So I tried...
    Replies
    3
    Views
    795
    Top Bottom