gilsonsjc 0 Posted March 6, 2019 Posted March 6, 2019 HI everyone! I am trying to add my anonymous smb share to the Emby Server running on Shield TV. The path to the folder I want to use is: /Public/Shared Videos/4K and the server address is 192.168.1.10 I have set it up like this: The scan ran but did not pick up anything (that solder is packed with content correctly named). I checked the logs and see a bunch of issues: 2019-03-06 15:21:02.120 Error BaseItem: Error refreshing owned items for smb://192.168.1.10 *** Error Report *** Version: 4.0.2.0 Command line: /data/app/com.emby.embyserver-l143CMqG6u2I4RXagdPVdg==/base.apk Operating system: Unix 4.9.109.2 64-Bit OS: True 64-Bit Process: True User Interactive: False Processor count: 4 Program data path: /storage/emulated/0/Android/data/com.emby.embyserver/files Application directory: /data/user/0/com.emby.embyserver Mono: 5.14.0 (explicit/000780ca82c) Android Version: 8.0.0-REL - SDK: 26 'O' Patch Level: 3664093_1378.1894 (2018-11-05) Fingerprint: NVIDIA/darcy/darcy:8.0.0/OPR6.170623.010/3664093_1378.1894:user/release-keys Model: SHIELD Android TV - NVIDIA/NVIDIA Hardware: darcy/darcy/darcy/unknown SupportedAbis: arm64-v8a, armeabi-v7a, armeabi SharpCifs.Smb.SmbException: SharpCifs.Smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.10 at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00194] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x00010] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x0000e] in <5837600bbe23491d837720283845e3f2>:0 at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries (System.String path) [0x00010] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren (MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x00007] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem+<RefreshMetadata>d__375.MoveNext () [0x0004f] in <cfccc33decfd40b28d2cdd95a15fa857>:0 SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect (System.Int64 timeout) [0x001c2] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbTransport.Connect () [0x00006] in <5837600bbe23491d837720283845e3f2>:0 SharpCifs.Util.Transport.TransportException: Connection timeout at SharpCifs.Util.Transport.Transport.Connect (System.Int64 timeout) [0x0012d] in <5837600bbe23491d837720283845e3f2>:0 Source: Emby.Server.Implementations TargetSite: Void DoShareEnum(System.Collections.Generic.List`1[System.Object], Boolean, System.String, Int32, SharpCifs.Smb.ISmbFilenameFilter, SharpCifs.Smb.ISmbFileFilter) at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00194] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x00010] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x0000e] in <5837600bbe23491d837720283845e3f2>:0 at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries (System.String path) [0x00010] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren (MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x00007] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem+<RefreshMetadata>d__375.MoveNext () [0x0004f] in <cfccc33decfd40b28d2cdd95a15fa857>:0 2019-03-06 15:21:11.922 Info HttpServer: HTTP GET http://192.168.1.182:8096/emby/System/Logs/Log?name=embyserver.txt. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 Could you please check and let me know what I am doing wrong? Thanks Gilson
rbjtech 4880 Posted March 6, 2019 Posted March 6, 2019 (edited) Emby uses standard UNC naming - so you probably want \\192.168.1.10\Public\Shared Videos\4K in both folder and optional boxes. Only SMBv1 allows anonymous shares and since wannacry has been disabled/depreciated in a lot of OS (and correctly so) - so I believe you will be likely using SMBv2(or 3) and this needs a username and password to work. The easiest way to test this is simply type this in the search option in whatever os you can and it should open another window listing all the media - if that works, then so will Emby. Edited March 6, 2019 by rbjtech
gilsonsjc 0 Posted March 6, 2019 Author Posted March 6, 2019 Emby uses standard UNC naming - so you probably want \\192.168.1.10\Public\Shared Videos\4K in both folder and optional boxes. Only SMBv1 allows anonymous shares and since wannacry has been disabled/depreciated in a lot of OS (and correctly so) - so I believe you will be likely using SMBv2(or 3) and this needs a username and password to work. The easiest way to test this is simply type this in the search option in whatever os you can and it should open another window listing all the media - if that works, then so will Emby. I use the same smb share on Kodi running on the same Shield TV and it works just fine. I can login anonymously using Finder on the smb as well. I tried what you said and it does not work. The UI does not allow me to enter the same information on both fields, so it looks like this: The error message I see in the log is: 2019-03-06 18:15:14.677 Error BaseItem: Error refreshing owned items for smb://192.168.1.10 *** Error Report *** Version: 4.0.2.0 Command line: /data/app/com.emby.embyserver-l143CMqG6u2I4RXagdPVdg==/base.apk Operating system: Unix 4.9.109.2 64-Bit OS: True 64-Bit Process: True User Interactive: False Processor count: 4 Program data path: /storage/emulated/0/Android/data/com.emby.embyserver/files Application directory: /data/user/0/com.emby.embyserver Mono: 5.14.0 (explicit/000780ca82c) Android Version: 8.0.0-REL - SDK: 26 'O' Patch Level: 3664093_1378.1894 (2018-11-05) Fingerprint: NVIDIA/darcy/darcy:8.0.0/OPR6.170623.010/3664093_1378.1894:user/release-keys Model: SHIELD Android TV - NVIDIA/NVIDIA Hardware: darcy/darcy/darcy/unknown SupportedAbis: arm64-v8a, armeabi-v7a, armeabi SharpCifs.Smb.SmbException: SharpCifs.Smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.10 at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00194] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x00010] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x0000e] in <5837600bbe23491d837720283845e3f2>:0 at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries (System.String path) [0x00010] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren (MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x00007] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem+<RefreshMetadata>d__375.MoveNext () [0x0004f] in <cfccc33decfd40b28d2cdd95a15fa857>:0 SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect (System.Int64 timeout) [0x001c2] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbTransport.Connect () [0x00006] in <5837600bbe23491d837720283845e3f2>:0 SharpCifs.Util.Transport.TransportException: Connection timeout at SharpCifs.Util.Transport.Transport.Connect (System.Int64 timeout) [0x0012d] in <5837600bbe23491d837720283845e3f2>:0 Source: Emby.Server.Implementations TargetSite: Void DoShareEnum(System.Collections.Generic.List`1[System.Object], Boolean, System.String, Int32, SharpCifs.Smb.ISmbFilenameFilter, SharpCifs.Smb.ISmbFileFilter) at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00194] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x00010] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive) [0x0000e] in <5837600bbe23491d837720283845e3f2>:0 at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries (System.String path) [0x00010] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren (MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x00007] in <cfccc33decfd40b28d2cdd95a15fa857>:0 at MediaBrowser.Controller.Entities.BaseItem+<RefreshMetadata>d__375.MoveNext () [0x0004f] in <cfccc33decfd40b28d2cdd95a15fa857>:0
torrys 1 Posted March 6, 2019 Posted March 6, 2019 Try setting up your network share with the shield interface first and then it's easily accessible inside Emby
rbjtech 4880 Posted March 6, 2019 Posted March 6, 2019 (edited) Hmm - my UNC paths to SMB shares are listed below as an example. You don't 'need' the optional UNC path but unless the first part (bold) is UNC it is not going to work. \\192.168.1.10 is the machine 'name' but you need the share name too. How is Kodi listing the share ? From the log - it shows as correctly formatted UNC paths .. 2019-03-06 08:22:55.787 Info LibraryMonitor: Watching directory \\server\Media\HDD01\Films 12019-03-06 08:22:55.789 Info LibraryMonitor: Watching directory \\server\Media\HDD02\TV Series 12019-03-06 08:22:55.792 Info LibraryMonitor: Watching directory \\server\Media\HDD03\Films 22019-03-06 08:22:55.794 Info LibraryMonitor: Watching directory \\server\Media\HDD04\Films 42019-03-06 08:22:55.796 Info LibraryMonitor: Watching directory \\server\Media\HDD05\TV Series 22019-03-06 08:22:55.799 Info LibraryMonitor: Watching directory \\server\Media\HDD07\Films 32019-03-06 08:22:55.800 Info LibraryMonitor: Watching directory \\server\Media\HDD08\Films72019-03-06 08:22:55.802 Info LibraryMonitor: Watching directory \\server\Media\HDD08\TVSeries52019-03-06 08:22:55.804 Info LibraryMonitor: Watching directory \\server\Media\HDD09\Films82019-03-06 08:22:55.808 Info LibraryMonitor: Watching directory \\server\Media\HDD09\TVSeries62019-03-06 08:22:55.811 Info LibraryMonitor: Watching directory \\server\Media\HDD11\Films 62019-03-06 08:22:55.813 Info LibraryMonitor: Watching directory \\server\Media\HDD11\TV Series 42019-03-06 08:22:55.816 Info LibraryMonitor: Watching directory \\server\Media\HDD13\Films 5 Edited March 6, 2019 by rbjtech
gilsonsjc 0 Posted March 7, 2019 Author Posted March 7, 2019 Try setting up your network share with the shield interface first and then it's easily accessible inside Emby Hi - would you tell me if there any tool that allow me to mount those drives in Shield? I can tell you that I can easily access then using ES File Explorer.
unhooked 17 Posted March 7, 2019 Posted March 7, 2019 shield settings, storage&reset, mount network storage. it'll then show up something like /storage/SERVER/Shared/videos But your storage will be read only until the next nvidia update. 1
gilsonsjc 0 Posted March 7, 2019 Author Posted March 7, 2019 Hmm - my UNC paths to SMB shares are listed below as an example. You don't 'need' the optional UNC path but unless the first part (bold) is UNC it is not going to work. \\192.168.1.10 is the machine 'name' but you need the share name too. How is Kodi listing the share ? From the log - it shows as correctly formatted UNC paths .. 2019-03-06 08:22:55.787 Info LibraryMonitor: Watching directory \\server\Media\HDD01\Films 1 2019-03-06 08:22:55.789 Info LibraryMonitor: Watching directory \\server\Media\HDD02\TV Series 1 2019-03-06 08:22:55.792 Info LibraryMonitor: Watching directory \\server\Media\HDD03\Films 2 2019-03-06 08:22:55.794 Info LibraryMonitor: Watching directory \\server\Media\HDD04\Films 4 2019-03-06 08:22:55.796 Info LibraryMonitor: Watching directory \\server\Media\HDD05\TV Series 2 2019-03-06 08:22:55.799 Info LibraryMonitor: Watching directory \\server\Media\HDD07\Films 3 2019-03-06 08:22:55.800 Info LibraryMonitor: Watching directory \\server\Media\HDD08\Films7 2019-03-06 08:22:55.802 Info LibraryMonitor: Watching directory \\server\Media\HDD08\TVSeries5 2019-03-06 08:22:55.804 Info LibraryMonitor: Watching directory \\server\Media\HDD09\Films8 2019-03-06 08:22:55.808 Info LibraryMonitor: Watching directory \\server\Media\HDD09\TVSeries6 2019-03-06 08:22:55.811 Info LibraryMonitor: Watching directory \\server\Media\HDD11\Films 6 2019-03-06 08:22:55.813 Info LibraryMonitor: Watching directory \\server\Media\HDD11\TV Series 4 2019-03-06 08:22:55.816 Info LibraryMonitor: Watching directory \\server\Media\HDD13\Films 5 Here's some proof the smb share exists and I can access it using my computer (also using ES File Explorer, Kodi or nay device connected to my home network etc) The add library interface does not allow me to enter the paths as you are doing at your side. I can enter the same path on both fields and get an error after clicking ok There are some errors in the JS console. Here are the headers: Request URL: http://192.168.1.182:8096/emby/Environment/ValidatePath Request Method: POST Status Code: 500 Internal Server Error Remote Address: 192.168.1.182:8096 Referrer Policy: no-referrer-when-downgrade Access-Control-Allow-Origin: * Connection: Close Content-Type: text/html Date: Thu, 07 Mar 2019 01:19:48 GMT Server: Microsoft-NetCore/2.0 Transfer-Encoding: Chunked Accept: */* Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9,pt;q=0.8 Connection: keep-alive Content-Length: 55 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Host: 192.168.1.182:8096 Origin: http://192.168.1.182:8096 Referer: http://192.168.1.182:8096/web/index.html User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 X-Emby-Authorization: MediaBrowser Client="Emby Mobile", Device="Chrome", DeviceId="TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTRfMykgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcyLjAuMzYyNi4xMTkgU2FmYXJpLzUzNy4zNnwxNTUxODkyODEzNjc4", Version="4.0.2.0", Token="d7c9edd4da5c4098bead86185847d490" Path: \\192.168.1.10\Public\Shared Videos\4K Here is the JS console error: apphost.js?v=4.0.2.0:1 triggering app resume event apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.182:8096/emby/Environment/ValidatePath apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.182:8096/emby/Users/844f00baf35a41d9b052ad871b510ff0 apphost.js?v=4.0.2.0:1 app is hidden apphost.js?v=4.0.2.0:1 triggering app resume event apiclient.js?v=4.0.2.0:1 POST http://192.168.1.182:8096/emby/Environment/ValidatePath 500 (Internal Server Error) getFetchPromise @ apiclient.js?v=4.0.2.0:1 ApiClient.fetch @ apiclient.js?v=4.0.2.0:1 ApiClient.ajax @ apiclient.js?v=4.0.2.0:1 validatePath @ directorybrowser.js?v=4.0.2.0:1 (anonymous) @ directorybrowser.js?v=4.0.2.0:1 index.html#!#dlg1551921470584:1 Uncaught (in promise) undefined Promise.then (async) (anonymous) @ directorybrowser.js?v=4.0.2.0:1 apphost.js?v=4.0.2.0:1 app is hidden apphost.js?v=4.0.2.0:1 triggering app resume event I am not sure if it is related, but the server IP that shows up on the Emby Server is totally wrong: This is the actual Shield TV IP (the one I am using to access the dashboard in the browser) Maybe we have to fix this IP problem first? What can I do?
gilsonsjc 0 Posted March 7, 2019 Author Posted March 7, 2019 shield settings, storage&reset, mount network storage. it'll then show up something like /storage/SERVER/Shared/videos But your storage will be read only until the next nvidia update. Ok, I did that - now how do I find that mount directory/path?
unhooked 17 Posted March 7, 2019 Posted March 7, 2019 Ok, I did that - now how do I find that mount directory/path? it'll show up in the browser when you add a library, will be under /storage somewhere. 1
rbjtech 4880 Posted March 7, 2019 Posted March 7, 2019 Here's some proof the smb share exists and I can access it using my computer (also using ES File Explorer, Kodi or nay device connected to my home network etc) The add library interface does not allow me to enter the paths as you are doing at your side. I can enter the same path on both fields and get an error after clicking ok There are some errors in the JS console. Here are the headers: Request URL: http://192.168.1.182:8096/emby/Environment/ValidatePath Request Method: POST Status Code: 500 Internal Server Error Remote Address: 192.168.1.182:8096 Referrer Policy: no-referrer-when-downgrade Access-Control-Allow-Origin: * Connection: Close Content-Type: text/html Date: Thu, 07 Mar 2019 01:19:48 GMT Server: Microsoft-NetCore/2.0 Transfer-Encoding: Chunked Accept: */* Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.9,pt;q=0.8 Connection: keep-alive Content-Length: 55 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Host: 192.168.1.182:8096 Origin: http://192.168.1.182:8096 Referer: http://192.168.1.182:8096/web/index.html User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 X-Emby-Authorization: MediaBrowser Client="Emby Mobile", Device="Chrome", DeviceId="TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTRfMykgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcyLjAuMzYyNi4xMTkgU2FmYXJpLzUzNy4zNnwxNTUxODkyODEzNjc4", Version="4.0.2.0", Token="d7c9edd4da5c4098bead86185847d490" Path: \\192.168.1.10\Public\Shared Videos\4K Here is the JS console error: apphost.js?v=4.0.2.0:1 triggering app resume event apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.182:8096/emby/Environment/ValidatePath apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.182:8096/emby/Users/844f00baf35a41d9b052ad871b510ff0 apphost.js?v=4.0.2.0:1 app is hidden apphost.js?v=4.0.2.0:1 triggering app resume event apiclient.js?v=4.0.2.0:1 POST http://192.168.1.182:8096/emby/Environment/ValidatePath 500 (Internal Server Error) getFetchPromise @ apiclient.js?v=4.0.2.0:1 ApiClient.fetch @ apiclient.js?v=4.0.2.0:1 ApiClient.ajax @ apiclient.js?v=4.0.2.0:1 validatePath @ directorybrowser.js?v=4.0.2.0:1 (anonymous) @ directorybrowser.js?v=4.0.2.0:1 index.html#!#dlg1551921470584:1 Uncaught (in promise) undefined Promise.then (async) (anonymous) @ directorybrowser.js?v=4.0.2.0:1 apphost.js?v=4.0.2.0:1 app is hidden apphost.js?v=4.0.2.0:1 triggering app resume event I am not sure if it is related, but the server IP that shows up on the Emby Server is totally wrong: This is the actual Shield TV IP (the one I am using to access the dashboard in the browser) Maybe we have to fix this IP problem first? What can I do? Most definitely yes - those two subnets (unless you have routing in place..) will not be able to communicate with each other. 192.168.49.x is a 'Wifi-direct' type network from Nvidia whilst the 192.168.1.x is your local LAN. Once all devices are on the 192.168.1.x network, then it should all spring into life I believe but I don't own a Shield so I can't help you with configuring that specifically I'm afraid but presumably the shield 'should' just pick up an IP address from your internet router via DHCP ?
gilsonsjc 0 Posted March 7, 2019 Author Posted March 7, 2019 Most definitely yes - those two subnets (unless you have routing in place..) will not be able to communicate with each other. 192.168.49.x is a 'Wifi-direct' type network from Nvidia whilst the 192.168.1.x is your local LAN. Once all devices are on the 192.168.1.x network, then it should all spring into life I believe but I don't own a Shield so I can't help you with configuring that specifically I'm afraid but presumably the shield 'should' just pick up an IP address from your internet router via DHCP ? Thanks for the reply, but it does not make any sense in my case for the following reasons: 1. Nvidia Shield is not connected in a different subnet. 2. It is connected to the same router as the NAS I am trying to connect to and other equipment I have. 3. The IP address that Emby tells it is the one is completely wrong (192.168.49.x), it does not even exist 4. In the screenshot I've provided from Shield you can see its real IP address: 192.168.1.182 - and that's the ip address I am using to connect to the Emby Server in my browser. It should have been already spring here!
rbjtech 4880 Posted March 7, 2019 Posted March 7, 2019 (edited) I agree with all your points - but simply looking up that IP on the 'net shows it's an address used for wifi-direct - that's why I mentioned it as Emby is not going to randomly select an IP to use. Maybe force Emby to use the correct address using the option below (under Expert | Advanced) ? Edited March 7, 2019 by rbjtech
gilsonsjc 0 Posted March 7, 2019 Author Posted March 7, 2019 I agree with all your points - but simply looking up that IP on the 'net shows it's an address used for wifi-direct - that's why I mentioned it as Emby is not going to randomly select an IP to use. Maybe force Emby to use the correct address using the option below (under Expert | Advanced) ? Thanks. I have done that and the IP issue is gone. I still have issues to map my smb share and provided some logs. Here are more logs and I hope the dev team could check them and give me a feedback. Error on the add folder screen Javascript console error: apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.7:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=%5C%5C192.168.1.10%5CPublic%5CShared%20Videos%5C4K apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.7:8096/emby/Environment/ParentPath?path=%5C%5C192.168.1.10%5CPublic%5CShared%20Videos%5C4K apiclient.js?v=4.0.2.0:1 Requesting url without automatic networking: http://192.168.1.7:8096/emby/Users/844f00baf35a41d9b052ad871b510ff0 apiclient.js?v=4.0.2.0:1 GET http://192.168.1.7:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=%5C%5C192.168.1.10%5CPublic%5CShared%20Videos%5C4K 500 (Internal Server Error) getFetchPromise @ apiclient.js?v=4.0.2.0:1 ApiClient.fetch @ apiclient.js?v=4.0.2.0:1 ApiClient.getJSON @ apiclient.js?v=4.0.2.0:1 ApiClient.getDirectoryContents @ apiclient.js?v=4.0.2.0:1 refreshDirectoryBrowser @ directorybrowser.js?v=4.0.2.0:1 (anonymous) @ directorybrowser.js?v=4.0.2.0:1 apphost.js?v=4.0.2.0:1 app is hidden Log from the server: 2019-03-07 13:06:52.773 Info TaskManager: Scan media library Cancelled after 1 minute(s) and 6 seconds 2019-03-07 13:06:52.779 Info TaskManager: ExecuteQueuedTasks 2019-03-07 13:06:52.781 Info TaskManager: Executing Scan media library 2019-03-07 13:06:52.879 Info App: Validating media library 2019-03-07 13:06:53.001 Info TaskManager: Scan media library Completed after 0 minute(s) and 0 seconds 2019-03-07 13:06:53.006 Info TaskManager: ExecuteQueuedTasks 2019-03-07 13:07:23.068 Error NetworkManager: Error in GetNetworkShares *** Error Report *** Version: 4.0.2.0 Command line: /data/app/com.emby.embyserver-VHlNCh2CkUjXldMr7c9pxw==/base.apk Operating system: Unix 4.9.109.2 64-Bit OS: True 64-Bit Process: True User Interactive: False Processor count: 4 Program data path: /storage/emulated/0/Android/data/com.emby.embyserver/files Application directory: /data/user/0/com.emby.embyserver Mono: 5.14.0 (explicit/000780ca82c) Android Version: 8.0.0-REL - SDK: 26 'O' Patch Level: 3664093_1378.1894 (2018-11-05) Fingerprint: NVIDIA/darcy/darcy:8.0.0/OPR6.170623.010/3664093_1378.1894:user/release-keys Model: SHIELD Android TV - NVIDIA/NVIDIA Hardware: darcy/darcy/darcy/unknown SupportedAbis: arm64-v8a, armeabi-v7a, armeabi SharpCifs.Smb.SmbException: SharpCifs.Smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.10 at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00194] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetDirectories (System.String path, System.Boolean recursive) [0x00010] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.Networking.NetworkManager.GetNetworkShares (System.String path) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect (System.Int64 timeout) [0x001c2] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbTransport.Connect () [0x00006] in <5837600bbe23491d837720283845e3f2>:0 SharpCifs.Util.Transport.TransportException: Connection timeout at SharpCifs.Util.Transport.Transport.Connect (System.Int64 timeout) [0x0012d] in <5837600bbe23491d837720283845e3f2>:0 Source: Emby.Server.Implementations TargetSite: Void DoShareEnum(System.Collections.Generic.List`1[System.Object], Boolean, System.String, Int32, SharpCifs.Smb.ISmbFilenameFilter, SharpCifs.Smb.ISmbFileFilter) at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00194] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <5837600bbe23491d837720283845e3f2>:0 at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetDirectories (System.String path, System.Boolean recursive) [0x00010] in <5837600bbe23491d837720283845e3f2>:0 at Emby.Server.Implementations.Networking.NetworkManager.GetNetworkShares (System.String path) [0x00000] in <5837600bbe23491d837720283845e3f2>:0
Solution Luke 39303 Posted March 8, 2019 Solution Posted March 8, 2019 The best approach, assuming you have the Shield 7.3 software, would be to mount the SMB path to a local path using the tools in the operating system to do that. Then add that local path to Emby.
Luke 39303 Posted March 9, 2019 Posted March 9, 2019 Actually the 7.2.3 Shield software may do it: https://emby.media/community/index.php?/topic/70587-latest-beta-smb/?p=709746
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now