Page 1 of 1

missing keyword - access media set content

Posted: Wed Jun 06, 2007 6:15 am
by k
i'm currently creating a module to fill my layers with different media from the media set dynamically - kind of a remote control.

in a multidimensional dictionary, i have stored lists with the ids of the media to be placed in the layers (for each song a list). now, i'd like to insert the id-corresponding names of the media files in a text list, so i can see what i'm loading into the layers.

my problem: given the ids of media in the media set, how do i get their names?

i know, a workaround would be, to link the id to a layer, and then get the name of the media file with info_layer_media. but it would be really bad, latching many media files in layers without actually using them, just to get their names...

is there another, direct way - or am i blind and just don't find the keyword in the browser???

thanks in advance for your help!