Problem with runtime of movies
#1
Kodi is picking up durationinseconds instead of runtime from movie files. Looking at the nfos created by tmm3.01 durationinseconds has a totally wrong value for some movies. How can I fix this?
Reply
#2
Posting an example NFO File to Kodi Paste Site will help, along with a screenshot of what you are seeing in Kodi.
My Signature
Links to : Forum rules (wiki) | Banned_Add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create_Music_Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic_controls (wiki) | Import-export_library (wiki) | Movie_sets (wiki) | NFO_files (wiki) | Quick start guide (wiki)
Reply
#3
Sure this is one of the problematic nfos: jalejurapu.kodi (paste)

https://drive.google.com/open?id=0B4nK0o...JWQjFHZDBn -> What I see in kodi.
Reply
#4
hmmm,

<runtime>110</runtime> This is correct value format.

<durationinseconds>65519</durationinseconds> Which is 1092 minutes as shown in your screenshot. This possibly indicates a problem with your video file, so lets rule that out first.

For that same movie, can you post the mediainfo... 1707519 (post)

How many movies does this happen to? Just this one or more?
My Signature
Links to : Forum rules (wiki) | Banned_Add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create_Music_Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic_controls (wiki) | Import-export_library (wiki) | Movie_sets (wiki) | NFO_files (wiki) | Quick start guide (wiki)
Reply
#5
Mediainfo info fidejayexu (paste)

Most movies with BDMV file structures or iso movie files show this problem. Mkv seem to be fine.
Reply
#6
Thanks for that. Cannot see anything wrong with the files either.

The TMM developers will need to look at it deeper. It helps that you mentioned the BDMV structure as it can focus their search.
My Signature
Links to : Forum rules (wiki) | Banned_Add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create_Music_Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic_controls (wiki) | Import-export_library (wiki) | Movie_sets (wiki) | NFO_files (wiki) | Quick start guide (wiki)
Reply
#7
A convenient solution to this would be letting the devs include an option in TMM settings to use the scraped runtime instead of the durationinseconds provided by medianfo.
Reply
#8
do you use a mediainfo xml for providing the data or does tmm reads all data on its own from your bdmvs?
IIRC we are not able to parse BR isos.. that's why I am asking
tinyMediaManager - THE media manager of your choice - available for Windows, Mac OSX and Linux
Help us translate tinyMediaManager Weblate
Image
Reply
#9
may need to check another theme as the time code has changed
i use $PARAM[infolabel_prefix]ListItem.Duration(mins) gives time in minutes and works for videos that have no info
Reply
#10
(2019-06-20, 07:33)mlaggner Wrote: do you use a mediainfo xml for providing the data or does tmm reads all data on its own from your bdmvs?
IIRC we are not able to parse BR isos.. that's why I am asking

I use whatever tmm outputs in the nfo.
Reply
#11
(2019-06-20, 09:33)the_other_guy Wrote: may need to check another theme as the time code has changed
i use $PARAM[infolabel_prefix]ListItem.Duration(mins) gives time in minutes and works for videos that have no info

Right now I’m using arctic zephyr skin which displays media flags for atmos and dtsx. Which skin do you recommend?
Reply
#12
@Ferdster could you do us a favor? please open up tmm, select a movie where the runtime has been detected wrong, press "CTRL + SHIFT + M" (Reload media info) and create a bug report in gitlab immediately after this (so we have trace logs from mediainfo to work with)
tinyMediaManager - THE media manager of your choice - available for Windows, Mac OSX and Linux
Help us translate tinyMediaManager Weblate
Image
Reply
#13
I've also a Test-Pattern-BD here, where MediaInfo basically says 2h30m of EVERY m2ts file,
whereas in windows explorer i see the correct length...
We might need a fix in MediaInfo for that;

Furthermore, this also does not work correctly inside Kodi.
When playing this BD, i get a second menu to select one of the 30 main tracks to play.
The one i take, this durationInSeconds is taken upon NFO export...

We could
- not write such detectable highly accumulated "wrong" durationinseconds.
- not write the duration per file et all (for BD).... so the skin must use the movie runtime..?
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
Reply
#14
(2019-06-28, 13:27)mlaggner Wrote: @Ferdster could you do us a favor? please open up tmm, select a movie where the runtime has been detected wrong, press "CTRL + SHIFT + M" (Reload media info) and create a bug report in gitlab immediately after this (so we have trace logs from mediainfo to work with)

Sorry I'm on vacation right now, I will do as you say as soon as I can.
Reply
#15
changed it, so that we do not write 'durationinseconds' for disc style movies.
Since this seems to be designed for file streams, and whereas a disc has many of them, it might not be so easy to detect this correct.
MediaInfo, as well as Kodi, detect/write this currently wrong, so the best solution is to skip that, and the skin has to take the scraped/entered movie runtime...
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Problem with runtime of movies00