get media length from media set, not layer
  • User avatar
    sigmasix
    master
    Posts: 1224
    Joined: Thu Dec 02, 2004 2:12 pm
    Location: gva | switzerland
    Contact:

    get media length from media set, not layer

    by sigmasix » 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

    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!!

Who is online

Users browsing this forum: No registered users and 12 guests