2016-10-30, 11:10
This INFO item is not working at all. I've seen many people looking for this with no luck.
So, I'm going to write a script to fetch filesize in videolibrary.xml of skin. but the problem is, I should use runscript to pass filename to my script, like:
RunScript("c:/temp/filesz.py",fname=$INFO[ListItem.FileNameAndPath])
and then script pass back the filesize.
the problem is how to display the filesize in xml?
I should use <onfocus> to run script, but to show the filesize, I'm confused.
So, I'm going to write a script to fetch filesize in videolibrary.xml of skin. but the problem is, I should use runscript to pass filename to my script, like:
RunScript("c:/temp/filesz.py",fname=$INFO[ListItem.FileNameAndPath])
and then script pass back the filesize.
the problem is how to display the filesize in xml?
I should use <onfocus> to run script, but to show the filesize, I'm confused.