Hi,

- upload a video to the server from a mobile phone under IOS 
- delete the video from the application under IOS

Why the directories are not deleted on the piwigo server?
There are still there, even empty?
Thank you

```
 $ ls -lalrtR 11
11:
total 16
drwxrwxrwx 5 www-data www-data 4096 Nov  3 11:35 ..
drwxrwxrwx 4 www-data www-data 4096 Nov  7 08:41 .
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 07
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 03

11/07:
total 16
-rw-rw-rw- 1 www-data www-data   12 Nov  7 08:41 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov  7 08:41 ..
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 .
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 pwg_representative

11/07/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data   12 Nov  7 08:41 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 .

11/03:
total 16
-rw-rw-rw- 1 www-data www-data   12 Nov  3 11:35 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov  7 08:41 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 pwg_representative
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 .

11/03/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data   12 Nov  3 11:35 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 .
```
IOS : mobile apple 7 plus with latest testflight version 3.1 (540
Piwigo server : 13.8.0  under raspberry pi  4 Model B Rev 1.4  under OS Raspbian GNU/Linux 11 (bullseye) aarch64
directories not deleted on server when a video is deleted
This is a GitHub Issue
repo:Piwigo
owner:Piwigo
Title : directories not deleted on server when a video is deleted
Issue date:

--- start body ---
Hi,

- upload a video to the server from a mobile phone under IOS 
- delete the video from the application under IOS

Why the directories are not deleted on the piwigo server?
There are still there, even empty?
Thank you

```
 $ ls -lalrtR 11
11:
total 16
drwxrwxrwx 5 www-data www-data 4096 Nov  3 11:35 ..
drwxrwxrwx 4 www-data www-data 4096 Nov  7 08:41 .
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 07
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 03

11/07:
total 16
-rw-rw-rw- 1 www-data www-data   12 Nov  7 08:41 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov  7 08:41 ..
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 .
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 pwg_representative

11/07/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data   12 Nov  7 08:41 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 .

11/03:
total 16
-rw-rw-rw- 1 www-data www-data   12 Nov  3 11:35 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov  7 08:41 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 pwg_representative
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 .

11/03/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data   12 Nov  3 11:35 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 .
```
IOS : mobile apple 7 plus with latest testflight version 3.1 (540
Piwigo server : 13.8.0  under raspberry pi  4 Model B Rev 1.4  under OS Raspbian GNU/Linux 11 (bullseye) aarch64
--- end body ---
