Project

General

Profile

Bug #3474

Frontend can request delete of all files in Recordin System Path

Added by Steve Williams almost 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Start date:
2016-01-03
Due date:
% Done:

0%

Estimated time:
Found in version:
4.0.6
Affected Versions:

Description

When using Kodi as a front-end it is fine when deleting an individual recording or an entire folder containing multiple episodes of a programme. However, Kodi also allows a delete request to be sent to the back-end when selecting the '..' item in a folder. This causes the entire parent directory to be cleared out, i.e. all recordings.

While this could be corrected by changing the available context menus in the back-end a fix here would ensure that all back-end software would be protected.

History

#1

Updated by Adam Sutton almost 7 years ago

  • Status changed from New to Accepted

I might try and take a look at this one, something to ease me back in.

#2

Updated by Adam Sutton over 6 years ago

  • Status changed from Accepted to Rejected

Actually I've now looked at this and realised there is no concept of a directory delete within the HTSP protocol (used by Kodi). Therefore this must be something that's being done client side to delete all files in a directory.

And having spoken to some Kodi guys (and checked on my own box) it's actually no longer possible (not sure when it was changed, I'm on 15.2?) to bring up a context menu on ".." in Kodi.

#3

Updated by Steve Williams over 6 years ago

I confirm that an update to Kodi 15.2 (or OpenELEC 6.0) does resolve the issue.

Also available in: Atom PDF