Kodi Community Forum

Full Version: Folder with files cannot be deleted from File View
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OpenElec on Raspberry Pi version Kodi RC 3

I have videos mounted from SMB share, i can delete video from library (Manage -> delete from library -> where I delete record from library and in next step from SMB share -> file is deleted)
Permission is ok, the file is deleted but not the folder -> which is ok

From file View I can delete empty folder, but if I try to delete folder with video file inside it It is not successfull. No error, just the folder is not deleted.
Context Menu -> Delete -> Confirmation -> Page gets reloaded, but the folder stayed

I have option enabled, for deleting files in settings

Is this a feature or a bug ?
Upload a debug log (wiki) of when you try to delete the video.
Debug log

22:22:33 T:2945786944 DEBUG: PushCecKeypress - received key b duration 0
22:22:33 T:3042942976 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
22:22:33 T:3042942976 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
22:22:33 T:2945786944 DEBUG: PushCecKeypress - received key b duration 229
22:22:33 T:3042942976 DEBUG: CAnnouncementManager - Announcement: OnRemove from xbmc
22:22:33 T:3042942976 DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnRemove
22:22:33 T:3042942976 DEBUG: ------ Window Init (DialogYesNo.xml) ------
22:22:34 T:2945786944 DEBUG: PushCecKeypress - received key a9 duration 0
22:22:34 T:3042942976 DEBUG: OnKey: 169 (0xa9) pressed, action is Left
22:22:34 T:2945786944 DEBUG: PushCecKeypress - received key a9 duration 225
22:22:35 T:2945786944 DEBUG: PushCecKeypress - received key b duration 0
22:22:35 T:3042942976 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
22:22:35 T:2945786944 DEBUG: PushCecKeypress - received key b duration 230
22:22:35 T:3042942976 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
22:22:35 T:3042942976 DEBUG: FileManager: delete smb://NAS/Videos/Filmi/Grupo.7.2012.SLOSubs.1080p.BluRay.x264.DTS-HDChina/Grupo.7.2012.1080p.BluRay.x264.DTS-HDChina.mkv
22:22:35 T:3042942976 ERROR: Delete - Error( No such file or directory )
22:22:35 T:3042942976 DEBUG: CGUIMediaWindow::GetDirectory (videodb://movies/titles/)
22:22:35 T:3042942976 DEBUG: ParentPath = [videodb://movies/titles/]

Interesting, debug log sayes file not found, but the file exists
the movie is playing normally, delete from library works
Maybe this is more exact log life -> download
This problem still exists

It happens only when the movie is scanned into Library. If you try to delete movie from Library it is possible, if you try to delete it from File View, the nothing happens. If I want completly to delete movie in a Folder I must delete it from library, the go to file view and delete the folder.

If the movie is not scanned into library, deleting a folder has no problem