Runtimes are wrong (1 Viewer)

boot487

New Member
June 2, 2011
4
0
Home Country
United States of America United States of America
Hey I am new to using moving pictures, so sorry if this is a simple fix. But some of my movies show weird runtimes in moving pictures, while other movies are the correct runtime. For example one movie which is 2 hours long, shows on the menu 47 minutes. The runtime displays correctly in the movie manager, just not when I go to play it from moving pictures. Any advice??

Thanks for any help!
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
44
Texas
Home Country
United States of America United States of America
Well the displayed runtime in the GUI is based on one of two things. Either the runtime imported from whatever online data source your using or the actual runtime of the video file if it has been scanned. Could you check the Duration field on the File Details section of the Movie Manager (I think there it is listed in seconds)?
 

boot487

New Member
June 2, 2011
4
0
Home Country
United States of America United States of America
The duration says 2847306
But the runtime under movie details says it 155 minutes. Also I checked the actual file itself, and it shows the correct run time too. I am using the default settings for the importer if that makes a difference.
Thanks for the quick response btw.
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
44
Texas
Home Country
United States of America United States of America
Yeah that is in milliseconds (dont ask me why). But 2847306 / 1000 / 60 = 47 minutes... is this a two part movie? Two video files labeled cd1 and cd2 or something like that?
 

boot487

New Member
June 2, 2011
4
0
Home Country
United States of America United States of America
Nope, all one movie, Gladiator. Do you know of how I can change the duration? It allows me to change the 155 minute runtime under movie details, but not the duration :(
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
44
Texas
Home Country
United States of America United States of America
Those values are not editable in the UI because they are statistics pulled from the file. You could ask Moving Pictures to Update MediaInfo for the movie (under the gear toolbar icon). I suspect this wont fix it though... if it does not then this is a bug with the MediaInfo library. In that case the easiest thing to do would be to force Moving Pictures to use the runtime retrieved from whatever scraper script you are using. To do this goto the About tab and click the Advanced Settings button. Click past the warning and scroll down to MediaPortal GUI / Interface options. Change "Display the actual runtime of a movie" to false.

Please let me know if either of these steps solve the problem.
 

boot487

New Member
June 2, 2011
4
0
Home Country
United States of America United States of America
The Update media info did not work. But Changing the actual runtime to false did work!!!
You are my mother F'ing hero!
Thanks a ton!!!!
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    The Update media info did not work. But Changing the actual runtime to false did work!!!

    Since you are able to reproduce it easy, it would be nice to get the actual problem fixed. It is very much possible that you have an older MediaInfo.DLL version, so can you please verify that? I've noticed that the mediainfo.dll file is sometimes found at multiple locations and that a different DLL gets used, the log files in debug mode should reveal that, or simply do a file search on your OS drive for "mediainfo.dll" and get the properties on them to get the version information.

    The last DLL version would be v0.7.44, so you could download it yourself and overwrite the one you have (after you make a backup). The developers of MediaInfo constantly fix their program as well to properly detect information on media files, including runtime, so it might very well already be fixed by them and that you had an older DLL version in use.

    If you try the new DLL and it still fails, it would really help if you can provide the bad movie file to the developers of MediaInfo, so that they can fix it. If you open a trouble ticket on their sourceforge website, one of the developers will provide you with FTP account information for you to upload the file, or test programs for you to help them solve it.

    I've done the same before and it makes MediaInfo better, which in turn helps MediaPortal, MovingPictures and tons of other programs.

    MediaInfo DLL Download is available at: MediaInfo - Download
     

    Users who are viewing this thread

    Top Bottom