Lennong 0 Posted July 31, 2015 Share Posted July 31, 2015 (edited) I just got my hands on Emby for the first time and it looks very promising! Great job! I however have stumbled upon a couple of issues that stops me from getting it up and running properly: EDIT: The bug has already been posted: http://emby.media/community/index.php?/topic/23742-error-in-emby-directory-does-exist-but-not-with-capital-letter/&do=findComment&comment=231885 ffmpeg issue: I'm having a really hard time when scanning my music library. The ffmpeg image extractor hangs on almost every mp3 I got, making the scanning 120k files simply not feasable. I have tried with static builds of ffmpeg, my own compiled ones and on both Debian Wheezy and Jessie in all combinations. When doing a manual cli image extraction it works perfectly both with Embdy's and others ffmpeg builds I have. I've tried running embdy as both user and root, no difference. I really can't get my head around this one. 2015-07-30 16:43:20.9584 Info - MediaEncoder: Killing ffmpeg process 2015-07-30 16:43:20.9584 Error - MediaEncoder: Error sending q command to process 2015-07-30 16:43:21.9584 Error - MediaEncoder: ffmpeg image extraction failed for file:"/media/disk0/MEDIA/Music/Other/Bobby McFerrin & Jack Nicholson/Bobby McFerrin & Jack Nicholson - [1985] - How the Rhinoceros Got His Skin & How the Camel Got His Hump/Bobby McFerrin & Jack Nicholson - [How the Rhinoceros Got His Skin & How the Camel Got His Hump - Track 04] - Humph!.mp3" 2015-07-30 16:43:21.9595 Error - App: Error in Image Extractor *** Error Report *** Version: 3.0.5675.1 Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server Operating system: Unix 3.16.0.0 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.0.1 (tarball Tue Jun 2 13:14:38 UTC 2015) Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe ffmpeg image extraction failed for file:"/media/disk0/MEDIA/Music/Other/Bobby McFerrin & Jack Nicholson/Bobby McFerrin & Jack Nicholson - [1985] - How the Rhinoceros Got His Skin & How the Camel Got His Hump/Bobby McFerrin & Jack Nicholson - [How the Rhinoceros Got His Skin & How the Camel Got His Hump - Track 04] - Humph!.mp3" System.ApplicationException at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<ExtractImageInternal>c__async4.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<ExtractImage>c__async3.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Providers.MediaInfo.AudioImageProvider+<GetImage>c__async0.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Providers.DynamicImageResponse].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Providers.Manager.ItemImageProvider+<RefreshFromProvider>c__async1.MoveNext () [0x00000] in <filename unknown>:0 2015-07-30 16:43:32.1193 Info - MediaEncoder: Killing ffmpeg process 2015-07-30 16:43:32.1193 Error - MediaEncoder: Error sending q command to process 2015-07-30 16:43:33.1193 Error - MediaEncoder: ffmpeg image extraction failed for file:"/media/disk0/MEDIA/Music/Other/Bobby McFerrin & Jack Nicholson/Bobby McFerrin & Jack Nicholson - [1985] - How the Rhinoceros Got His Skin & How the Camel Got His Hump/Bobby McFerrin & Jack Nicholson - [How the Rhinoceros Got His Skin & How the Camel Got His Hump - Track 05] - How the Camel Got His Hump.mp3" 2015-07-30 16:43:33.1205 Error - App: Error in Image Extractor *** Error Report *** Version: 3.0.5675.1 Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server Operating system: Unix 3.16.0.0 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.0.1 (tarball Tue Jun 2 13:14:38 UTC 2015) Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe ffmpeg image extraction failed for file:"/media/disk0/MEDIA/Music/Other/Bobby McFerrin & Jack Nicholson/Bobby McFerrin & Jack Nicholson - [1985] - How the Rhinoceros Got His Skin & How the Camel Got His Hump/Bobby McFerrin & Jack Nicholson - [How the Rhinoceros Got His Skin & How the Camel Got His Hump - Track 05] - How the Camel Got His Hump.mp3" System.ApplicationException at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<ExtractImageInternal>c__async4.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<ExtractImage>c__async3.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Providers.MediaInfo.AudioImageProvider+<GetImage>c__async0.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Providers.DynamicImageResponse].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Providers.Manager.ItemImageProvider+<RefreshFromProvider>c__async1.MoveNext () [0x00000] in <filename unknown>:0 Any ideas? Thanks! Edited July 31, 2015 by Lennong Link to comment Share on other sites More sharing options...
fc7 123 Posted July 31, 2015 Share Posted July 31, 2015 1- Will be solved in the next server release as Luke already confirmed in another thread. In the meantime instead of renaming the folder it might be better to create a symbolic link named Roboto to roboto. Since I think that some parts of the code will search for Roboto folder and other parts will search for roboto so you may still be getting errors and UI problems in the webclient. http://emby.media/community/index.php?/topic/23742-error-in-emby-directory-does-exist-but-not-with-capital-letter/&do=findComment&comment=232804 http://emby.media/community/index.php?/topic/23742-error-in-emby-directory-does-exist-but-not-with-capital-letter/&do=findComment&comment=232800 2- Two ideas: Did you check the file permissions along the tree? Can you try to copy some MP3 files to a new folder (with 10 or so it might be enough) something shorter and without special chars like ! or [ ] "/media/disk0/MEDIA/Music_Test" and also as with the new music folder, can you rename the test songs to a simpler name without special chars, just for this test? Then add this folder as a new Music library in Emby and scan it. Will it still fail? 1 Link to comment Share on other sites More sharing options...
Lennong 0 Posted July 31, 2015 Author Share Posted July 31, 2015 (edited) Thanks for the answer! Actually I did try to only scan one artist at a time and it worked. It even works when I scan a smaller genre with a few artist and albums under it. As soon as I try to scan a big genre it fails... So it seems path and naming convention works, and nothing related to rights as well. Can it be some kind of memory related thing as it fails when the job gets to big? I sit on an Intel Atom 4 core with 8GB RAM, which I believe should be sufficient? Edited July 31, 2015 by Lennong Link to comment Share on other sites More sharing options...
fc7 123 Posted July 31, 2015 Share Posted July 31, 2015 Not sure about that, and this is as far as I can get since I'm not a developer. Probably when some Emby developer see this thread he will step in and help to answer your question. Regarding your hardware specs, not sure about the Atom but the memory should be more than enough. For what it worth I'm running Emby on a Hyper-V VM, with 2GB of RAM and 4 vCPUs (Xeon E3-1230v2 @ 3,3Ghz) and I don't have any problems so far, even transcoding is working fine. Link to comment Share on other sites More sharing options...
Lennong 0 Posted July 31, 2015 Author Share Posted July 31, 2015 Yes, it's a Bay Trail Atom and it's even sufficient for transcoding 1 720p stream, but's thats just about it... Thanks for your input anyway! Link to comment Share on other sites More sharing options...
Luke 37118 Posted July 31, 2015 Share Posted July 31, 2015 try disabling image extraction under metadata. sometimes it will fail for some files. Link to comment Share on other sites More sharing options...
Lennong 0 Posted July 31, 2015 Author Share Posted July 31, 2015 try disabling image extraction under metadata. sometimes it will fail for some files. Did try that, it still tries to extract them. I actually disabled everything in terms of metadata as I have them generated from my own scripts, but it still tries to extract them and subsequent error in logs. Really odd. Link to comment Share on other sites More sharing options...
Luke 37118 Posted July 31, 2015 Share Posted July 31, 2015 maybe it was a video? or maybe the operations had been queued up already? did you stop the library scan? i just tested disabling and it seems to work fine. Link to comment Share on other sites More sharing options...
Lennong 0 Posted July 31, 2015 Author Share Posted July 31, 2015 Nope only mp3 files. I tried unset everything before scan the first time, also tried reboot and then tried again. Still its extracting... I tried deleting the database and reboot again and then tried again, same result. I will have another go again and see what gives. Link to comment Share on other sites More sharing options...
Lennong 0 Posted August 1, 2015 Author Share Posted August 1, 2015 I got fed up and reinstalled the whole server OS and emby, scans does not happend when they are not supposed to now, great! I don't know why, simply got too tired and cleaned it out. Was time for a fresh install anyways. So thats sorted! Thanks for input anyway! 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