get media length from media set, not layer
Posted: Wed May 08, 2013 4:06 pm
PLEEEEAAAAAASSSEEE
So it's not possible to get the length info of a media from the media set… you must have your media in a layer to get the value BUT… if the media is not fully loaded in the layer, it will get the length of the previous media that was in that same layer… even if the media id that is returned is the good one…
for instance
in the console I get the right media id but the length of the media that was previously on that layer…
please add a new keyword in the release of 2.7!!
So it's not possible to get the length info of a media from the media set… you must have your media in a layer to get the value BUT… if the media is not fully loaded in the layer, it will get the length of the previous media that was in that same layer… even if the media id that is returned is the good one…
for instance
Code: Select all
length = modul8.getValue('info_layer_media_timeLength', 1)
print modul8.getValue('ctrl_layer_media', 1), length
in the console I get the right media id but the length of the media that was previously on that layer…
please add a new keyword in the release of 2.7!!