Posts: 10
Joined: Jun 2019
Reputation:
0
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?
Posts: 20,471
Joined: Apr 2017
Reputation:
1,373
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.
Posts: 10
Joined: Jun 2019
Reputation:
0
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.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
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, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 967
Joined: May 2017
Reputation:
83
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
Posts: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
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..?
Posts: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
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...