Jump to content


Photo

Durations missing - How to force a mediainfo refresh

mediainfo refresh

  • Please log in to reply
16 replies to this topic

#1 AdrianW ONLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2332 posts
  • Local time: 12:29 AM
  • LocationPerth, Australia

Posted 08 April 2015 - 05:47 AM

All my newly added content since Saturday has no duration - which has a few side effects: just starting playback sets the "played" indicator and no resume points are being recorded.

 

I've updated to 3.0.5575.38105 and durations are now being determined correctly for newly added content.

 

Is there a way to force a mediainfo refresh for either my entire collection or individual titles?

 

The only way I can think of is to remove all my newly added stuff, perform a scan, and then re-add that content and perform a scan again - but that's going to be a bit painful.


Edited by AdrianW, 08 April 2015 - 05:51 AM.


#2 AdrianW ONLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2332 posts
  • Local time: 12:29 AM
  • LocationPerth, Australia

Posted 08 April 2015 - 08:20 AM

An easy way to find any episodes with blank durations is to go to "Reports", select Episodes from the drop list and then sort by run time.

 

I've managed to fix all of mine by using Metabrowser to change the value of an unused metadata field (I used Comment) on all my recently added shows (using a filter and multi-select), ran a scan, and then changed that field back to blank.


  • MrWebsmith likes this

#3 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1660 posts
  • Local time: 11:29 AM
  • LocationPhiladelphia, PA, USA

Posted 08 April 2015 - 08:48 AM

yep.. just saw this on an episode last night where it played fine but we were "at the end" (progress bar) the whole time and the wife commented about it..

 

i'll likely do some manual fixups in metaB as well.. good idea on the multi-select to "add" the items again.



#4 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1660 posts
  • Local time: 11:29 AM
  • LocationPhiladelphia, PA, USA

Posted 08 April 2015 - 10:02 AM

hmm that didnt work.. i tried on a film.. adding a comment field value... saved in metab... ran lib scan in the emby server... that film still shows a blank for runtime...

 

any ideas adrian?



#5 AdrianW ONLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2332 posts
  • Local time: 12:29 AM
  • LocationPerth, Australia

Posted 08 April 2015 - 10:35 AM

hmm that didnt work.. i tried on a film.. adding a comment field value... saved in metab... ran lib scan in the emby server... that film still shows a blank for runtime...

 

any ideas adrian?

 

Weird - I had a couple of hundred episodes in this situation, and just adding the comment and scanning fixed them all. I'm on 2.3.50 of MetaB, are you on the same version?



#6 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1660 posts
  • Local time: 11:29 AM
  • LocationPhiladelphia, PA, USA

Posted 08 April 2015 - 11:04 AM

yep.. lemme try with an episode.. i only tried a single movie so far just to get a process together



#7 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 43781 posts
  • Local time: 12:29 PM

Posted 08 April 2015 - 11:06 AM

Again - changing the metadata field is not going to help - except if it also causes the entire item to be completely refreshed.

 

You will need to do an advanced refresh to force ffprobe to re-run.



#8 Smaky OFFLINE  

Smaky

    Advanced Member

  • Members
  • 644 posts
  • Local time: 11:29 AM
  • LocationMexico City

Posted 08 April 2015 - 02:12 PM

I have tried Advanced Refresh several times (Update all metadata) but still nothing, duration is not being updated.



#9 skynet600 OFFLINE  

skynet600

    Advanced Member

  • Alpha Testers
  • 407 posts
  • Local time: 05:29 PM
  • LocationBerks, UK.

Posted 09 April 2015 - 02:32 AM

Not working here either.

#10 Smaky OFFLINE  

Smaky

    Advanced Member

  • Members
  • 644 posts
  • Local time: 11:29 AM
  • LocationMexico City

Posted 10 April 2015 - 11:22 PM

Advanced refesh seems now to be picking up the media duration into media info. However, image chapters are still not being extracted.



#11 AdrianW ONLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2332 posts
  • Local time: 12:29 AM
  • LocationPerth, Australia

Posted 11 April 2015 - 04:09 AM

Advanced refesh seems now to be picking up the media duration into media info. However, image chapters are still not being extracted.

 

You'll need to run the "Chapter image extraction" scheduled task to get the chapter images for those episodes.



#12 AdrianW ONLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2332 posts
  • Local time: 12:29 AM
  • LocationPerth, Australia

Posted 11 April 2015 - 05:09 AM

@Luke - there's something gone wrong with Chapter extraction again.

 

I'm running 3.0.5578.39115 and the correct duration is being detected and chapters are created - but no images are being extracted.

 

Here's a complete log - all I did here was start the server, perform a scan (adding a single episode - 12 Monkeys S01E13) and then I restarted the server again.

 

Here's some of the relevant lines:

2015-04-11 16:59:37.2048 Debug - App: Saving \\KANAME\Video\New TV\12 Monkeys\Season 1 to database.
2015-04-11 16:59:37.2648 Debug - App: Running FFProbeProvider for \\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv
2015-04-11 16:59:37.2848 Debug - MediaEncoder: C:\Users\Adrian\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffprobe.exe -i file:"\\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format
2015-04-11 16:59:37.4748 Debug - MediaEncoder: C:\Users\Adrian\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -ss 00:00:15.000 -i file:"\\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv" -threads 1 -v quiet -vframes 1 -vf "scale=600:trunc(600/dar/2)*2,thumbnail=30" -f image2 "-"
2015-04-11 16:59:37.9248 Error - MediaEncoder: I-frame image extraction failed, will attempt standard way. Input: file:"\\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv"
2015-04-11 16:59:37.9248 Debug - MediaEncoder: C:\Users\Adrian\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -ss 00:00:15.000 -i file:"\\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv" -threads 1 -v quiet -vframes 1 -vf "scale=600:trunc(600/dar/2)*2" -f image2 "-"
2015-04-11 16:59:38.0949 Debug - App: Running EpisodeNfoProvider for \\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv
2015-04-11 16:59:38.0949 Debug - App: EpisodeNfoProvider returned no metadata for \\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv
2015-04-11 16:59:38.0949 Debug - App: Running EpisodeXmlProvider for \\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv
2015-04-11 16:59:38.1249 Debug - App: Saving \\KANAME\Video\New TV\12 Monkeys\Season 1\12 Monkeys S01E13 Arms of Mine.mkv to database.

Here's what the chapters look like in the Web UI:

5528e4abe714f_chap.png


Edited by AdrianW, 11 April 2015 - 05:09 AM.


#13 Smaky OFFLINE  

Smaky

    Advanced Member

  • Members
  • 644 posts
  • Local time: 11:29 AM
  • LocationMexico City

Posted 11 April 2015 - 01:35 PM

You'll need to run the "Chapter image extraction" scheduled task to get the chapter images for those episodes.

 

Indeed I ran the Chapter Image extraction scheduled task. However, as you later mention, Images are not being extracted. Same output you have here... chapters identified (I think that has to do with durantion now being properly identified) but no chapter images.



#14 SikSlayer OFFLINE  

SikSlayer

    Advanced Member

  • Alpha Testers
  • 599 posts
  • Local time: 12:29 PM
  • LocationEast Stroudsburg, PA

Posted 11 April 2015 - 02:24 PM

Version 3.0.5579.23399 just fixed the chapter extraction, or claims to anyway. I was having this issue myself, but wasn't sure/didn't have the time to figure out any rhyme or reason to make a bug report.

 

So it's great to see it's fixed. :D

 

EDIT: Nope, it doesn't address the issue from what I can tell.


Edited by SikSlayer, 11 April 2015 - 10:32 PM.


#15 Smaky OFFLINE  

Smaky

    Advanced Member

  • Members
  • 644 posts
  • Local time: 11:29 AM
  • LocationMexico City

Posted 11 April 2015 - 03:20 PM

Just testing this release... however I am getting the server to crash (already reported this on another thread). AddImages method is failing (I guess this is related to the issue with chapter image extraction). I will reboot my server and see if that helps.



#16 AdrianW ONLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2332 posts
  • Local time: 12:29 AM
  • LocationPerth, Australia

Posted 11 April 2015 - 10:56 PM

Chapter images are now successfully being extracted for me with version 3.0.5579.26082.


  • SikSlayer likes this

#17 SikSlayer OFFLINE  

SikSlayer

    Advanced Member

  • Alpha Testers
  • 599 posts
  • Local time: 12:29 PM
  • LocationEast Stroudsburg, PA

Posted 11 April 2015 - 11:15 PM

Chapter images are now successfully being extracted for me with version 3.0.5579.26082.

 

Indeed it does. Pressing refresh in the title that wasn't showing chapter images before, then refresh the page after a moment, and they will appear. Using the chapter image extraction in the scheduled tasks section won't do it.







Also tagged with one or more of these keywords: mediainfo, refresh

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users