Jump to content
AllesMeins

ANSWERED Runtime missing (possibly) on all files?

Recommended Posts

AllesMeins

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)?

Share this post


Link to post
Share on other sites
Happy2Play

I know it shows in the web client and in the nfo file created by Emby.

 

58f150ffa191d_test.jpg

Share this post


Link to post
Share on other sites
AllesMeins

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?

 

emby%20screenshot%202.jpg

 

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 by AllesMeins

Share this post


Link to post
Share on other sites
Happy2Play

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.

Share this post


Link to post
Share on other sites
AllesMeins

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 by AllesMeins

Share this post


Link to post
Share on other sites
Luke

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.

  • Like 1

Share this post


Link to post
Share on other sites
AllesMeins

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?

Share this post


Link to post
Share on other sites
Happy2Play

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.

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

×
×
  • Create New...