[Plugin] MPCleaner - Deletes images from your thumbs folder that are no longer in use (1 Viewer)

whatisk

Portal Pro
May 21, 2007
246
12
Brisbane
Home Country
Australia Australia
piernik and whatisk, in the plugin, there is no relationship on Fullsize or Thumb images. These are cleaned independently. The reason why you are loosing the images must be an issue either with naming convention or name is not properly stored in the database. For backdrops and covers, the plugin is using the following SQL to compare against:
Code:
SELECT alternatecovers, backdropfullpath FROM movie_info
Can you confirm that images names are stored correctly in the above table in movingpictures.db3

Regards

Had a look and all references appear to be to c:\documents and settings\all users\application data\team mediaportal\mediaportal\thumbs\moving pictures\backdrops\fullsize

Now I am running Win7 (previously XP), that location no longer exists. They are now stored at C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\MovingPictures then backdrops or covers
All references in the database seem to be to similar locations, yet all the graphics display okay in MePo? Even ones I added just today have the images locations listed as being in c:\documents and settings\...
 

D3ltoroxp

MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Maybe you can add this to the skin that i can change things inside mp, maybe in settings section ? The request is for the streamedmp skin...
     
    Last edited:

    MrCrabs

    Portal Pro
    January 21, 2010
    884
    129
    Braunschweig
    Home Country
    Germany Germany
    Did anyone already propose to make this plugin a MP standard? If it works flawless I see no reason not to integrate an automated cleaning plugin to make our HTPCs running MP faster and less storage consumptive.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Moving Pictures + TV Series + Fanart handler and not core MP features so I don't think it can be integrated. Would it be better if the individual plugins did their own cleaning?
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    Why the plugin does not work?

    Code:
    2013-04-02 22:25:49.796875 [Info.][(26)]: MPCleaner: process plugin last run on 02.04.2013 03:11:29
    2013-04-02 22:25:49.812500 [Info.][(26)]: MPCleaner: process plugin configured to run daily.
    2013-04-02 22:25:50.812500 [Info.][(26)]: MPCleaner: process plugin configured to run when CPU utilisation is less than 35%. CPU currently at 10%
    2013-04-02 22:25:50.828125 [Info.][(26)]: MPCleaner: process plugin execution skipped.
    2013-04-02 22:25:50.843750 [Info.][(26)]: MPCleaner: process plugin complete.
    2013-04-02 22:25:50.843750 [Info.][(26)]: MPCleaner: process plugin sleeping 300 seconds.....
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Why the plugin does not work?

    Code:
    2013-04-02 22:25:49.796875 [Info.][(26)]: MPCleaner: process plugin last run on 02.04.2013 03:11:29
    2013-04-02 22:25:49.812500 [Info.][(26)]: MPCleaner: process plugin configured to run daily.
    2013-04-02 22:25:50.812500 [Info.][(26)]: MPCleaner: process plugin configured to run when CPU utilisation is less than 35%. CPU currently at 10%
    2013-04-02 22:25:50.828125 [Info.][(26)]: MPCleaner: process plugin execution skipped.
    2013-04-02 22:25:50.843750 [Info.][(26)]: MPCleaner: process plugin complete.
    2013-04-02 22:25:50.843750 [Info.][(26)]: MPCleaner: process plugin sleeping 300 seconds.....

    ajs, according to the above log, you set up the MPCleaner plugin to execute once every day (see Configured to run daily). According to the first line, it already executed on 02APR2013 @ 03:11:29, hence it will execute again tomorrow. If you want it to run always when CPU is below 35%, then you need to choose Always as periodicity.

    Hope this helps.
     

    Users who are viewing this thread

    Top Bottom