Bug XBMC webserver showing wrong movie runtime
#1
The runtimes shown on the webserver (latest nightly 20130127) are completely wrong. Below, as an example, are four files of nearly identical length with the reported runtime. I'm not familiar with XBMC bug reporting and searches are swamped by "runtime errors".

Quote:1:47:27 - 6300 Minutes
1:47:28 - 6420
1:47:28 - 6120
1:47:29 - 6000
Reply
#2
I have the same issue, for a long time already.
Some examples as copied from the webserver pages (between brackets the playing time from the 'movie information' dialogue in xbmc):
  • Back to the Future (1985) Runtime: 6960 minutes (playing time: 111 minutes)
  • Casino Royale (2006) Runtime: 8640 minutes (playing time: 144 minutes)
  • The Circus (1928) Runtime: 4260 minutes (playing time: 68 minutes = 4080 seconds)
  • The Green Mile (1999) Runtime: 11340 minutes (playing time: 189 minutes = 11340 seconds)
  • Jurassic Park (1993) Runtime: 7620 minutes (playing time: 121 minutes)
  • The Kid (1921) Runtime: 4080 minutes (playing time: 67 minutes = 4020 seconds)
  • Mission: Impossible (1996) Runtime: 6600 minutes (playing time: 105 minutes)
  • Titanic (1997) Runtime: 11640 minutes (playing time: 187 minutes = 11220 seconds)

It seems like the webserver displays the time in seconds - plus an additional minute for every quarter of playing time or so (except that movies of about the same length display different runtimes, and 'The Green Mile' is spot on displaying a runtime of 11340 minutes with 11340 secs of actual playing time)).

Anyone please post a fix for this bug, or, if a fix exists please link to it. I found this thread while searching for 'xbmc "movie runtime" error' and did not find a fix.

Running RaspBMC (XBMC on Raspberry Pi), June 2013 release.
Reply
#3
What, when, where, how?

Version and so on needed........
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
I can confirm that this happens with the latest alpha (end of June build). You go to Movies, click a movie and it will say something like "Runtime: 7020 minutes". Obviously it should be divided by 60 or something.
Reply
#5
Yes, it's xbmc/addons/webinterface.default/js/MediaLibrary.js that is simply displaying the raw runtime value (stored as seconds) with " minutes" appended.

Also just noticed that the runtime property is always 0 when requested via VideoLibrary.GetEpisodes, even when valid streamdetails with video duration are present - presumably this is why there is no attempt to retrieve it for TV shows, although there is code to display it (if present, and incorrectly as minutes, not seconds).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#6
(2013-07-30, 23:19)MilhouseVH Wrote: Also just noticed that the runtime property is always 0 when requested via VideoLibrary.GetEpisodes, even when valid streamdetails with video duration are present - presumably this is why there is no attempt to retrieve it for TV shows, although there is code to display it (if present, and incorrectly as minutes, not seconds).

The runtime is there in VideoLibrary.GetEpisodes (at least on my late June build), but like you said the runtime is not shown for episodes in the web interface.
Reply
#7
please trac ticket it so we can get it looked at.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#8
(2013-07-30, 23:53)negge Wrote: The runtime is there in VideoLibrary.GetEpisodes (at least on my late June build), but like you said the runtime is not shown for episodes in the web interface.

Odd, I'm looking at the current version in master and can see runtime retrieved for GetMovies, but not GetEpisodes.

If a runtime is ever retrieved by GetEpisodes - then in my recent Frodo build (OpenELEC 3.1.5 from github) - it's always zero so will always be displayed incorrectly, no matter whether " seconds" or " minutes" is used as the suffix. Might already be fixed in Gotham, though - but then what is "master" if not Gotham?
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#9
(2013-07-31, 00:03)Martijn Wrote: please trac ticket it so we can get it looked at.

Trac #14523 for the webserver "minutes" issue, and Trac #14524 for the JSON/GetEpisodes/runtime issue.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#10
(2013-07-30, 21:07)Martijn Wrote: What, when, where, how?

Version and so on needed........

If you give me a hint on how to find the exact xbmc version on raspbmc i'm happy to type in all the commands. (can't find it under 'system' submenu 'system info')

note: it's Still an issue after the last raspbmc update (August).
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC webserver showing wrong movie runtime0