Feature request from new user. (1 Viewer)

Timberwolf99

Portal Pro
November 20, 2015
172
61
48
Australia Australia
Country flag
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:

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    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:
    @Echo Off
    attrib -a -r -s -h Thumbs.db /s >nul 2>&1
    echo REMOVING: Thumbs.db
    del /s Thumbs.db >nul 2>&1
    
    FOR /R %%i IN (.) DO (
         IF NOT "%~p0" == "%%~pni\" (
              rd "%%i" >nul 2>&1
              IF NOT EXIST "%%i" ( echo REMOVED: "%%~ni" )
         )
    )
     

    Timberwolf99

    Portal Pro
    November 20, 2015
    172
    61
    48
    Australia Australia
    Country flag
    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.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    1 [Pending] Feature Request: TV-Recording - more intelligence - like WMC please Feature Requests 9
    ltfearme Feature request: Parental Guide IMDb+ 17
    TLD Windows 10 1903 feature update General Support 3
    D Enhance "wake on lan" feature (on demand, not on start) Feature Requests 6
    el Filou Is Windows Media Player still needed on Windows 10 ? MediaPortal 1 Talk 0
    morpheus_xx [Finished] [MP2-779] "Zap back" feature MediaPortal 2 24
    Lehmden Core Ideas about TVE feature developments TV Engine 8
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    HTPCSourcer [fixed] [MP2-815] User not logged in when resuming from standby MediaPortal 2 17
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    BigGranu [Help Me!] User Info Popup/Dialog or ??? MediaPortal 2 1
    V Some Issues with MP2 (ex MCE User) General 1
    R New MP2 user issues: software encoders for analog & plug-in/extension installation General 2
    TheBatfink IPTV Core Filter / No User Agent sent Television (MyTV frontend and TV-Server) 1
    MLH01 MP2 will not delete recordings - log in as admin or user account? General 4
    J Short User Report - trying MP2 General 3
    Top Bottom