Drive Free Space Plugin (3 Viewers)

quake2rambo

MP Donator
  • Premium Supporter
  • January 18, 2007
    803
    47
    Home Country
    Germany Germany
    AW: Drive Free Space Plugin

    Here ...
    C:\ProgramData\Team MediaPortal\MediaPortal\skin\<skinname>\Media
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    848
    53
    Home Country
    Belgium Belgium
    Guys, I had v0.4 working well and now I'm trying to get v0.55 going but without success. :confused:
    The DLL file is in the same directory where the previous version was, I started out with the newest (clean) skin files that came with MP 1.1.1.
    The plugin is present in the configuration utility, it is checked but no signs of data....

    This is what I have in myvideo.xml:
    Code:
      <control>
      <description>Drive space</description>
      <type>textboxscrollup</type>
      <id>37483</id>
      <posX>50</posX>
      <posY>110</posY>
      <width>300</width>
      <height>300</height>
      <font>font11</font>
      <label>#DriveFreeSpace.AvailableSpace.Data</label>
      <visible>yes</visible>
    </control>
    
    <control>
      <description>Progress Bar</description>
      <type>progress</type>
      <id>20</id>
      <posX>50</posX>
      <posY>135</posY>
      <width>500</width>
      <height>30</height>
      <label>#DriveFreeSpace.AvailableSpace.Percentage</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>
    I never got the progressbar working but the text was ok - as wel in the mytvguide.xml (of course with different coordinates)
    Even after switching screens and closing MP, no difference.

    Any idea what might be wrong?

    TIA
    Peter
     

    quake2rambo

    MP Donator
  • Premium Supporter
  • January 18, 2007
    803
    47
    Home Country
    Germany Germany
    AW: Drive Free Space Plugin

    Hi.
    Seams that your Dive-Letter is not placed?!

    For C:\
    <label>#DriveFreeSpace.C.AvailableSpace.Data</label>
    <visible>string.contains(#DriveFreeSpace.C.Enabled,true)</visible>
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Nah, I think he missed change log for 0.5 :)

    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

    Peter2, you should replace #DriveFreeSpace.AvailableSpace.Data with #DriveFreeSpace.AvailableSpace.Data.Drives.
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    848
    53
    Home Country
    Belgium Belgium
    Guys, thanks for looking into this!
    I have modified #DriveFreeSpace.AvailableSpace.Data with #DriveFreeSpace.AvailableSpace.Data.Drives - guess the dot at the end is from the sentence but tried with and without: no difference.

    If the .Drives(.) has to be added to that string, the information in the example is not correct. When it didn't work, I wanted to exclude any possible errors so I also started from the example and just modified the coordinates.

    My drive is partitioned in 2: C contains windows and standard program files and the rest is on D - as well MP in d:\program files

    Here are my logs as well.

    EDIT: I only want to know the space of D so in the configuration utility I have only checked that drive.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    From the logs, there is no DriveFreeSpace.dll plugin loaded. In fact, there are not many plugins loaded at all. Are you sure you're running MePo from correct location? Perhaps log files are from the wrong location...
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    848
    53
    Home Country
    Belgium Belgium
    Everything (all the plugins in my signature) is working well as well minidisplay, audioscrobbler & music reorganisation.
    I have created the logs with the shortcut in my start menu and I have only 1 installation of MP - upgraded from 1.1.0

    There are of course some backup folders in both program files on D as well in the documents and settings on C but I guess they are disregarded, no?
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Please, delete all logs then, and restart MePo. There is no sign of ANY plug-ins loaded in the logs you posted (other than default ones).
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    848
    53
    Home Country
    Belgium Belgium
    Sorry, my bad. I had selected the first option in the debug program. :oops:

    Here, this should be better...
     

    Users who are viewing this thread

    Top Bottom