PureVisionHD 1080 DriveFreeSpace (5 Viewers)

High_Five

Design Group
  • Team MediaPortal
  • February 10, 2023
    101
    876
    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
    14,789
    11,608
    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
    101
    876
    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,213
    2,348
    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
    101
    876
    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
    14,789
    11,608
    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
    14,789
    11,608
    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

    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films that have deafening sound effects and music, combined with inaudible dialogue. I have never noticed the problem that you have described, but I also use the EVR renderer, and not the Madvr renderer. So...
    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films...
    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
    27
    Views
    3K
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I have an Idea for further improvement. As I am not too interested in advetisments, I am using comskip to mark times of ads, which is normally working, as it should but produces an error when trying to...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Replies
    0
    Views
    712
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to make this long winded or anything, but just to point out over the @15 years I've overall donated several hundred quid. And I begrduge NONE of it, not a penny - I do wish MP well - 100%. It is an awesome...
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to...
    ONGGGG term MP user (and donator - why wouldn't you?) and leaving somewhat reluctantly. Few reasons, some that just seem...
    Replies
    4
    Views
    3K
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    734
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    1K
    Top Bottom