2015-03-03, 12:09
Current setup:
(Qty 2) Amazon Fire TV box
Kodi v14.2
Skin: Arctic - Zephyr
Shared Libraries via MySQL
Path Substitution for \Thumbnails directory (to reduce storage demands on AFTV)
SMB sources to my Win 8.1 machine
I am having quite a time with my current major issue, that I think is the underlying root of my other reported 'issues'.
In a short history, I attempted to use the Backup add-on to no avail, receiving a message from Kodi that the drive is write protected. It struck me odd that this addon would complain about smb drive write protection, but still be able to create directories on the smb share, but no any files....so just a ton of empty folders. I tried many things trying to get this to work, believing it has something to do with the way my sharing and permissions were set up. I followed the Kodi Wiki guide (Kodi SMB/Windows), along with a wide array of other possibilities I found on Google and in this forum. Nothing seemed to work, so I gave up pursuing this effort, as I was still able to connect from my Win8.1 machine to my AFTV via the Fire Utility App v0.38, and successfully Backup my settings via the adb console.
Fast forward to now, months later, and my AFTV is beginning to run low on disk space, and I look into implementing Path Substitution of the device's Thumbnails directory so that I can reclaim some storage space from the AFTV. After getting this now configured according to Kodi Wikis and forum posts, it appears that Kodi successfully binds the "<from> - <to>" pair (according to the logs), but is unable to write files. Again, like the Backup addon, this process can successfully create folders on the destination smb share, but it does not create/copy files from the AFTV to the smb share.
Some things I've done/tried:
It is very odd to me that I can moves files back in forth from my Windows machine and the AFTV outside of Kodi, using the native AFTV apps (like ES File Explorer), while any Kodi addons/programs cannot transfer files.
It also puzzles me that these same Kodi addons/programs complain of smb drive write protection, yet are able to create new directories on the Windows machine, but fail to create/transfer any files to that Windows machine. This has occurred for me using at least 2 Kodi addons I'm aware of (Backup, Artwork Downloader).
Some examples of the contents of the kodi.log file are:
Sorry for the long post, but I am grasping for straws now. I'm running out of ideas and would appreciate any additional suggestions.
(Qty 2) Amazon Fire TV box
Kodi v14.2
Skin: Arctic - Zephyr
Shared Libraries via MySQL
Path Substitution for \Thumbnails directory (to reduce storage demands on AFTV)
SMB sources to my Win 8.1 machine
I am having quite a time with my current major issue, that I think is the underlying root of my other reported 'issues'.
In a short history, I attempted to use the Backup add-on to no avail, receiving a message from Kodi that the drive is write protected. It struck me odd that this addon would complain about smb drive write protection, but still be able to create directories on the smb share, but no any files....so just a ton of empty folders. I tried many things trying to get this to work, believing it has something to do with the way my sharing and permissions were set up. I followed the Kodi Wiki guide (Kodi SMB/Windows), along with a wide array of other possibilities I found on Google and in this forum. Nothing seemed to work, so I gave up pursuing this effort, as I was still able to connect from my Win8.1 machine to my AFTV via the Fire Utility App v0.38, and successfully Backup my settings via the adb console.
Fast forward to now, months later, and my AFTV is beginning to run low on disk space, and I look into implementing Path Substitution of the device's Thumbnails directory so that I can reclaim some storage space from the AFTV. After getting this now configured according to Kodi Wikis and forum posts, it appears that Kodi successfully binds the "<from> - <to>" pair (according to the logs), but is unable to write files. Again, like the Backup addon, this process can successfully create folders on the destination smb share, but it does not create/copy files from the AFTV to the smb share.
Some things I've done/tried:
- Believing that it was actually a user credential issue on my Windows 8.1 machine, I went ahead and created a whole new account in Windows, making sure to not include any spaces in the username (my primary account contains a space, and I thought that may have been the original culprit). I correctly setup sharing and applied the proper permissions of this new account to the directories. I have applied 'Full Control' permissions for this newly created account, as well as 'Everyone', to both the Share permissions and the file/folder security permissions.
- I've enabled the 'Guest' account on my Windows machine.
- I've tried the process after completely turning off the Windows Firewall.
- I've completely cleared ALL my Window's machines Sharing permissions, and started over Sharing from scratch.
- I've checked:
Control Panel - Administrative Tools - Local Security Policy - Local Policies - Security Options
Network security: LAN Manager authentication level
Send LM & NTLM responses
Minimum session security for NTLM SSP
Disable Require 128-bit encryption
- I've installed the 'ES File Explorer' app onto my Fire TV. Using the credentials of the new account, I am able to successfully connect to the exact same directory that my backups would be transferring to via the Backup add-on, as well as the Thumbnails directory. I am also able to write and overwrite files in both directions. This leads me to believe that my permissions and credentials are intact.
- Now having the ability to copy files back and forth, I've been able to inspect my 'passwords.xml' and 'sources.xml' files in my Kodi \userdata folder. The content in these files correctly reflect the proper credentials and smb paths.
- Using the 'Fire TV Utility App' on my workstation, I am able to successfully run its backup feature to transfer the same files from the AFTV Kodi installation to my workstation.
It is very odd to me that I can moves files back in forth from my Windows machine and the AFTV outside of Kodi, using the native AFTV apps (like ES File Explorer), while any Kodi addons/programs cannot transfer files.
It also puzzles me that these same Kodi addons/programs complain of smb drive write protection, yet are able to create new directories on the Windows machine, but fail to create/transfer any files to that Windows machine. This has occurred for me using at least 2 Kodi addons I'm aware of (Backup, Artwork Downloader).
Some examples of the contents of the kodi.log file are:
Quote:ERROR: static bool XFILE::CFile::Copy(const CURL&, const CURL&, XFILE::IFileCallback*, void*) - Failed write to file smb://192.168.79.100/Pixar/extrafanart/rrAdTMAH41reM6HKJDdu3HpW2Lf.jpg
Quote:ERROR: static bool XFILE::CFile::Copy(const CURL&, const CURL&, XFILE::IFileCallback*, void*) - Failed write to file smb://BATCOMPUTER/AmazonFireTV/KodiBackups/Main/201503022359/xbmcbackup.val
Quote:00:16:27 T:1725350960 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://USERNAME[email protected]/Movies/extrathumbs/thumb2.jpg
00:16:27 T:1725350960 ERROR: static bool XFILE::CFile::Copy(const CURL&, const CURL&, XFILE::IFileCallback*, void*) - Failed write to file smb://192.168.79.100/Movies/extrathumbs/thumb2.jpg
00:16:27 T:1725350960 DEBUG: CSMBFile::Close closing fd 10000
Sorry for the long post, but I am grasping for straws now. I'm running out of ideas and would appreciate any additional suggestions.