Commit 6652df99 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input/meta.c: Better check in ArtCacheCreatePath.

parent 430db781
......@@ -259,7 +259,7 @@ static void __ArtCacheCreatePath( vlc_object_t *p_obj,
p_obj->p_libvlc->psz_homedir );
utf8_mkdir( psz_dir );
if( psz_artist && psz_artist )
if( !EMPTY_STR(psz_artist) && !EMPTY_STR(psz_album) )
{
snprintf( psz_dir, MAX_PATH, "%s" DIR_SEP CONFIG_DIR DIR_SEP
"art" DIR_SEP "artistalbum",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment