Kodi Community Forum

Full Version: Can't delete files any more on KODI on Amazon Fire TV
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I used to be able to delete files from within KODI on Amazon Fire TV. Recently, it does not work any more (option/delete). It does not show an error - the file just stays there. I have tried with a couple of different USB devices, and the problem is still present on each of them.

I tried on 15.2 and updated to 16, and it still doesn't work. Thoughts?

Thanks!
Thread moved to Android.

Check under system > appearance > file list that deletion is enabled.
(2016-03-05, 23:32)DarrenHill Wrote: [ -> ]Thread moved to Android.

Check under system > appearance > file list that deletion is enabled.

Thanks for your message!

I did check this setting, it's enabled. Still can't delete files. Deleting them manually via ES File Explorer works, for example, but not from within KODI. I am not 100% sure, but I think this started with the Fire OS 5 update.
Any suggestions?
debug_log (wiki) of you trying to delete the files might be helpful
I have the same issue ever since the last fire tv update
.
The log is:
----------------------------------------
17:48:25 T:18446744072295102096 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
17:48:25 T:18446744072295102096 ERROR: virtual bool XFILE::CSMBFile:Big Grinelete(const CURL&) - Error( Invalid argument )
17:48:25 T:18446744072295102096 ERROR: static bool XFILE::CFile:Big Grinelete(const CURL&) - Error deleting file smb://DAVID-VAIO/Downloads/Long/Marvels.Agents.of.S.H.I.E.L.D.S03E13.720p.HDTV.x264-AVS.mkv
17:48:25 T:18446744072295102096 DEBUG: CGUIMediaWindow::GetDirectory (smb://DAVID-VAIO/Downloads/Long/)
17:48:25 T:18446744072295102096 DEBUG: ParentPath = [smb://DAVID-VAIO/Downloads/Long/]
17:48:25 T:18446744072295102096 DEBUG: int CVideoDatabase::RunQuery(const string&) took 1 ms for 69 items query: SELECT files.strFilename, files.playCount, bookmark.timeInSeconds, bookmark.totalTimeInSeconds FROM files LEFT JOIN bookmark ON files.idFile = bookmark.idFile AND bookmark.type = 1 WHERE files.idPath=1134
17:48:25 T:18446744072360533584 DEBUG: Thread BackgroundLoader start, auto delete: false
17:48:25 T:18446744072360533584 DEBUG: Thread BackgroundLoader 18446744072360533584 terminating
17:48:55 T:18446744072381506416 DEBUG: Thread JobWorker 18446744072381506416 terminating (autodelete)
----------------------------------------

Any idea why deletion fails?
Any update on this?
(2016-04-10, 13:38)kavakava Wrote: [ -> ]Any update on this?
You were asked to provide an update log. The more knowledgeable Kodi members need to see what's going on in your system. Hard to help without it.

The log provided by the other user was just a snippet and may not be the same problem. It looked like the file was on a network share so it's may be as easy as no permissions to delete on that share.

Idok Fire
I have the same issue trying to delete file from USB. I'm on Jarvis and FireTV 1st gen, this worked before, not sure why it stopped recently (maybe a FTV update?). Here's the debug log: http://xbmclogs.com/pso5kubet

Here's the snippet

10:28:08 T:18446744072518309712 DEBUG: int CVideoDatabase::RunQuery(const string&) took 7 ms for 7 items query: select * from movie_view WHERE ((movie_view.playCount IS NULL OR movie_view.playCount = 0))
10:28:08 T:18446744072509564512 DEBUG: bool CInputManager::OnKey(const CKey&): return (0xf00d) pressed, action is Select
10:28:08 T:18446744072509564512 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
10:28:08 T:18446744072509564512 WARNING: virtual bool XFILE::CPosixFile:Big Grinelete(const CURL&): Can't access file "/storage/usbdisk/Media/Movies/Terminator Salvation (2009)/Terminator Salvation (2009).mp4"
10:28:08 T:18446744072509564512 ERROR: static bool XFILE::CFile:Big Grinelete(const CURL&) - Error deleting file /storage/usbdisk/Media/Movies/Terminator Salvation (2009)/Terminator Salvation (2009).mp4

Let me know if the debug log is helpful or if you need anything else.
Any ideas on this? Appears to also affect writing to USB, even though I can read/write to USB outside on Kodi. Help is very much appreciated. Logs are available on my previous post.
This thread resolved my issue by pointing to the specified path:
http://forum.kodi.tv/showthread.php?tid=265372
I have the same issue on v 16 , and now on v 17 RC. I an using kodi on SONY android TV . android V6 and kodi is granted storage permission.
it seams like a bug.