View Single Post
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#83
To work better with symlinks, the following bit of code in getMediaInfo() would need changing:

Code:
    my $type = -d $path        ? 'dir'   :
                 &isMedia($path) ? 'media' : undef;
The readlink() function would be handy to use here.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org