case ACCESS_SET_TITLE:
case ACCESS_SET_SEEKPOINT:
case ACCESS_SET_PRIVATE_ID_STATE:
+ case ACCESS_GET_CONTENT_TYPE:
return VLC_EGENERIC;
default:
if ((fd == -1) || fstat (fd, &stself.st))
{
- msg_Err (p_playlist, "cannot stat `%s': %s", psz_name,
- strerror (errno));
+ msg_Err (p_playlist, "cannot stat `%s': %m", psz_name);
return VLC_EGENERIC;
}
i_dir_content = utf8_loaddir (handle, &pp_dir_content, NULL, Sort);
if( i_dir_content == -1 )
{
- msg_Err (p_playlist, "cannot read `%s': %s", psz_name,
- strerror (errno));
+ msg_Err (p_playlist, "cannot read `%s': %m", psz_name);
return VLC_EGENERIC;
}
else if( i_dir_content <= 0 )
p_node = playlist_NodeCreate( p_playlist, entry,
p_parent_category,
- PLAYLIST_NO_REBUILD );
+ PLAYLIST_NO_REBUILD, NULL );
/* If we had the parent in category, the it is now node.
* Else, we still don't have */
{
int err = errno;
if (err != ENOTDIR)
- msg_Err (obj, "%s: %s", path, strerror (err));
+ msg_Err (obj, "%s: %m", path);
else
msg_Dbg (obj, "skipping non-directory `%s'", path);
errno = err;