AllesMeins 18 Posted April 14, 2017 Share Posted April 14, 2017 I've noticed that resume points are not working when using kodi+emby. Instead a movie is instantly set to "watched" after i started it. I've searched a little bit and one possible explanation is a missing runtime - but I'm not 100% sure if that is the case (there are some other clues pointing to that: e.g sorting by runtime in emby does not work either), because I could not find a single place where emby displays the runtime. So my first question before investigating further is: Where is the runtime displayed in emby? How can I confirm that the runtime is missing (or not)? Link to comment Share on other sites More sharing options...
Happy2Play 8279 Posted April 14, 2017 Share Posted April 14, 2017 I know it shows in the web client and in the nfo file created by Emby. Link to comment Share on other sites More sharing options...
AllesMeins 18 Posted April 15, 2017 Author Share Posted April 15, 2017 (edited) Okay, than there is some kind of problem: I've no runtime in the webfrontend for all my movies - I've just year and than the rating next to it. Do you have any idea why that is or how to fix it? I'm using the emby-plugin for openmediavault (emby server 3.1.2.0 - i know this is not the most recent version, but there is no newer plugin for OMV, so I can't update without messing with the system). Edited April 15, 2017 by AllesMeins Link to comment Share on other sites More sharing options...
Happy2Play 8279 Posted April 15, 2017 Share Posted April 15, 2017 Does the Media Info display properly in the web client? Only thing I can think of is an issue with ffmpeg/ffprobe version. You could try to refresh on movie to see if it updates the information. Probably have to post a server log if a refresh doesn't update information. Link to comment Share on other sites More sharing options...
AllesMeins 18 Posted April 15, 2017 Author Share Posted April 15, 2017 (edited) Okay, so there seems to be a problem with ffprobe. I've removed an re-added one movie and in the log there is an System.Exception for ffprobe: 2017-04-15 12:55:09.4109 Error App: Error in ffprobe *** Error Report *** Version: 3.1.2.0 Command line: /opt/emby/MediaBrowser.Server.Mono.exe -programdata /media/2ada94ab-cbcc-41ec-b19b-bfc46c5dc611/emby -restartpath /usr/sbin/emby.sh Operating system: Unix 4.5.7.64 64-Bit OS: True 64-Bit Process: True Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Wed Apr 12 12:00:40 UTC 2017) Processor count: 2 Program data path: /media/2ada94ab-cbcc-41ec-b19b-bfc46c5dc611/emby Application directory: /opt/emby System.Exception: ffprobe failed - streams and format are both null. at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>d__67.MoveNext () [0x0021d] in <0580127f07ff4c8c801a2f841f223ed5>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>d__18.MoveNext () [0x000ef] in <45da66b4dc684b32a86d748a388d8873>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__16`1[T].MoveNext () [0x00313] in <45da66b4dc684b32a86d748a388d8873>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__23[TItemType,TIdType].MoveNext () [0x000d7] in <45da66b4dc684b32a86d748a388d8873>:0 System.Exception at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>d__67.MoveNext () [0x0021d] in <0580127f07ff4c8c801a2f841f223ed5>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>d__18.MoveNext () [0x000ef] in <45da66b4dc684b32a86d748a388d8873>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__16`1[T].MoveNext () [0x00313] in <45da66b4dc684b32a86d748a388d8873>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__23[TItemType,TIdType].MoveNext () [0x000d7] in <45da66b4dc684b32a86d748a388d8873>:0 I've tried running ffprobe from the command line for the same file, and it works just fine: :~# ffprobe "/media/2ada94ab-cbcc-41ec-b19b-bfc46c5dc611/Media/Filme/The Blues Brothers (1980).mkv" -threads 0 -v info -show_streams -show_format avprobe version 0.8.20-6:0.8.20-0+deb7u1, Copyright (c) 2007-2014 the Libav developers built on Jan 19 2017 11:13:36 with gcc 4.7.2 [matroska,webm @ 0x7a6cc0] Estimating duration from bitrate, this may be inaccurate Input #0, matroska,webm, from '/media/2ada94ab-cbcc-41ec-b19b-bfc46c5dc611/Media/Filme/The Blues Brothers (1980).mkv': Metadata: TITLE : The Blues Brothers Duration: 02:21:43.60, start: 0.000000, bitrate: 480 kb/s [...]The only thing i could find is, that from the command-line the "-i" flag and "-print_format json" don't seem to be supported and result in an error message...This seems to be a general problem, because none of my movies has a length detected. Any idea what might be wrong here? ffprobe output.txt Emby Log.txt The Blues Brothers (1980).nfo Edited April 15, 2017 by AllesMeins Link to comment Share on other sites More sharing options...
Solution Luke 37054 Posted April 15, 2017 Solution Share Posted April 15, 2017 You don't actually have ffmpeg installed. You have libav which is not the same thing, and not only that but it's a 2014 version. What I would suggest doing is downloading it from here: https://www.johnvansickle.com/ffmpeg/ Then setting it up under the Transcoding menu of the Emby Server dashboard. Once you've done this, then try to refresh a title from the detail screen of the web app. Thanks. 1 Link to comment Share on other sites More sharing options...
AllesMeins 18 Posted April 15, 2017 Author Share Posted April 15, 2017 Great, that worked. Thanks for the quick help! Is there a way to force a refresh of all my movies without losing the watched-status? Link to comment Share on other sites More sharing options...
Happy2Play 8279 Posted April 16, 2017 Share Posted April 16, 2017 I would right click the library on the Home Screen and Refresh then select search for missing metadata, but a full refresh should work also. 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