get video file durations

This helped me a lot, thank you so much.

I’m trying to do a loading system to create a table with infos of the video so I can use the data to make users interact with videos from the folder like a switcher.

I have some doubts about how to populate a table from mediafileinfo:

Can you check if you can help me with that also @tekt ? i would really appreciate.