Bug: Can't delete empty folders

Moderatoren: prl, GaryG, IanSav

Antworten
Nachricht
Autor
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Bug: Can't delete empty folders

#1

Beitrag von Teddles »

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
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#2

Beitrag von IanSav »

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.
Benutzeravatar
Papi2000
Super Moderator
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

#3

Beitrag von Papi2000 »

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.
Zuletzt geändert von Papi2000 am 14 Jan 2025 13:33, insgesamt 1-mal geändert.
Grund: Typo
Grüßle
Ralf
--------------------------------------------
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----




Bild
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Re: Bug: Can't delete empty folders

#4

Beitrag von Teddles »

IanSav hat geschrieben: 14 Jan 2025 06:57 Are you sure that the directories are empty?
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.
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Re: Bug: Can't delete empty folders

#5

Beitrag von Teddles »

Papi2000 hat geschrieben: 14 Jan 2025 13:27 The content is completely transfered, while the meanwhile empty directory in the source stays there.
Understood, but you should be able to then delete the empty directory which isn't the case with oATV on my V2.
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#6

Beitrag von IanSav »

Hi Teddles,

Is the directory really empty? Have you checked if there is any hidden content remaining?

Regards,
Ian.
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Re: Bug: Can't delete empty folders

#7

Beitrag von Teddles »

IanSav hat geschrieben: 15 Jan 2025 08:25 Is the directory really empty? Have you checked if there is any hidden content remaining?
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
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#8

Beitrag von IanSav »

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.
Benutzeravatar
ultrafix
Member
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

#9

Beitrag von ultrafix »

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.
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#10

Beitrag von IanSav »

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.
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#11

Beitrag von IanSav »

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.
Benutzeravatar
Jogibär
VIP
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

#12

Beitrag von Jogibär »

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.
Wer dich dazu bringt, Absurditäten zu glauben, bringt dich auch dazu, Ungeheuerlichkeiten zu tun.
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Re: Bug: Can't delete empty folders

#13

Beitrag von Teddles »

IanSav hat geschrieben: 18 Jan 2025 13:16 You never told me to use Movie Selection so I was testing File Commander!!!
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 hat geschrieben: 18 Jan 2025 03:00
  • Empty directories in the movie list don't respond to the [delete] action. There is no error/pop-up displayed.
<snip>
  • I can delete empty directories via File Commander/Win File Explorer however.
Teddles
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#14

Beitrag von IanSav »

Hi Teddles,
Teddles hat geschrieben: 19 Jan 2025 00:30 I did make reference to 'movie list' and 'File Commander' in an earlier post (#7) but it may not have conveyed the right message:
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.
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Re: Bug: Can't delete empty folders

#15

Beitrag von Teddles »

ultrafix hat geschrieben: 18 Jan 2025 06:30 Using in the terminal (Putty) and then the following command, for example
rm -rf /media/hdd/music
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
Benutzeravatar
Teddles
Member
Member
Beiträge: 38
Registriert: 09 Aug 2024 04:14

Re: Bug: Can't delete empty folders

#16

Beitrag von Teddles »

IanSav hat geschrieben: 19 Jan 2025 08:44 please test the new version and confirm that this issue has been resolved.
Tested ... all good!

Thx Ian
urie
Member
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

#17

Beitrag von urie »

IanSav hat geschrieben: 19 Jan 2025 08:44 Hi Teddles,
Teddles hat geschrieben: 19 Jan 2025 00:30 I did make reference to 'movie list' and 'File Commander' in an earlier post (#7) but it may not have conveyed the right message:
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.
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.
Benutzeravatar
IanSav
Moderator
Moderator
Beiträge: 245
Registriert: 21 Apr 2019 06:54
Hat Dank erhalten: 77 Mal

Re: Bug: Can't delete empty folders

#18

Beitrag von IanSav »

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.
urie
Member
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

#19

Beitrag von urie »

IanSav hat geschrieben: 20 Jan 2025 13:30 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.
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 :blum2: rather than mistakenly deleting a movie by mistake :blush:

I have added request on Github :acute:
Antworten

Zurück zu „Bugs/Requests“