Bug: Can't delete empty folders
Moderatoren: prl, GaryG, IanSav
Bug: Can't delete empty folders
I've come across a glitch whereby I'm unable to delete empty folders via the GUI. Folders are stored on a network share (NAS).
(BW V2 running 7.5.1 with OverlayHD plugin)
Teddles
(BW V2 running 7.5.1 with OverlayHD plugin)
Teddles
Re: Bug: Can't delete empty folders
Hi Teddles,
Are you sure that the directories are empty? Are there any hidden files in the directory? You you have permission to delete those folders?
Regards,
Ian.
Are you sure that the directories are empty? Are there any hidden files in the directory? You you have permission to delete those folders?
Regards,
Ian.
- Papi2000
- Super Moderator
- Beiträge: 26404
- Registriert: 20 Apr 2013 20:09
- Receiver 1: Viele GigaBlues
- Receiver 2: DM und ZGemma
- Receiver 3: bissl VU
- Hat gedankt: 4529 Mal
- Hat Dank erhalten: 8513 Mal
Re: Bug: Can't delete empty folders
It might be the same, when you try to move (not copy) a sub-directory to a mew location. The content is completely transfered, while the meanwhile empty directory in the source stays there.
Can easy by be tested with a sub-dir in /media/hdd/movie named test, with one or zwo mediafiles (*.ts or *.mp4) in it. Then move that sub-dir to a share.
Can easy by be tested with a sub-dir in /media/hdd/movie named test, with one or zwo mediafiles (*.ts or *.mp4) in it. Then move that sub-dir to a share.
Zuletzt geändert von Papi2000 am 14 Jan 2025 13:33, insgesamt 1-mal geändert.
Grund: Typo
Grund: Typo
Re: Bug: Can't delete empty folders
Ian, if the directory isn't empty then it can be deleted. An empty directory won't delete unless I add a subdir/file to it. Deletion works normally on empty directories on a BW V2 running stock f/w.
Re: Bug: Can't delete empty folders
Understood, but you should be able to then delete the empty directory which isn't the case with oATV on my V2.
Re: Bug: Can't delete empty folders
Hi Teddles,
Is the directory really empty? Have you checked if there is any hidden content remaining?
Regards,
Ian.
Is the directory really empty? Have you checked if there is any hidden content remaining?
Regards,
Ian.
Re: Bug: Can't delete empty folders
Hi Ian,
You've asked me this question in an earlier post. I'll reiterate the issue and furnish some additional details:
- Empty directories in the movie list don't respond to the [delete] action. There is no error/pop-up displayed.
- If content is then added to an empty directory, it can be deleted.
- The same empty directories delete as expected when using a V2 with stock BW f/w
- I can delete empty directories via File Commander/Win File Explorer however.
- Running 7.5.1 with OverlayHD skin; EMC disabled.
Thx,
Teddles
Re: Bug: Can't delete empty folders
Hi Teddles,
I am sorry but I really don't have enough information to address your issue. Can you please send me some logs that include your attempts to delete the directory. I can only hope that an error is being captured in the logs.
Regards,
Ian.
I am sorry but I really don't have enough information to address your issue. Can you please send me some logs that include your attempts to delete the directory. I can only hope that an error is being captured in the logs.
Regards,
Ian.
- ultrafix
- Member
- Beiträge: 455
- Registriert: 27 Dez 2018 06:56
- Receiver 1: Mutant HD51
- Receiver 2: AX 4K HD51
- Hat gedankt: 58 Mal
- Hat Dank erhalten: 147 Mal
Re: Bug: Can't delete empty folders
A long time ago I also had the problem that individual folders could not be deleted. Using in the terminal (Putty) and then the following command, for example
rm -rf /media/hdd/music
then removed the folders forever. Try that.
rm -rf /media/hdd/music
then removed the folders forever. Try that.
Re: Bug: Can't delete empty folders
Hi Teddles,
How are you deleting the directories?
Someone else just ran some tests and sent me a private message to explain the issue. When you say "used the GUI" I assumed you are using "File Commander". The issue has NOTHING to do with File Commander. This is an issue in Movie Selection!
When I ask for more information that includes telling me how to reproduce the issue. You never told me to use Movie Selection so I was testing File Commander!!! Naturally everything was working exactly as I expected.
My crystal ball broke many years ago so there was no way for me to see (or guess) what you were doing! Now that someone else gave me the missing information I can now look into the problem.
Regards,
Ian.
How are you deleting the directories?
Someone else just ran some tests and sent me a private message to explain the issue. When you say "used the GUI" I assumed you are using "File Commander". The issue has NOTHING to do with File Commander. This is an issue in Movie Selection!
When I ask for more information that includes telling me how to reproduce the issue. You never told me to use Movie Selection so I was testing File Commander!!! Naturally everything was working exactly as I expected.
My crystal ball broke many years ago so there was no way for me to see (or guess) what you were doing! Now that someone else gave me the missing information I can now look into the problem.
Regards,
Ian.
Re: Bug: Can't delete empty folders
Hi Teddles (and helper),
The fix for the MovieSelection delete empty folder issue has been submitted. It should be in the next update.
Empty directories we specifically omitted from deletion. While I have now made them delete-able there may be a reason why this capability was originally removed. If someone highlights the reason for that original decision we may need to go back to the original code.
Regards,
Ian.
The fix for the MovieSelection delete empty folder issue has been submitted. It should be in the next update.
Empty directories we specifically omitted from deletion. While I have now made them delete-able there may be a reason why this capability was originally removed. If someone highlights the reason for that original decision we may need to go back to the original code.
Regards,
Ian.
- Jogibär
- VIP
- Beiträge: 3228
- Registriert: 01 Mai 2022 15:00
- Receiver 1: GB ue4k
- Receiver 2: slot1 HDF 7.5 (1gb)
- Receiver 3: slot2 HDF 7.3 (1gb)
- Receiver 4: slot3 ATV 7.5.1 (1gb)
- Hat gedankt: 4460 Mal
- Hat Dank erhalten: 1847 Mal
Re: Bug: Can't delete empty folders
Das löschen sollte aber nur mit leeren ordner gehen, nicht das man ausversehen 100erte filme / mp3 mit drin löscht.
Also meine über movieplayer , movie selection oder ecm.
Wenn man wirklich ordner löschen will , sollte man das dann z.b. im FileCommander machen.
Also meine über movieplayer , movie selection oder ecm.
Wenn man wirklich ordner löschen will , sollte man das dann z.b. im FileCommander machen.
Wer dich dazu bringt, Absurditäten zu glauben, bringt dich auch dazu, Ungeheuerlichkeiten zu tun.
Re: Bug: Can't delete empty folders
Hi Ian,
I did make reference to 'movie list' and 'File Commander' in an earlier post (#7) but it may not have conveyed the right message:
Teddles
Re: Bug: Can't delete empty folders
Hi Teddles,
Anyway, please test the new version and confirm that this issue has been resolved.
Regards,
Ian.
I did not comprehend the distinction. Getting logs or step by step instructions would have allowed me to follow the exact steps you had taken.
Anyway, please test the new version and confirm that this issue has been resolved.
Regards,
Ian.
Re: Bug: Can't delete empty folders
Thanks for your advice but the issue was specific to deletion of empty directories via the Movie Selection list. Apparently, I hadn't made this clear enough in my original posts.
Teddles
-
- Member
- Beiträge: 989
- Registriert: 07 Mai 2019 13:52
- Wohnort: Scotland
- Receiver 1: Gigablue Quad UHD 4K
- Receiver 2: Zgemma H9 Combo
- Hat gedankt: 194 Mal
- Hat Dank erhalten: 217 Mal
Re: Bug: Can't delete empty folders
Off subject but it would also be nice if you could also have pop up asking yes or no same as what has been done for folders,
when deleting individual item i,e, movie or mp3.
At the moment you can accidetally press red button and file is instanty deleted fair enough it goes into Deleted items (Trashcan) and can be recovered if you have Trashcan enabled but those files can also be purged and you would not know and you have lost the file.
Re: Bug: Can't delete empty folders
Hi Urie,
By all means add this wish to the GitHub issue tracker. Your request is valid and reasonable but be aware that there are many users who don't like all the pop up confirmations lurking within Enigma2.
Regards,
Ian.
By all means add this wish to the GitHub issue tracker. Your request is valid and reasonable but be aware that there are many users who don't like all the pop up confirmations lurking within Enigma2.
Regards,
Ian.
-
- Member
- Beiträge: 989
- Registriert: 07 Mai 2019 13:52
- Wohnort: Scotland
- Receiver 1: Gigablue Quad UHD 4K
- Receiver 2: Zgemma H9 Combo
- Hat gedankt: 194 Mal
- Hat Dank erhalten: 217 Mal
Re: Bug: Can't delete empty folders
Yes perhaps , but even then if they don't want it would it be possible to add the option in what I call movie planner settings it is only 1 key press yes or no lt only takes a moment


I have added request on Github
