Kodi Community Forum
Invalid handle playing FLAC from SMB - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Invalid handle playing FLAC from SMB (/showthread.php?tid=37518)



Invalid handle playing FLAC from SMB - mmorselli - 2008-09-20

After 15/20 minutes, playing FLAC from SMB connection, XBMC hangs and sound get in loop. Tested on two different PC.

No error playing MP3 from the same SMB connection and no error playing the same FLAC from local drive.

here are the last lines of log:

Code:
23:23:53 T:13036 M:1122160640   DEBUG: Playback has started
23:23:53 T:15132 M:1122160640   DEBUG: CGUIInfoManager::SetCurrentSong(smb://MULETTO/flac/Within Temptation/Destroyed/06 - Towards The End.flac)
23:23:53 T:15132 M:1122242560   DEBUG: CFileItem::LoadMusicTag: loading tag information for file: smb://MULETTO/flac/Within Temptation/Destroyed/06 - Towards The End.flac
23:23:53 T:15132 M:1122242560   DEBUG: CFileSMB::Open - opened flac/Within Temptation/Destroyed/06 - Towards The End.flac, fd=10000
23:23:53 T:15132 M:1122246656   DEBUG: CFileSMB::Close closing fd 10000
23:23:53 T:15132 M:1122246656   DEBUG: Loading additional tag info for file smb://MULETTO/flac/Within Temptation/Destroyed/06 - Towards The End.flac
23:23:53 T:15132 M:1122246656   DEBUG: CFileSMB::Open - opened flac/Within Temptation/Destroyed/06 - Towards The End.flac, fd=10000
23:23:53 T:15132 M:1122242560   DEBUG: CFileSMB::Close closing fd 10000
23:24:29 T:15168 M:1122365440    INFO: smb: write_data: write failure. Error = No error
23:24:29 T:15168 M:1122365440    INFO: smb: write_socket: Error writing 59 bytes to socket 808: ERRNO = No error
23:24:29 T:15168 M:1122357248    INFO: smb: Error writing 59 bytes to client. -1 (No error)
23:24:29 T:15168 M:1122340864   ERROR: XFILE::CFileSMB::Read - Error( Invalid handle )
23:24:29 T:15168 M:1122340864    INFO: CFileCache::Process - Hit eof.



- mmorselli - 2008-09-22

Can anyone confirm this bug ? May I post a ticket on trac ?


- WiSo - 2008-09-22

The smb client in win32 is known to be faulty since the port effort for the newest one is to high. Mount the shares on OS level and access them locally via XBMC should solve the issue.


- pitpawten - 2008-09-26

Quote:Mount the shares on OS level and access them locally via XBMC should solve the issue.
That is to create a mapped drive from the SMB shares and browse through the newly created drive letter right?

Just for Win32 user clarity.