We could handle directories as descriptors, but we currently don't. In
the mean time, we had better show an error than generate corrupt
playlist entries.
* how to parse the data. The directory plugin will do it. */
if (S_ISDIR (st.st_mode))
{
* how to parse the data. The directory plugin will do it. */
if (S_ISDIR (st.st_mode))
{
+ if (!strcasecmp (p_access->psz_access, "fd"))
+ goto error; /* fd:// not supported for directories yet */
#ifdef HAVE_FDOPENDIR
DIR *handle = fdopendir (fd);
if (handle == NULL)
#ifdef HAVE_FDOPENDIR
DIR *handle = fdopendir (fd);
if (handle == NULL)