Drive Free Space Plugin (2 Viewers)

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    I've finally had a chance to have another look at this and update my skin files. Thanks for the update :D

    One question, how do I use the "#DriveFreeSpace.Enabled and #DriveFreeSpace.X.Enabled" properties? :oops:

    Code:
    <visible>string.contains(#DriveFreeSpace.Enabled,rue)</visible>

    i think true instead of rue would be enough but later would match True and true (caps difference) :)
     

    Bleazle

    Portal Pro
    July 14, 2007
    1,122
    257
    Pukekohe
    Home Country
    New Zealand New Zealand
    Hi All

    I've just uploaded a "patch" to support DriveSpace 0.5.1 in BleazleWide 8.1 (https://forum.team-mediaportal.com/bleazle-311/bleazlewide-v8-1-a-75150/index11.html#post646922). I love the way I can hide drives that are not connected now, much better, thanks!

    Bleazle

    settings.png
     

    lilrichie

    Portal Member
    July 11, 2010
    23
    1
    Home Country
    United Kingdom United Kingdom
    Does anyone have this working with black glass on the home screen? If so could you tell me how to go about doing it i have never skinned before or edited a skin for that matter.
     

    Larzon

    MP Donator
  • Premium Supporter
  • January 16, 2010
    79
    9
    Phoenix, Arizona
    Home Country
    United States of America United States of America
    If you look in wiki and forums you can get a lot of advice editing skins. This is just to get you started.

    A. It is recommended you get an xml editor. Although you can use a simple text editor like Notepad, this is ill-advised unless you are very familiar with the code. I like Notepad++ which is a simple code editor (and free :) ).


    B. You will also find this plugin indispensable for skin editing. MyRefresh: MEDIAPORTAL - free media center - My Refresh for Build 13639 & higher

    MyRefresh allows you to reload xml files while MediaPortal is still running. You just press F5. Say you have MediaPortal open to the Home screen, and at the same time you have the xml file for the Home screen open in an editor. Let's say you are fine-tuning the horizontal position of an item on the Home screen. Here are the basic steps:

    1. In the xml editor, type in a new value for the X position of the item.
    2. Save the xml file to commit changes to disk (very important). You do not have to close the file.
    3. Use Alt+Tab to switch focus to MedaiPortal.*
    4. Press F5. You will see the result immediately.
    5. If the position of the item isn't to your liking, press Alt+Tab to switch to xml editor and go to step 1.

    * To allow Alt+Tab switching: In MePo Config make sure to uncheck "Keep MediaPortal always on top."


    C. After you get those basic tools for skin editing, be sure to enable and configure the DriveFreeSpace plugin in MePo Config before you proceed.


    D. In the folder for the skin you should see a file such as myhome.xml which defines the Home screen. (Sorry I don't have black glass skin -- hope the filename is the same.) Make a backup of this file before you open it for editing.

    When you open the xml file with the editor, look at the section called Controls. Examine some of the individual Control items to get a basic feel for how things are structured.


    E. See post #1 for Control examples, and see the documentation included with the download. Here is an example from my own setup of a Control for showing text output of DriveFreeSpace. (On my system the TV folder resides on the K drive; in MePo Config the DriveFreeSpace Plugin is set to monitor the K drive.)

    Code:
        <control>
          <description>Drive space Data</description>
          <type>label</type>
          <id>1</id>
          <posX>660</posX>
          <posY>35</posY>
          <label>#DriveFreeSpace.K.AvailableSpace.Data</label>
          <align>left</align>
          <font>font15</font>
          <visible>yes</visible>
          <textcolor>ffa9d0f7</textcolor>
          <animation effect="fade" time="1500">WindowOpen</animation>
          <animation effect="fade" time="150">WindowClose</animation>
        </control>
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Hi guys!

    I have added new vesion in the first post (should be also on MePo repository soon, when approved).

    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

    If you're on Windows 7 and having issues with network drives, read first post or ReadMe.txt, "Known issues" section :)
     

    Larzon

    MP Donator
  • Premium Supporter
  • January 16, 2010
    79
    9
    Phoenix, Arizona
    Home Country
    United States of America United States of America
    Thanks again for updating this great little plugin! :D

    Now it works fine on my two Win 7 clients; they can monitor the drive on the server where the TV recordings reside.

    BTW I used the registry edit referenced in post #1 (Known Issues), and Windows UAC is still enabled.
     

    Users who are viewing this thread

    Top Bottom