Kodi Community Forum
Where Files sizes are stored in Mysql database ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Where Files sizes are stored in Mysql database ? (/showthread.php?tid=136496)



Where Files sizes are stored in Mysql database ? - Kytrix - 2012-07-19

Hi, I'm want to make a little gui in php to list my movies, I actualy use a centralised mysql database to syncrhonize my xbmc clients.

I search in the video tables and didn't find a column who give me the file size, but xbmc show this information in the movies list ! So it rescant all the movies at every launch ? or keep this information in another place ?

Thanks for helping guys !




RE: Where Files sizes are stored in Mysql database ? - jmarshall - 2012-07-20

It gets it from the file.


RE: Where Files sizes are stored in Mysql database ? - Kytrix - 2012-07-23

Okay, I thinks it was not efficient to get like this, instead of storing it at the first file scan.
The file size might not change between xbmc launching ...


Thanks. I'm going to read file length so Wink