Feature request from new user.

Discussion in 'My TVSeries' started by Timberwolf99, February 6, 2016.

  1. Timberwolf99

    Timberwolf99 Portal Pro

    Joined:
    November 20, 2015
    Messages:
    172
    Likes Received:
    25
    Gender:
    Male
    Ratings:
    +61 / 1
    Home Country:
    Australia Australia
    Show System Specs
    Hi I'm anew user here, currently running mp on my home pc with a tuner card, I just love this plugin.



    Anyhow to my request, after playing around and deleting some watch shows in mp, I realised the folder structure was still there only empty. So I was wondering if some provision could be made to delete empty folder while deleting inside mp. Could be hiracial. If you delete the episode maintain standard procedure and delete episode, if the season is deleted delete the season folder and contents, same with series title.

    This could be made an option called something like "use heiracial deletion" with a checkbox and also a checkbox for confirm deletion could be linked to the same process to stop unwanted deletions.

    "Are you sure you want to delete series "series name" please note this is irreversible. Y/N".

    Or

    "Are you sure you want to delete season # of "series name" please note this is irreversible. Y/N".

    Also I have found that when deleting stuff from within mo I can still play it, it only gets fully removed when I empty my recycle bin.

    Thanks in advance.
     
    Last edited: February 7, 2016
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    Files getting placed in your recycle bin is an OS setting. Adjust your recycle bin properties to permanently delete them by default then.

    As for cleaning up empty folders, you could run a simple batch script at root folder level such as:

    Code (Text):
    1. @Echo Off
    2. attrib -a -r -s -h Thumbs.db /s >nul 2>&1
    3. echo REMOVING: Thumbs.db
    4. del /s Thumbs.db >nul 2>&1
    5.  
    6. FOR /R %%i IN (.) DO (
    7.      IF NOT "%~p0" == "%%~pni\" (
    8.           rd "%%i" >nul 2>&1
    9.           IF NOT EXIST "%%i" ( echo REMOVED: "%%~ni" )
    10.      )
    11. )
     
  4. Timberwolf99

    Timberwolf99 Portal Pro

    Joined:
    November 20, 2015
    Messages:
    172
    Likes Received:
    25
    Gender:
    Male
    Ratings:
    +61 / 1
    Home Country:
    Australia Australia
    Show System Specs
    Rochess,

    For my first idea I thought it would give a more polished feel to the plugin.

    I could change my is settings, but that's a global setting and everything would be deleted permanently.

    I'm not a big user or fan of batch files as they can have some unintended results if not tested properly.
     
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!