Jump to content
Sign in to follow this  
hhb97b

ANSWERED slow to start playing media

Recommended Posts

hhb97b

Hi

 

I'm having an issue with the system being slow to start playing the media. It doesn't matter what media I'm playing and according to the dashboard its direct playing. Emby theater is running on the server/same machine, but external machine have the same behaviour. I'm seeing this error in the log each time I start the playback( see below). It will play the media, but it typically takes 10-25 seconds to load. It doesn't matter if its the internal player or external player. Live tv is also slow to start compared to previous, but I don't know if the error also appear in the log or it just coincident.

 

I have tried to access the media directly on the machine from the file exporer and it starts quick, below 2 seconds. So access should be there and the hdd should also have been spinned up.

 

It looks like some kind of access error but it plays fine and I can access it in file explorer with the same user as the one starting the emby server.

 

Any ideas what to try?

The logs contain the following

2018-06-17 18:22:24.177 Info HttpServer: HTTP Response 200 to 192.168.3.187. Time: 1ms. http://192.168.3.187:8200/emby/System/Endpoint
2018-06-17 18:22:24.196 Info HttpServer: HTTP Response 304 to 192.168.3.187. Time: 23ms. http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/Images/Primary?maxWidth=800&tag=f2c277eefbe985d89984762b154358fa&quality=90
2018-06-17 18:22:24.208 Info HttpServer: HTTP POST http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/PlaybackInfo?UserId=9bde79c50eb3aea8d8a66371e8ef29c8&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000&DirectPlayProtocols=File%2CHttp%2CRtp%2CRtmp%2CRtsp%2CFtp. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.1 Chrome/61.0.3163.100 Electron/2.0.0 Safari/537.36
2018-06-17 18:22:24.208 Info HttpServer: HTTP Response 200 to 192.168.3.187. Time: 32ms. http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/Similar?Limit=12&UserId=9bde79c50eb3aea8d8a66371e8ef29c8&ImageTypeLimit=1&Fields=PrimaryImageAspectRatio
2018-06-17 18:22:25.416 Info HttpServer: HTTP POST http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/PlaybackInfo?UserId=9bde79c50eb3aea8d8a66371e8ef29c8&StartTimeTicks=4640880000&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.1 Chrome/61.0.3163.100 Electron/2.0.0 Safari/537.36
2018-06-17 18:22:30.496 Info HttpServer: HTTP GET http://192.168.3.187:8200/emby/System/WakeOnLanInfo. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.1 Chrome/61.0.3163.100 Electron/2.0.0 Safari/537.36
2018-06-17 18:22:30.496 Info HttpServer: HTTP Response 200 to 192.168.3.187. Time: 1ms. http://192.168.3.187:8200/emby/System/WakeOnLanInfo
2018-06-17 18:22:50.724 Error MediaSourceManager: Error getting media sources
    *** Error Report ***
    Version: 3.4.1.0
    Command line: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server
    Application directory: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system
    System.IO.IOException: The network name cannot be found
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    System.IO.IOException
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    
2018-06-17 18:22:50.724 Error MediaSourceManager: Error getting media sources
    *** Error Report ***
    Version: 3.4.1.0
    Command line: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server
    Application directory: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system
    System.IO.IOException: The network name cannot be found
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    System.IO.IOException
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    
2018-06-17 18:22:50.725 Info App: User policy for Kim Andersen. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-06-17 18:22:50.725 Info App: User policy for Kim Andersen. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-06-17 18:22:50.725 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-17 18:22:50.725 Info App: Not eligible for DirectPlay due to unsupported subtitles
2018-06-17 18:22:50.725 Info App: Not eligible for DirectStream due to unsupported subtitles
2018-06-17 18:22:50.725 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2018-06-17 18:22:50.725 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.725 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.725 Info App: Not eligible for DirectPlay due to unsupported subtitles
2018-06-17 18:22:50.725 Info App: Not eligible for DirectStream due to unsupported subtitles
2018-06-17 18:22:50.725 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-17 18:22:50.725 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2018-06-17 18:22:50.725 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.725 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.725 Info App: Not eligible for DirectPlay due to unsupported subtitles
2018-06-17 18:22:50.725 Info App: Not eligible for DirectStream due to unsupported subtitles
2018-06-17 18:22:50.725 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-17 18:22:50.725 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2018-06-17 18:22:50.725 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.725 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.725 Info HttpServer: HTTP Response 200 to 192.168.3.187. Time: 25309ms (slow). http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/PlaybackInfo?UserId=9bde79c50eb3aea8d8a66371e8ef29c8&StartTimeTicks=4640880000&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2018-06-17 18:22:50.725 Info HttpServer: HTTP Response 200 to 192.168.3.187. Time: 26517ms (slow). http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/PlaybackInfo?UserId=9bde79c50eb3aea8d8a66371e8ef29c8&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000&DirectPlayProtocols=File%2CHttp%2CRtp%2CRtmp%2CRtsp%2CFtp
2018-06-17 18:22:50.770 Info HttpServer: HTTP POST http://192.168.3.187:8200/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.1 Chrome/61.0.3163.100 Electron/2.0.0 Safari/537.36
2018-06-17 18:22:50.772 Info HttpServer: HTTP POST http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/PlaybackInfo?UserId=9bde79c50eb3aea8d8a66371e8ef29c8&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000&DirectPlayProtocols=File%2CHttp%2CRtp%2CRtmp%2CRtsp%2CFtp. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.1 Chrome/61.0.3163.100 Electron/2.0.0 Safari/537.36
2018-06-17 18:22:50.774 Error MediaSourceManager: Error getting media sources
    *** Error Report ***
    Version: 3.4.1.0
    Command line: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server
    Application directory: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system
    System.IO.IOException: The network name cannot be found
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    System.IO.IOException
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    
2018-06-17 18:22:50.776 Info HttpServer: HTTP Response 204 to 192.168.3.187. Time: 6ms. http://192.168.3.187:8200/emby/Sessions/Playing
2018-06-17 18:22:50.777 Error MediaSourceManager: Error getting media sources
    *** Error Report ***
    Version: 3.4.1.0
    Command line: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server
    Application directory: C:\Users\Kim Andersen\AppData\Roaming\MediaBrowser-Server\system
    System.IO.IOException: The network name cannot be found
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    System.IO.IOException
       at System.IO.Win32FileSystemEnumerableIterator`1.HandleError(Int32 errorCode, String path)
       at System.IO.Win32FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.Win32FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
       at System.IO.Win32FileSystem.EnumerateFileSystemInfos(String fullPath, String searchPattern, SearchOption searchOption, SearchTarget searchTarget)
       at System.IO.DirectoryInfo.InternalEnumerateFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.EnumerateFiles(String searchPattern, SearchOption searchOption)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, Boolean recursive)
       at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken)
       at Emby.Server.Sync.SyncedMediaSourceProvider.<GetMediaSources>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Emby.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__23.MoveNext()
    
2018-06-17 18:22:50.777 Info App: User policy for Kim Andersen. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-06-17 18:22:50.777 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-17 18:22:50.777 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.777 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-17 18:22:50.777 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.777 Info App: Profile: Unknown Profile, Path: \\htpc\MediaRaid\video\movies - hd - dk\2 Guns (2013)\2 Guns.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-06-17 18:22:50.777 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: 192.168.3.187, IsInLocalNetwork: True
2018-06-17 18:22:50.777 Info HttpServer: HTTP Response 200 to 192.168.3.187. Time: 5ms. http://192.168.3.187:8200/emby/Items/b891e030536ecbcf1ce2980391ae9ff6/PlaybackInfo?UserId=9bde79c50eb3aea8d8a66371e8ef29c8&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000&DirectPlayProtocols=File%2CHttp%2CRtp%2CRtmp%2CRtsp%2CFtp
2018-06-17 18:22:53.332 Info HttpServer: HTTP GET http://htpc:8200/emby/System/Logs/Log?name=embyserver.txt. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Edited by hhb97b

Share this post


Link to post
Share on other sites
Guest asrequested

What is it like in the web app?

Share this post


Link to post
Share on other sites
hhb97b

Same loading time in the web app - 10-25 seconds and same error in the log. Here its direct streaming.

 

I have been testing with the movie file on the server, but is it this file it's complain about ?

Edited by hhb97b

Share this post


Link to post
Share on other sites
Guest asrequested

I'd say that this is your issue.

System.IO.IOException: The network name cannot be found

And the server is trying to locate the file(s), causing the delay.

Share this post


Link to post
Share on other sites
hhb97b

The only server name that I use is htpc in the mapped drive, but I can ping this without problem - both on ip4 and ip6. So I can't understand that this can be the issue, but I could experiment with the ip as it is static.

 

if it was wrong how can I then play the file?

Edited by hhb97b

Share this post


Link to post
Share on other sites
hhb97b

update the ip didn't change anything in the mapped section for a library

 

Is there anyway of know what network name it is talking about?

Edited by hhb97b

Share this post


Link to post
Share on other sites
Guest asrequested

If you're using mapped drives, I would suggest you use the (Optional) shared network path.

 

5b26b40f0764a_Snapshot_136.jpg

 

5b26b420c5dca_Snapshot_137.jpg

Share this post


Link to post
Share on other sites
hhb97b

thanks for the advice but I had allready set that up with my hostname "htpc" and changed it to the static ip. This didn't help

 

I believe I have found the cause. I had the folder sync plugin installed with an external ip, that I no longer have contact to. When I uninstalled the plugin it started to be quick again. I don't understand what this plugin has to do with playing media, but perhaps its checking for the movie in correct codec instead of remuxing

Share this post


Link to post
Share on other sites
Guest asrequested

Glad you figured it out :)

Share this post


Link to post
Share on other sites
Luke

Actually I would suggest not using mapped drives at all. Instead configure Emby with the actual network path. Windows will disconnect mapped drives when idle, and this can cause problems with software that attempts to access them.

Share this post


Link to post
Share on other sites
hhb97b

@@Luke

 one question if one uses actual network path, does the realtime monitoring work, when new items are added?

Share this post


Link to post
Share on other sites
Luke

Yes it should be fine.

Share this post


Link to post
Share on other sites
Guest asrequested

In my case, my drives are on the same machine as the server. So I use the drive letter, and the optional network location. I feel that gives the server better direct access for management. The optional network location gives external players more direct access when playing. If that makes sense.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...