[Plugin] MPCleaner - Deletes images from your thumbs folder that are no longer in use | Page 16

Discussion in 'MediaPortal 1 Plugins' started by m3rcury, June 23, 2012.

  1. emphatic
    • Team MediaPortal

    emphatic Design Group

    Joined:
    August 25, 2006
    Messages:
    3,586
    Likes Received:
    828
    Gender:
    Male
    Occupation:
    Surface treatment
    Location:
    Alingsås
    Ratings:
    +1,083 / 2
    Home Country:
    Sweden Sweden
    Show System Specs
    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
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @emphatic. So your structure is to have a folder with same name as movie and episode, excluding the suffix. Is this correct?
     
  4. emphatic
    • Team MediaPortal

    emphatic Design Group

    Joined:
    August 25, 2006
    Messages:
    3,586
    Likes Received:
    828
    Gender:
    Male
    Occupation:
    Surface treatment
    Location:
    Alingsås
    Ratings:
    +1,083 / 2
    Home Country:
    Sweden Sweden
    Show System Specs
    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
     
  5. volumia

    volumia Portal Pro

    Joined:
    November 23, 2011
    Messages:
    96
    Likes Received:
    18
    Gender:
    Male
    Location:
    whereever my feet take me...
    Ratings:
    +34 / 0
    Home Country:
    Netherlands Netherlands
    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: September 13, 2016
    • Like Like x 1
    • Agree Agree x 1
    • Informative Informative x 1
  6. emphatic
    • Team MediaPortal

    emphatic Design Group

    Joined:
    August 25, 2006
    Messages:
    3,586
    Likes Received:
    828
    Gender:
    Male
    Occupation:
    Surface treatment
    Location:
    Alingsås
    Ratings:
    +1,083 / 2
    Home Country:
    Sweden Sweden
    Show System Specs
    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
     
  7. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    MPCleaner v1.1.0.15 has been uploaded. Please download from here.

    @Emp, this was a change you requested :eek:....
     
    • Disagree Disagree x 1
  8. emphatic
    • Team MediaPortal

    emphatic Design Group

    Joined:
    August 25, 2006
    Messages:
    3,586
    Likes Received:
    828
    Gender:
    Male
    Occupation:
    Surface treatment
    Location:
    Alingsås
    Ratings:
    +1,083 / 2
    Home Country:
    Sweden Sweden
    Show System Specs
    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
     
    • Agree Agree x 1
  9. volumia

    volumia Portal Pro

    Joined:
    November 23, 2011
    Messages:
    96
    Likes Received:
    18
    Gender:
    Male
    Location:
    whereever my feet take me...
    Ratings:
    +34 / 0
    Home Country:
    Netherlands Netherlands
    Would it be an option to revise this version?
    If only to spare others this issue?
     
  10. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,604
    Likes Received:
    449
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +676 / 2
    Home Country:
    England England
    Show System Specs
    Might want to add these as options - I personally use the .nfo and ,srt files extensively.
     
    • Great Idea! Great Idea! x 1
  11. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    Will remove the new enhancement as it seems who requested it is having second thoughts now!! :confused:
     
    • Funny Funny x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!