SMB issue: "Failed to stat file"
#1
I'm running XBMC 11.0 on an ATV2 and I've added shares to two directories on my SMB shared Hard drive (TV & Movies).
The Movies directory seemed to scan OK, and now lists the movies with all album art etc.
But TV has not scanned at all.
In the log it looks like it's borking the path to each file as it scans.
The log has loads of entries like this:
Code:
20:11:37 T:83140608   ERROR: GetDirectory - Failed to stat file smb://192%2e168%2e1%2e1/Share/USBDisk%5f1/Movies/%20Clockwork%20Orange%2eavi
20:11:37 T:83140608   ERROR: GetDirectory - Failed to stat file smb://192%2e168%2e1%2e1/Share/USBDisk%5f1/Movies/eth%20MacFarlanes%20Cavalcade%20of%20Cartoon%20Comedy%2eavi
20:11:37 T:83140608   ERROR: GetDirectory - Failed to stat file smb://192%2e168%2e1%2e1/Share/USBDisk%5f1/Movies/ill%20Hicks%20%2d%20One%20Night%20Stand%2eavi

It seems like it's trimming the first character from every filename. Any idea how to fix this?

Thanks

UPDATE:
I made sure I had the latest nightly, deleted all my sources, and re-added them from the UI. Still the same error.
This used to work fine, but then I updated to the latest version. So pretty sure it's not my SMB setup.

UPDATE2:
I can browse the files in the share I added and most of them have the first character of the filename trimmed and so don't play. Some don't though.
I can't spot any pattern in those trimmed and those not.
Reply
#2
I am having similar problems. I added a smb share as source and browsing it via Videos-Files.
The list of folders shows up, but very quickly xbmc freezes. Sometimes I can move the cursor around before it happens. It definetely happens when I press ENTER on a folder trying to enter it.

xbmc.log

Code:
20:17:41 T:1099715088   ERROR: GetDirectory - Failed to stat file smb://NAS/download/movies/%28arthouse%29%20Pedro%2eAlmod%5fvar%2eMujeres%2eal%2eBorde%2ede%2eun%2eAtaque%2ede%2eNervios%2e1988%2eDVD5%2eNL

every time it complains about this folder, even though I never tried to enter it.
Reply
#3
Hi,

Did either of you ever get a fix to this?

I'm getting the same behaviour on RaspBMC

Code:
smb://BELKINSERVER/elements/Media/S/Planet.Earth/lanet.Earth.s01e02.mkv
07:19:53 T:2802754624   ERROR: GetDirectory - Failed to stat file smb://BELKINSERVER/elements/Media/S/Planet.Earth/lanet.Earth.s01e04.mkv
07:19:53 T:2802754624   ERROR: GetDirectory - Failed to stat file smb://BELKINSERVER/elements/Media/S/Planet.Earth/lanet.Earth.s01e06.mkv
07:19:53 T:2802754624   ERROR: GetDirectory - Failed to stat file smb://BELKINSERVER/elements/Media/S/Planet.Earth/lanet.Earth.s01e08.mkv
07:19:53 T:2802754624   ERROR: GetDirectory - Failed to stat file smb://BELKINSERVER/elements/Media/S/Planet.Earth/lanet.Earth.s01e10.mkv

Thanks,

Och
Reply
#4
use ip instead of netbios name. Netbios resolultion might be wonky on some networks ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
Memphiz,

Thanks I tried using IP and it didn't make any difference. I've ended up mounting the SMB share as a local drive and using that as a source. That all works fine, the underlying Linux seems to be able to handle it correctly.

Och
Reply
#6
means you are not talking about xbmc running on ios i guess...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
SMB issue: "Failed to stat file"0