Summary of total length of watched movies
#1
Wouldn't it be nice to have a summary of total length of watched movies from XBMC video database? Just like the one on the bottom of iTunes.

I made this python script to do this job: http://gist.github.com/284453

I am wondering if XBMC already have this function built-in.
Reply
#2
No.

You should be able to figure it out with a little sql and basic math.
Reply
#3
Does XBMC currently still store the length based on the information it receives from the scraper?

If so then it is a bit more difficult, since the information in the database might be for a different version of the movie, might have more than one number in it or simply might not exist if the file wasn't added through the scraper or no runtime was returned.

There is a ticket for reading that information directly from the media file but AFAIK this is not implemented or even being actively worked on at this moment.
Reply
#4
ccMatrix Wrote:Does XBMC currently still store the length based on the information it receives from the scraper?

If so then it is a bit more difficult, since the information in the database might be for a different version of the movie, might have more than one number in it or simply might not exist if the file wasn't added through the scraper or no runtime was returned.

There is a ticket for reading that information directly from the media file but AFAIK this is not implemented or even being actively worked on at this moment.

if you use ember media manager, it has an option to get the length of the video file and use it as the duration that gets set in the .nfo file. just thought it might help...
Reply

Logout Mark Read Team Forum Stats Members Help
Summary of total length of watched movies0