Potato Master 0 Posted March 23, 2018 Share Posted March 23, 2018 I'm having problems with Emby not pulling images from the video files I have. The Windows instance I used to run worked perfect (Emby 3.2.36.0), but I have now migrated to a Debian 9 server with problems relating to thumbnail images from the chapter image extraction. Emby background: Debian 9 Emby 3.3.1.0 Main storage on samba share (with read/write access) Here's the steps I'm taking: Install Emby via deb file and dpkg Setup initial config through web interface Setup new library via initial config or admin interface Content type: Unset (mixed content) Add samba folder (unauthenticated, rw share without password) Uncheck "Download artwork and metadata from the internet" Check "Enable real time monitoring" Check "Enabled chapter image extraction" Check "Extract chapter images during the library scan" Click "Ok" Essentially none of my content succeeds in obtaining any images. Here's one set of log entries that is relevant: 2018-03-22 22:14:44.454 Debug App: Running FFProbeProvider for smb://<REDACTEDsmbPATH>/<REDACTEDfile.mp4> 2018-03-22 22:14:44.454 Debug MediaEncoder: /opt/emby-server/bin/ffprobe -i "smb://<REDACTEDsmbPATH>/<REDACTEDfile.mp4>" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format 2018-03-22 22:14:44.694 Error App: Error in ffprobe *** Error Report *** Version: 3.3.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.13.13.5 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 24 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Runtime.Serialization.SerializationException: Type definitions should start with a '{', expecting serialized type 'InternalMediaInfoResult', got string starting with: mkdir failed on directory /tmp/emby/samba/cache: N at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(TypeConfig typeConfig, String strType, EmptyCtorDelegate ctorFn, Dictionary`2 typeAccessorMap) at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value) at ServiceStack.Text.JsonSerializer.DeserializeFromStream[T](Stream stream) at Emby.Server.MediaEncoding.Encoder.MediaEncoder.<GetMediaInfoInternal>d__61.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 MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.<ProbeVideo>d__15`1.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 MediaBrowser.Providers.Manager.MetadataService`2.<RunCustomProvider>d__41.MoveNext() System.Runtime.Serialization.SerializationException at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType(TypeConfig typeConfig, String strType, EmptyCtorDelegate ctorFn, Dictionary`2 typeAccessorMap) at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value) at ServiceStack.Text.JsonSerializer.DeserializeFromStream[T](Stream stream) at Emby.Server.MediaEncoding.Encoder.MediaEncoder.<GetMediaInfoInternal>d__61.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 MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.<ProbeVideo>d__15`1.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 MediaBrowser.Providers.Manager.MetadataService`2.<RunCustomProvider>d__41.MoveNext() 2018-03-22 22:14:44.694 Debug App: Running MovieNfoProvider for smb://<REDACTEDsmbPATH>/<REDACTEDfile.mp4> 2018-03-22 22:14:44.700 Debug App: MovieNfoProvider returned no metadata for smb://<REDACTEDsmbPATH>/<REDACTEDfile.mp4> 2018-03-22 22:14:44.700 Debug App: Running VideoImageProvider for smb://<REDACTEDsmbPATH>/<REDACTEDfile.mp4> 2018-03-22 22:14:44.700 Info App: Skipping image extraction due to missing DefaultVideoStreamIndex for smb://<REDACTEDsmbPATH>/<REDACTEDfile.mp4>. If I run the scheduled task to manually run the "Chapter image extraction" it immediately finished ("taking 0 seconds") and here is the relevant log: 2018-03-22 22:28:02.361 Info HttpServer: HTTP POST http://pathtoemby.tld:8096/ScheduledTasks/Running/13e82435eb8f2cdc78c9e106fb7edd05. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 2018-03-22 22:28:02.362 Info TaskManager: Executing Chapter image extraction 2018-03-22 22:28:02.362 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://pathtoemby.tld:8096/ScheduledTasks/Running/13e82435eb8f2cdc78c9e106fb7edd05 2018-03-22 22:28:02.365 Info HttpServer: HTTP GET http://pathtoemby.tld:8096/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 2018-03-22 22:28:02.366 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 1ms. http://pathtoemby.tld:8096/ScheduledTasks?isHidden=false 2018-03-22 22:28:02.409 Info TaskManager: Chapter image extraction Completed after 0 minute(s) and 0 seconds 2018-03-22 22:28:02.410 Info ServerManager: Sending web socket message ScheduledTaskEnded Anyone have any ideas? I can stream content no problem, but the media browser simply has no images. Link to comment Share on other sites More sharing options...
Solution Luke 37215 Posted March 23, 2018 Solution Share Posted March 23, 2018 Hi, our ffmpeg builds are currently having some issues with smb access so that is the reason. A work around in the meantime would be to mount the smb share to a local folder and then add the local folder to emby instead of the smb path. Please let us know if this helps. Thanks. 1 Link to comment Share on other sites More sharing options...
Potato Master 0 Posted March 24, 2018 Author Share Posted March 24, 2018 Looks like that solved it in the mean time. Added an fstab entry for the samba share as follows: //pathtosamba/folder/ /mnt/embycifs/ cifs guest,rw,file_mode=0770,dir_mode=0770,uid=emby,gid=emby 0 0 So far, it looks like its populating with chapter images. Any idea when smb access issues will be resolved? Link to comment Share on other sites More sharing options...
Luke 37215 Posted March 24, 2018 Share Posted March 24, 2018 I can't give an ETA but we are actively working on it. thanks. Link to comment Share on other sites More sharing options...
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