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

emphatic

Design Group
  • Team MediaPortal
  • August 25, 2006
    3,629
    1,111
    Alingsås
    Home Country
    Sweden Sweden
    Country flag
    With a directory structure like this:

    Movietitle.720p.bdrip
    Movietitle.720p.bdrip.jpg
    Movietitle.720p.bdrip.mkv
    Movietitle.720p.bdrip.nfo
    Movietitle.720p.bdrip.srt

    Seriesname.S01E01.x265.720p.HDTV
    Seriesname.S01E01.x265.720p.HDTV.jpg
    Seriesname.S01E01.x265.720p.HDTV.mp4
    Seriesname.S01E01.x265.720p.HDTV.nfo
    Seriesname.S01E01.x265.720p.HDTV.srt

    Would also be awesome if the folder can be deleted as well, but only if the name matches like above, so the plugin doesn't delete a folder called Movies in a directory structure like this:

    TV-Series
    Seriesname.S01E01.x265.720p.HDTV.jpg
    Seriesname.S01E01.x265.720p.HDTV.mp4
    Seriesname.S01E01.x265.720p.HDTV.nfo
    Seriesname.S01E01.x265.720p.HDTV.srt

    OtherSeriesname.S01E01.x265.720p.HDTV.jpg
    OtherSeriesname.S01E01.x265.720p.HDTV.mkv
    OtherSeriesname.S01E01.x265.720p.HDTV.nfo
    OtherSeriesname.S01E01.x265.720p.HDTV.srt

    ...meaning that if you delete OtherSeriesname.S01E01.x265.720p.HDTV.mkv, the whole TV-Series folder is purged - would be extremely bad. ;)

    Emph
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    964
    712
    Home Country
    Malta Malta
    Country flag
    With a directory structure like this:

    Movietitle.720p.bdrip
    Movietitle.720p.bdrip.jpg
    Movietitle.720p.bdrip.mkv
    Movietitle.720p.bdrip.nfo
    Movietitle.720p.bdrip.srt

    Seriesname.S01E01.x265.720p.HDTV
    Seriesname.S01E01.x265.720p.HDTV.jpg
    Seriesname.S01E01.x265.720p.HDTV.mp4
    Seriesname.S01E01.x265.720p.HDTV.nfo
    Seriesname.S01E01.x265.720p.HDTV.srt

    Would also be awesome if the folder can be deleted as well, but only if the name matches like above, so the plugin doesn't delete a folder called Movies in a directory structure like this:

    TV-Series
    Seriesname.S01E01.x265.720p.HDTV.jpg
    Seriesname.S01E01.x265.720p.HDTV.mp4
    Seriesname.S01E01.x265.720p.HDTV.nfo
    Seriesname.S01E01.x265.720p.HDTV.srt

    OtherSeriesname.S01E01.x265.720p.HDTV.jpg
    OtherSeriesname.S01E01.x265.720p.HDTV.mkv
    OtherSeriesname.S01E01.x265.720p.HDTV.nfo
    OtherSeriesname.S01E01.x265.720p.HDTV.srt

    ...meaning that if you delete OtherSeriesname.S01E01.x265.720p.HDTV.mkv, the whole TV-Series folder is purged - would be extremely bad. ;)

    Emph

    @emphatic. So your structure is to have a folder with same name as movie and episode, excluding the suffix. Is this correct?
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,629
    1,111
    Alingsås
    Home Country
    Sweden Sweden
    Country flag
    If you use SubTitleDownloader in MediaPortal, it will name the .srt files after the video file like in my example. Same goes for NFO files if you use MovPicNFO. I never put much effort into organizing my files, I just use two root folders, "Movies" and "Series". Sometimes, I drop just the file in there, sometimes it has a folder with the same name. I'm lazy and just don't need them to be better organized, because MediaPortal's plugins do such stellar work importing them correctly besides that fact. ;)

    So, the answer is "largely yes".

    Emph
     

    volumia

    Portal Pro
    November 23, 2011
    121
    66
    whereever my feet take me...
    Home Country
    Netherlands Netherlands
    Country flag
    Guys.
    Not sure anyone has noticed or has the same issue, but the latest version 1.1.0.15 is deleting al my SRT files from movies and TV series.
    If the SRT name is exactly like the filename (Band.Of.Brothers.S01E01.2001.BluRay.1080p.x264.DTS.srt), no problem, but when the language gets added to the name of the SRT (Band.Of.Brothers.S01E01.2001.BluRay.1080p.x264.DTS.nl.srt) it's gone!

    EDIT: above was just the MKV section. Turns out that all DVD's have been stripped from their content. All that's left there are the BUP and IFO files...
     
    Last edited:

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,629
    1,111
    Alingsås
    Home Country
    Sweden Sweden
    Country flag
    EDIT: above was just the MKV section. Turns out that all DVD's have been stripped from their content. All that's left there are the BUP and IFO files...

    That's really, really bad. I have noticed too that all my VIDEO_TS rips have been rendered incomplete and useless by having activated this plugin. As I have my videos on my NAS, meaning they are permanently deleted, it's a disaster. Luckily for me, it was Dora The Explorer rips, and my children are too old for them now.

    Emph
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    964
    712
    Home Country
    Malta Malta
    Country flag
    MPCleaner v1.1.0.15 has been uploaded. Please download from here.
    EDIT: above was just the MKV section. Turns out that all DVD's have been stripped from their content. All that's left there are the BUP and IFO files...

    That's really, really bad. I have noticed too that all my VIDEO_TS rips have been rendered incomplete and useless by having activated this plugin. As I have my videos on my NAS, meaning they are permanently deleted, it's a disaster. Luckily for me, it was Dora The Explorer rips, and my children are too old for them now.

    Emph


    @Emp, this was a change you requested :eek:....
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,629
    1,111
    Alingsås
    Home Country
    Sweden Sweden
    Country flag
    @Emp, this was a change you requested :eek:....

    I requested .srt files to be added to file types to clean. Are you saying .srt files and .vob files are the same? And I even went into specifics with name matching:

    movie name.mkv (if this is deleted, the below ones are too)
    movie name.srt
    movie name.nfo
    movie name.jpg

    Your plugin is very aggressive in the cleaning, and frankly, it's dangerous to use it. I don't understand why it would delete the following files:

    movie name.mkv
    movie name.english.srt <---

    just because it exists in the same folder as a movie file.

    Please don't blame me for this.
    Emph
     

    Users who are viewing this thread

    Similar threads

    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common user requirements out of the box. Aside from its support for Live TV and Radio, it offers a complete media server for music, movies, and TV shows. Info is automatically downloaded from various sources to...
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common...
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common...
    Replies
    0
    Views
    888
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    2K
    Hallo, Since the update to MP1 27 pre, the refresh rate display no longer works correctly. The font is too small and illegible. The display can be reached with "Shift, 1". Andreas
    Hallo, Since the update to MP1 27 pre, the refresh rate display no longer works correctly. The font is too small and illegible. The...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    2
    Views
    995
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to the mediaportal executable [MP1-5051] - Music Playback fails with ReplayGain enabled and no ReplayGain Information in song [MP1-5053] - TV framerate is not parsed from tsbuffer Since Pre-Release ...
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to...
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to...
    Replies
    0
    Views
    2K
    I found the same anyone starting out can very easily get lost in the plugin then patch then ask for help which can be a while coming round about as the are sometimes a few patches that apply to a specific problem and sometimes need to be applied in a specific order for the fix to be successful. Do this for all the plugins you would...
    I found the same anyone starting out can very easily get lost in the plugin then patch then ask for help which can be a while...
    Hi everyone. I am a big fan of MediaPortal. I have been using it for several years now and I hope to do so in the future. I have a...
    Replies
    6
    Views
    1K
    Top Bottom