2012/3/2 Joerg Schilling <Joerg.Schilling at fokus.fraunhofer.de>: > if (!S_ISDIR(sb.st_mode)) { Cool, this is what I've been looking for. Thanks, Jörg! I'll roll it into a patch and resubmit to vlc-devel. Maciej